ETH Price: $2,623.39 (+7.76%)
 

Overview

Max Total Supply

954 BAMIGOS

Holders

178

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 BAMIGOS
0x6f850E2Bf726338556c31e82Da3968ebE7A47bbD
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:
BoringAmigos

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : BoringAmigos.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import {OperatorFilterer} from "./library/OperatorFilterer.sol";

contract BoringAmigos is ERC721, OperatorFilterer, Ownable, ERC2981, ReentrancyGuard {
    using Strings for uint256;

    error FailedRandomAttempt();
    event UintPropertyChange(string param, uint256 value);

    enum Stage {
        Init,
        Holder,
        Public
    }

    struct Holder {
        bytes32 r;
        bytes32 s;
        uint8 v;
    }

    Stage public stage;
    bool public operatorFilteringEnabled;
    string public tokenURIPrefix;
    string public uriPrefix;
    string public uriSuffix;
    uint256 private nonce = 0;
    uint256 public price = 0.001 ether;
    uint256 public maxSupply = 20000;
    uint256 public normalFreeMint = 3;
    uint256 public maxMintAmountPerTx = 20;
    uint256 public mintedSupply = 0;
    uint256 public maxRandomAttempts = 20000;
    address private immutable _adminSigner;
    mapping(uint256 => bool) public mintedTokenIds;
    mapping(uint256 => bool) public noTokenIds;
    mapping(address => uint256) public holderMinted;
    mapping(address => uint256) public _mintedFreeAmount;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _uriPrefix,
        uint96 feeBasis,
        uint256[] memory tokenIds,
        address adminSigner
    ) ERC721(_name, _symbol) {
        _adminSigner = adminSigner;
        uriPrefix = _uriPrefix;
        uriSuffix = ".json";
        stage = Stage.Holder;
        _registerForOperatorFiltering();
        operatorFilteringEnabled = true;
        _setDefaultRoyalty(_msgSender(), feeBasis);
        setNoTokenIds(tokenIds);
    }

    modifier mintCompliance(uint256 quantity) {
        require(
            quantity > 0 && quantity <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(mintedSupply + quantity <= maxSupply, "Max supply exceeded!");
        _;
    }

    function totalSupply() public view virtual returns (uint256) {
        return mintedSupply;
    }

    function claim(
        address owner_,
        uint256[] calldata idxsToClaim,
        uint256[] calldata idsOfOwner,
        Holder memory holder
    ) external {
        require(stage == Stage.Holder, "Not in the holder mint stage!");
        bytes32 digest = keccak256(abi.encode(idsOfOwner, owner_));
        require(_isVerifiedHolder(digest, holder), "Invalid holder");

        for (uint256 i; i < idxsToClaim.length; i++) {
            uint256 tokenId = idsOfOwner[idxsToClaim[i]];
            if (!mintedTokenIds[tokenId]) {
                _mint(owner_, tokenId);
                mintedTokenIds[tokenId] = true;
                holderMinted[owner_]++;
                mintedSupply++;
            }
        }
    }

    function mint(uint256 quantity) public payable mintCompliance(quantity) {
        require(stage == Stage.Public, "Not in the public mint stage!");

        uint256 leftFree = normalFreeMint - _mintedFreeAmount[msg.sender];
        uint256 paid = quantity > leftFree ? quantity - leftFree : 0;
        uint256 free = quantity > leftFree ? leftFree : quantity;

        require(msg.value >= paid * price, "Insufficient funds!");
        _mintedFreeAmount[msg.sender] += free;

        _randomMint(msg.sender, quantity);
    }

    function setNoTokenIds(uint256[] memory tokenIds) public onlyOwner {
        for (uint256 i; i < tokenIds.length; ++i) {
            mintedTokenIds[tokenIds[i]] = true;
            noTokenIds[tokenIds[i]] = true;
            mintedSupply++;
        }
    }

    function setStage(Stage _stage) public onlyOwner {
        stage = _stage;
    }

    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function _isVerifiedHolder(
        bytes32 digest,
        Holder memory holder
    ) internal view returns (bool) {
        address signer = ecrecover(digest, holder.v, holder.r, holder.s);
        require(signer != address(0), "ECDSA: invalid signature");
        return signer == _adminSigner;
    }

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

    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(
            tokenId >= 0 && tokenId < maxSupply && !noTokenIds[tokenId],
            "ERC721Metadata: URI query for nonexistent token"
        );

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

    function setMaxMintAmountPerTx(
        uint256 _maxMintAmountPerTx
    ) public onlyOwner {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    function setDefaultRoyalty(
        address receiver,
        uint96 feeNumerator
    ) public onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setOperatorFilteringEnabled(bool value) public onlyOwner {
        operatorFilteringEnabled = value;
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC2981, ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function withdraw() public onlyOwner nonReentrant {
        payable(owner()).transfer(address(this).balance);
    }

    function _operatorFilteringEnabled() internal view override returns (bool) {
        return operatorFilteringEnabled;
    }

    function _isPriorityOperator(
        address operator
    ) internal pure override returns (bool) {
        return operator == address(0x1E0049783F008A0085193E00003D00cd54003c71);
    }

    function setMaxRandomAttempts(uint256 value) external onlyOwner {
        maxRandomAttempts = value;
        emit UintPropertyChange("maxRandomAttempts", value);
    }

    function _randomMint(address to, uint256 quantity) private {
        for (uint256 i = 0; i < quantity; i++) {
            uint256 tokenId = _getRandomTokenId();
            _mint(to, tokenId);
            mintedTokenIds[tokenId] = true;
            mintedSupply++;
        }
    }

    function _getRandomTokenId() private returns (uint256) {
        uint256 random = uint256(
            keccak256(abi.encodePacked(nonce, msg.sender, block.timestamp))
        ) % maxSupply;
        nonce++;
        uint256 tokenId = random;
        uint256 attempts = 1;
        while (mintedTokenIds[tokenId]) {
            random =
                uint256(
                    keccak256(
                        abi.encodePacked(
                            random,
                            nonce,
                            msg.sender,
                            block.timestamp
                        )
                    )
                ) %
                maxSupply;
            nonce++;
            tokenId = random;
            attempts++;
            if (attempts > maxRandomAttempts) {
                revert FailedRandomAttempt();
            }
        }
        return tokenId;
    }
}

File 2 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 3 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

File 4 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 17 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

File 9 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 11 of 17 : 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 12 of 17 : 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 13 of 17 : 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 14 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 15 of 17 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 16 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 17 of 17 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Optimized and flexible operator filterer to abide to OpenSea's
/// mandatory on-chain royalty enforcement in order for new collections to
/// receive royalties.
/// For more information, see:
/// See: https://github.com/ProjectOpenSea/operator-filter-registry
abstract contract OperatorFilterer {
    /// @dev The default OpenSea operator blocklist subscription.
    address internal constant _DEFAULT_SUBSCRIPTION =
        0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

    /// @dev The OpenSea operator filter registry.
    address internal constant _OPERATOR_FILTER_REGISTRY =
        0x000000000000AAeB6D7670E522A718067333cd4E;

    /// @dev Registers the current contract to OpenSea's operator filter,
    /// and subscribe to the default OpenSea operator blocklist.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering() internal virtual {
        _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true);
    }

    /// @dev Registers the current contract to OpenSea's operator filter.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering(
        address subscriptionOrRegistrantToCopy,
        bool subscribe
    ) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`.

            // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty.
            subscriptionOrRegistrantToCopy := shr(
                96,
                shl(96, subscriptionOrRegistrantToCopy)
            )

            for {

            } iszero(subscribe) {

            } {
                if iszero(subscriptionOrRegistrantToCopy) {
                    functionSelector := 0x4420e486 // `register(address)`.
                    break
                }
                functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`.
                break
            }
            // Store the function selector.
            mstore(0x00, shl(224, functionSelector))
            // Store the `address(this)`.
            mstore(0x04, address())
            // Store the `subscriptionOrRegistrantToCopy`.
            mstore(0x24, subscriptionOrRegistrantToCopy)
            // Register into the registry.
            if iszero(
                call(
                    gas(),
                    _OPERATOR_FILTER_REGISTRY,
                    0,
                    0x00,
                    0x44,
                    0x00,
                    0x04
                )
            ) {
                // If the function selector has not been overwritten,
                // it is an out-of-gas error.
                if eq(shr(224, mload(0x00)), functionSelector) {
                    // To prevent gas under-estimation.
                    revert(0, 0)
                }
            }
            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, because of Solidity's memory size limits.
            mstore(0x24, 0)
        }
    }

    /// @dev Modifier to guard a function and revert if the caller is a blocked operator.
    modifier onlyAllowedOperator(address from) virtual {
        if (from != msg.sender) {
            if (!_isPriorityOperator(msg.sender)) {
                if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender);
            }
        }
        _;
    }

    /// @dev Modifier to guard a function from approving a blocked operator..
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        if (!_isPriorityOperator(operator)) {
            if (_operatorFilteringEnabled()) _revertIfBlocked(operator);
        }
        _;
    }

    /// @dev Helper function that reverts if the `operator` is blocked by the registry.
    function _revertIfBlocked(address operator) private view {
        /// @solidity memory-safe-assembly
        assembly {
            // Store the function selector of `isOperatorAllowed(address,address)`,
            // shifted left by 6 bytes, which is enough for 8tb of memory.
            // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL).
            mstore(0x00, 0xc6171134001122334455)
            // Store the `address(this)`.
            mstore(0x1a, address())
            // Store the `operator`.
            mstore(0x3a, operator)

            // `isOperatorAllowed` always returns true if it does not revert.
            if iszero(
                staticcall(
                    gas(),
                    _OPERATOR_FILTER_REGISTRY,
                    0x16,
                    0x44,
                    0x00,
                    0x00
                )
            ) {
                // Bubble up the revert if the staticcall reverts.
                returndatacopy(0x00, 0x00, returndatasize())
                revert(0x00, returndatasize())
            }

            // We'll skip checking if `from` is inside the blacklist.
            // Even though that can block transferring out of wrapper contracts,
            // we don't want tokens to be stuck.

            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, if less than 8tb of memory is used.
            mstore(0x3a, 0)
        }
    }

    /// @dev For deriving contracts to override, so that operator filtering
    /// can be turned on / off.
    /// Returns true by default.
    function _operatorFilteringEnabled() internal view virtual returns (bool) {
        return true;
    }

    /// @dev For deriving contracts to override, so that preferred marketplaces can
    /// skip operator filtering, helping users save gas.
    /// Returns false for all inputs by default.
    function _isPriorityOperator(address) internal view virtual returns (bool) {
        return false;
    }
}

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":"_uriPrefix","type":"string"},{"internalType":"uint96","name":"feeBasis","type":"uint96"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"adminSigner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedRandomAttempt","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"param","type":"string"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"UintPropertyChange","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedFreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256[]","name":"idxsToClaim","type":"uint256[]"},{"internalType":"uint256[]","name":"idsOfOwner","type":"uint256[]"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct BoringAmigos.Holder","name":"holder","type":"tuple"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderMinted","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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRandomAttempts","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":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedTokenIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"noTokenIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxRandomAttempts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"setNoTokenIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum BoringAmigos.Stage","name":"_stage","type":"uint8"}],"name":"setStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stage","outputs":[{"internalType":"enum BoringAmigos.Stage","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIPrefix","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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526000600e5566038d7ea4c68000600f55614e20601055600360115560146012556000601355614e206014553480156200003c57600080fd5b506040516200645f3803806200645f8339818101604052810190620000629190620009e7565b8585816000908162000075919062000d40565b50806001908162000087919062000d40565b505050620000aa6200009e620001d660201b60201c565b620001de60201b60201c565b60016009819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505083600c9081620000f7919062000d40565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d90816200013e919062000d40565b506001600a60006101000a81548160ff0219169083600281111562000168576200016762000e27565b5b02179055506200017d620002a460201b60201c565b6001600a60016101000a81548160ff021916908315150217905550620001b9620001ac620001d660201b60201c565b84620002cd60201b60201c565b620001ca826200047060201b60201c565b5050505050506200108e565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002cb733cc6cdda760b79bafa08df41ecfa224f810dceb660016200055160201b60201c565b565b620002dd620005cb60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200033e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003359062000edd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a79062000f4f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b62000480620005d560201b60201c565b60005b81518110156200054d57600160156000848481518110620004a957620004a862000f71565b5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000848481518110620004f257620004f162000f71565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060136000815480929190620005349062000fcf565b919050555080620005459062000fcf565b905062000483565b5050565b637d3e3dbe8260601b60601c9250816200058057826200057857634420e486905062000580565b63a0af290390505b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af1620005c1578060005160e01c03620005c057600080fd5b5b6000602452505050565b6000612710905090565b620005e5620001d660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200060b6200066660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000664576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200065b906200106c565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006f982620006ae565b810181811067ffffffffffffffff821117156200071b576200071a620006bf565b5b80604052505050565b60006200073062000690565b90506200073e8282620006ee565b919050565b600067ffffffffffffffff821115620007615762000760620006bf565b5b6200076c82620006ae565b9050602081019050919050565b60005b83811015620007995780820151818401526020810190506200077c565b60008484015250505050565b6000620007bc620007b68462000743565b62000724565b905082815260208101848484011115620007db57620007da620006a9565b5b620007e884828562000779565b509392505050565b600082601f830112620008085762000807620006a4565b5b81516200081a848260208601620007a5565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b620008468162000823565b81146200085257600080fd5b50565b60008151905062000866816200083b565b92915050565b600067ffffffffffffffff8211156200088a5762000889620006bf565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b620008b581620008a0565b8114620008c157600080fd5b50565b600081519050620008d581620008aa565b92915050565b6000620008f2620008ec846200086c565b62000724565b905080838252602082019050602084028301858111156200091857620009176200089b565b5b835b81811015620009455780620009308882620008c4565b8452602084019350506020810190506200091a565b5050509392505050565b600082601f830112620009675762000966620006a4565b5b815162000979848260208601620008db565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009af8262000982565b9050919050565b620009c181620009a2565b8114620009cd57600080fd5b50565b600081519050620009e181620009b6565b92915050565b60008060008060008060c0878903121562000a075762000a066200069a565b5b600087015167ffffffffffffffff81111562000a285762000a276200069f565b5b62000a3689828a01620007f0565b965050602087015167ffffffffffffffff81111562000a5a5762000a596200069f565b5b62000a6889828a01620007f0565b955050604087015167ffffffffffffffff81111562000a8c5762000a8b6200069f565b5b62000a9a89828a01620007f0565b945050606062000aad89828a0162000855565b935050608087015167ffffffffffffffff81111562000ad15762000ad06200069f565b5b62000adf89828a016200094f565b92505060a062000af289828a01620009d0565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b5257607f821691505b60208210810362000b685762000b6762000b0a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000bd27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000b93565b62000bde868362000b93565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000c2162000c1b62000c1584620008a0565b62000bf6565b620008a0565b9050919050565b6000819050919050565b62000c3d8362000c00565b62000c5562000c4c8262000c28565b84845462000ba0565b825550505050565b600090565b62000c6c62000c5d565b62000c7981848462000c32565b505050565b5b8181101562000ca15762000c9560008262000c62565b60018101905062000c7f565b5050565b601f82111562000cf05762000cba8162000b6e565b62000cc58462000b83565b8101602085101562000cd5578190505b62000ced62000ce48562000b83565b83018262000c7e565b50505b505050565b600082821c905092915050565b600062000d156000198460080262000cf5565b1980831691505092915050565b600062000d30838362000d02565b9150826002028217905092915050565b62000d4b8262000aff565b67ffffffffffffffff81111562000d675762000d66620006bf565b5b62000d73825462000b39565b62000d8082828562000ca5565b600060209050601f83116001811462000db8576000841562000da3578287015190505b62000daf858262000d22565b86555062000e1f565b601f19841662000dc88662000b6e565b60005b8281101562000df25784890151825560018201915060208501945060208101905062000dcb565b8683101562000e12578489015162000e0e601f89168262000d02565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000ec5602a8362000e56565b915062000ed28262000e67565b604082019050919050565b6000602082019050818103600083015262000ef88162000eb6565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000f3760198362000e56565b915062000f448262000eff565b602082019050919050565b6000602082019050818103600083015262000f6a8162000f28565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000fdc82620008a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362001011576200101062000fa0565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200105460208362000e56565b915062001061826200101c565b602082019050919050565b60006020820190508181036000830152620010878162001045565b9050919050565b6080516153b5620010aa600039600061222c01526153b56000f3fe6080604052600436106102725760003560e01c80638da5cb5b1161014f578063b95b63f8116100c1578063ce3cd9971161007a578063ce3cd99714610954578063d5abeb011461097d578063e985e9c5146109a8578063f2fde38b146109e5578063f4db2acb14610a0e578063fb796e6c14610a4b57610272565b8063b95b63f81461082e578063c040e6b81461086b578063c0ac998314610896578063c1bd8cf9146108c1578063c7b4e6e9146108ec578063c87b56dd1461091757610272565b8063a0712d6811610113578063a0712d6814610745578063a22cb46514610761578063b071401b1461078a578063b0ca5ba8146107b3578063b7c0b8e8146107dc578063b88d4fde1461080557610272565b80638da5cb5b1461067057806391b7f5ed1461069b57806394354fd0146106c457806395d89b41146106ef578063a035b1fe1461071a57610272565b80633506d13b116101e85780636352211e116101ac5780636352211e146105505780636d9939121461058d57806370a08231146105b6578063715018a6146105f35780637ad82b551461060a5780637ec4a6591461064757610272565b80633506d13b1461047d5780633ccfd60b146104ba57806342842e0e146104d15780635503a0e8146104fa57806362b99ad41461052557610272565b8063095ea7b31161023a578063095ea7b31461036e5780630cc904601461039757806316ba10e0146103c257806318160ddd146103eb57806323b872dd146104165780632a55205a1461043f57610272565b806301ffc9a71461027757806304634d8d146102b45780630660e5cc146102dd57806306fdde0314610306578063081812fc14610331575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906133b2565b610a76565b6040516102ab91906133fa565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d691906134b7565b610a88565b005b3480156102e957600080fd5b5061030460048036038101906102ff9190613686565b610a9e565b005b34801561031257600080fd5b5061031b610b6b565b604051610328919061374e565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613770565b610bfd565b60405161036591906137ac565b60405180910390f35b34801561037a57600080fd5b50610395600480360381019061039091906137c7565b610c43565b005b3480156103a357600080fd5b506103ac610c78565b6040516103b99190613816565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e491906138e6565b610c7e565b005b3480156103f757600080fd5b50610400610c99565b60405161040d9190613816565b60405180910390f35b34801561042257600080fd5b5061043d6004803603810190610438919061392f565b610ca3565b005b34801561044b57600080fd5b5061046660048036038101906104619190613982565b610d0e565b6040516104749291906139c2565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f91906139eb565b610ef8565b6040516104b19190613816565b60405180910390f35b3480156104c657600080fd5b506104cf610f10565b005b3480156104dd57600080fd5b506104f860048036038101906104f3919061392f565b610f78565b005b34801561050657600080fd5b5061050f610f98565b60405161051c919061374e565b60405180910390f35b34801561053157600080fd5b5061053a611026565b604051610547919061374e565b60405180910390f35b34801561055c57600080fd5b5061057760048036038101906105729190613770565b6110b4565b60405161058491906137ac565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af9190613b4b565b61113a565b005b3480156105c257600080fd5b506105dd60048036038101906105d891906139eb565b611354565b6040516105ea9190613816565b60405180910390f35b3480156105ff57600080fd5b5061060861140b565b005b34801561061657600080fd5b50610631600480360381019061062c9190613770565b61141f565b60405161063e91906133fa565b60405180910390f35b34801561065357600080fd5b5061066e600480360381019061066991906138e6565b61143f565b005b34801561067c57600080fd5b5061068561145a565b60405161069291906137ac565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190613770565b611484565b005b3480156106d057600080fd5b506106d9611496565b6040516106e69190613816565b60405180910390f35b3480156106fb57600080fd5b5061070461149c565b604051610711919061374e565b60405180910390f35b34801561072657600080fd5b5061072f61152e565b60405161073c9190613816565b60405180910390f35b61075f600480360381019061075a9190613770565b611534565b005b34801561076d57600080fd5b5061078860048036038101906107839190613c1e565b611787565b005b34801561079657600080fd5b506107b160048036038101906107ac9190613770565b6117bc565b005b3480156107bf57600080fd5b506107da60048036038101906107d59190613770565b6117ce565b005b3480156107e857600080fd5b5061080360048036038101906107fe9190613c5e565b611817565b005b34801561081157600080fd5b5061082c60048036038101906108279190613d2c565b61183c565b005b34801561083a57600080fd5b5061085560048036038101906108509190613770565b61189e565b60405161086291906133fa565b60405180910390f35b34801561087757600080fd5b506108806118be565b60405161088d9190613e26565b60405180910390f35b3480156108a257600080fd5b506108ab6118d1565b6040516108b8919061374e565b60405180910390f35b3480156108cd57600080fd5b506108d661195f565b6040516108e39190613816565b60405180910390f35b3480156108f857600080fd5b50610901611965565b60405161090e9190613816565b60405180910390f35b34801561092357600080fd5b5061093e60048036038101906109399190613770565b61196b565b60405161094b919061374e565b60405180910390f35b34801561096057600080fd5b5061097b60048036038101906109769190613e66565b611a48565b005b34801561098957600080fd5b50610992611a7d565b60405161099f9190613816565b60405180910390f35b3480156109b457600080fd5b506109cf60048036038101906109ca9190613e93565b611a83565b6040516109dc91906133fa565b60405180910390f35b3480156109f157600080fd5b50610a0c6004803603810190610a0791906139eb565b611b17565b005b348015610a1a57600080fd5b50610a356004803603810190610a3091906139eb565b611b9a565b604051610a429190613816565b60405180910390f35b348015610a5757600080fd5b50610a60611bb2565b604051610a6d91906133fa565b60405180910390f35b6000610a8182611bc5565b9050919050565b610a90611c3f565b610a9a8282611cbd565b5050565b610aa6611c3f565b60005b8151811015610b6757600160156000848481518110610acb57610aca613ed3565b5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000848481518110610b1157610b10613ed3565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060136000815480929190610b5190613f31565b919050555080610b6090613f31565b9050610aa9565b5050565b606060008054610b7a90613fa8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba690613fa8565b8015610bf35780601f10610bc857610100808354040283529160200191610bf3565b820191906000526020600020905b815481529060010190602001808311610bd657829003601f168201915b5050505050905090565b6000610c0882611e52565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610c4d81611e9d565b610c6957610c59611ee9565b15610c6857610c6781611f00565b5b5b610c738383611f44565b505050565b60115481565b610c86611c3f565b80600d9081610c959190614185565b5050565b6000601354905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cfd57610ce033611e9d565b610cfc57610cec611ee9565b15610cfb57610cfa33611f00565b5b5b5b610d0884848461205b565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ea35760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610ead6120bb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ed99190614257565b610ee391906142c8565b90508160000151819350935050509250929050565b60176020528060005260406000206000915090505481565b610f18611c3f565b610f206120c5565b610f2861145a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f6d573d6000803e3d6000fd5b50610f76612114565b565b610f938383836040518060200160405280600081525061183c565b505050565b600d8054610fa590613fa8565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd190613fa8565b801561101e5780601f10610ff35761010080835404028352916020019161101e565b820191906000526020600020905b81548152906001019060200180831161100157829003601f168201915b505050505081565b600c805461103390613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461105f90613fa8565b80156110ac5780601f10611081576101008083540402835291602001916110ac565b820191906000526020600020905b81548152906001019060200180831161108f57829003601f168201915b505050505081565b6000806110c08361211e565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611131576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112890614345565b60405180910390fd5b80915050919050565b6001600281111561114e5761114d613daf565b5b600a60009054906101000a900460ff1660028111156111705761116f613daf565b5b146111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a7906143b1565b60405180910390fd5b60008383886040516020016111c79392919061444c565b6040516020818303038152906040528051906020012090506111e9818361215b565b611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f906144ca565b60405180910390fd5b60005b8686905081101561134a576000858589898581811061124d5761124c613ed3565b5b9050602002013581811061126457611263613ed3565b5b9050602002013590506015600082815260200190815260200160002060009054906101000a900460ff166113365761129c8982612282565b60016015600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061131890613f31565b91905055506013600081548092919061133090613f31565b91905055505b50808061134290613f31565b91505061122b565b5050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb9061455c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611413611c3f565b61141d600061249f565b565b60166020528060005260406000206000915054906101000a900460ff1681565b611447611c3f565b80600c90816114569190614185565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61148c611c3f565b80600f8190555050565b60125481565b6060600180546114ab90613fa8565b80601f01602080910402602001604051908101604052809291908181526020018280546114d790613fa8565b80156115245780601f106114f957610100808354040283529160200191611524565b820191906000526020600020905b81548152906001019060200180831161150757829003601f168201915b5050505050905090565b600f5481565b8060008111801561154757506012548111155b611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d906145c8565b60405180910390fd5b6010548160135461159791906145e8565b11156115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf90614668565b60405180910390fd5b6002808111156115eb576115ea613daf565b5b600a60009054906101000a900460ff16600281111561160d5761160c613daf565b5b1461164d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611644906146d4565b60405180910390fd5b6000601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460115461169c91906146f4565b905060008184116116ae5760006116bb565b81846116ba91906146f4565b5b905060008285116116cc57846116ce565b825b9050600f54826116de9190614257565b341015611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790614774565b60405180910390fd5b80601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461176f91906145e8565b925050819055506117803386612565565b5050505050565b8161179181611e9d565b6117ad5761179d611ee9565b156117ac576117ab81611f00565b5b5b6117b783836125e3565b505050565b6117c4611c3f565b8060128190555050565b6117d6611c3f565b806014819055507f63b0d00ca7be95e8ed90417045f614395b95949f5e8b9a472a7997480acbdb628160405161180c91906147e0565b60405180910390a150565b61181f611c3f565b80600a60016101000a81548160ff02191690831515021790555050565b61184d6118476125f9565b83612601565b61188c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188390614880565b60405180910390fd5b61189884848484612696565b50505050565b60156020528060005260406000206000915054906101000a900460ff1681565b600a60009054906101000a900460ff1681565b600b80546118de90613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461190a90613fa8565b80156119575780601f1061192c57610100808354040283529160200191611957565b820191906000526020600020905b81548152906001019060200180831161193a57829003601f168201915b505050505081565b60135481565b60145481565b60606000821015801561197f575060105482105b80156119a957506016600083815260200190815260200160002060009054906101000a900460ff16155b6119e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119df90614912565b60405180910390fd5b60006119f26126f2565b90506000815111611a125760405180602001604052806000815250611a40565b80611a1c84612784565b600d604051602001611a30939291906149f1565b6040516020818303038152906040525b915050919050565b611a50611c3f565b80600a60006101000a81548160ff02191690836002811115611a7557611a74613daf565b5b021790555050565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b1f611c3f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590614a94565b60405180910390fd5b611b978161249f565b50565b60186020528060005260406000206000915090505481565b600a60019054906101000a900460ff1681565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c385750611c3782612852565b5b9050919050565b611c476125f9565b73ffffffffffffffffffffffffffffffffffffffff16611c6561145a565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb290614b00565b60405180910390fd5b565b611cc56120bb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a90614b92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990614bfe565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611e5b81612934565b611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614345565b60405180910390fd5b50565b6000731e0049783f008a0085193e00003d00cd54003c7173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600a60019054906101000a900460ff16905090565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611f3c573d6000803e3d6000fd5b6000603a5250565b6000611f4f826110b4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb690614c90565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fde6125f9565b73ffffffffffffffffffffffffffffffffffffffff16148061200d575061200c816120076125f9565b611a83565b5b61204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614d22565b60405180910390fd5b6120568383612975565b505050565b61206c6120666125f9565b82612601565b6120ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a290614880565b60405180910390fd5b6120b6838383612a2e565b505050565b6000612710905090565b60026009540361210a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210190614d8e565b60405180910390fd5b6002600981905550565b6001600981905550565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000806001848460400151856000015186602001516040516000815260200160405260405161218d9493929190614dcc565b6020604051602081039080840390855afa1580156121af573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361222a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222190614e5d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890614ec9565b60405180910390fd5b6122fa81612934565b1561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614f35565b60405180910390fd5b612348600083836001612d27565b61235181612934565b15612391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238890614f35565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461249b600083836001612d2d565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156125de57600061257a612d33565b90506125868482612282565b60016015600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601360008154809291906125c590613f31565b91905055505080806125d690613f31565b915050612568565b505050565b6125f56125ee6125f9565b8383612e73565b5050565b600033905090565b60008061260d836110b4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061264f575061264e8185611a83565b5b8061268d57508373ffffffffffffffffffffffffffffffffffffffff1661267584610bfd565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6126a1848484612a2e565b6126ad84848484612fdf565b6126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390614fc7565b60405180910390fd5b50505050565b6060600c805461270190613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461272d90613fa8565b801561277a5780601f1061274f5761010080835404028352916020019161277a565b820191906000526020600020905b81548152906001019060200180831161275d57829003601f168201915b5050505050905090565b60606000600161279384613166565b01905060008167ffffffffffffffff8111156127b2576127b161350d565b5b6040519080825280601f01601f1916602001820160405280156127e45781602001600182028036833780820191505090505b509050600082602001820190505b600115612847578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161283b5761283a614299565b5b049450600085036127f2575b819350505050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061291d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061292d575061292c826132b9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166129568361211e565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129e8836110b4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612a4e826110b4565b73ffffffffffffffffffffffffffffffffffffffff1614612aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9b90615059565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a906150eb565b60405180910390fd5b612b208383836001612d27565b8273ffffffffffffffffffffffffffffffffffffffff16612b40826110b4565b73ffffffffffffffffffffffffffffffffffffffff1614612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d90615059565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d228383836001612d2d565b505050565b50505050565b50505050565b600080601054600e543342604051602001612d5093929190615174565b6040516020818303038152906040528051906020012060001c612d7391906151b1565b9050600e6000815480929190612d8890613f31565b919050555060008190506000600190505b6015600083815260200190815260200160002060009054906101000a900460ff1615612e6a5760105483600e543342604051602001612ddb94939291906151e2565b6040516020818303038152906040528051906020012060001c612dfe91906151b1565b9250600e6000815480929190612e1390613f31565b91905055508291508080612e2690613f31565b915050601454811115612e65576040517fbff6c42400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d99565b81935050505090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed89061527c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fd291906133fa565b60405180910390a3505050565b60006130008473ffffffffffffffffffffffffffffffffffffffff16613323565b15613159578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130296125f9565b8786866040518563ffffffff1660e01b815260040161304b94939291906152f1565b6020604051808303816000875af192505050801561308757506040513d601f19601f820116820180604052508101906130849190615352565b60015b613109573d80600081146130b7576040519150601f19603f3d011682016040523d82523d6000602084013e6130bc565b606091505b506000815103613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f890614fc7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061315e565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106131c4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816131ba576131b9614299565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613201576d04ee2d6d415b85acef810000000083816131f7576131f6614299565b5b0492506020810190505b662386f26fc10000831061323057662386f26fc10000838161322657613225614299565b5b0492506010810190505b6305f5e1008310613259576305f5e100838161324f5761324e614299565b5b0492506008810190505b612710831061327e57612710838161327457613273614299565b5b0492506004810190505b606483106132a1576064838161329757613296614299565b5b0492506002810190505b600a83106132b0576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61338f8161335a565b811461339a57600080fd5b50565b6000813590506133ac81613386565b92915050565b6000602082840312156133c8576133c7613350565b5b60006133d68482850161339d565b91505092915050565b60008115159050919050565b6133f4816133df565b82525050565b600060208201905061340f60008301846133eb565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061344082613415565b9050919050565b61345081613435565b811461345b57600080fd5b50565b60008135905061346d81613447565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61349481613473565b811461349f57600080fd5b50565b6000813590506134b18161348b565b92915050565b600080604083850312156134ce576134cd613350565b5b60006134dc8582860161345e565b92505060206134ed858286016134a2565b9150509250929050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613545826134fc565b810181811067ffffffffffffffff821117156135645761356361350d565b5b80604052505050565b6000613577613346565b9050613583828261353c565b919050565b600067ffffffffffffffff8211156135a3576135a261350d565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6135cc816135b9565b81146135d757600080fd5b50565b6000813590506135e9816135c3565b92915050565b60006136026135fd84613588565b61356d565b90508083825260208201905060208402830185811115613625576136246135b4565b5b835b8181101561364e578061363a88826135da565b845260208401935050602081019050613627565b5050509392505050565b600082601f83011261366d5761366c6134f7565b5b813561367d8482602086016135ef565b91505092915050565b60006020828403121561369c5761369b613350565b5b600082013567ffffffffffffffff8111156136ba576136b9613355565b5b6136c684828501613658565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137095780820151818401526020810190506136ee565b60008484015250505050565b6000613720826136cf565b61372a81856136da565b935061373a8185602086016136eb565b613743816134fc565b840191505092915050565b600060208201905081810360008301526137688184613715565b905092915050565b60006020828403121561378657613785613350565b5b6000613794848285016135da565b91505092915050565b6137a681613435565b82525050565b60006020820190506137c1600083018461379d565b92915050565b600080604083850312156137de576137dd613350565b5b60006137ec8582860161345e565b92505060206137fd858286016135da565b9150509250929050565b613810816135b9565b82525050565b600060208201905061382b6000830184613807565b92915050565b600080fd5b600067ffffffffffffffff8211156138515761385061350d565b5b61385a826134fc565b9050602081019050919050565b82818337600083830152505050565b600061388961388484613836565b61356d565b9050828152602081018484840111156138a5576138a4613831565b5b6138b0848285613867565b509392505050565b600082601f8301126138cd576138cc6134f7565b5b81356138dd848260208601613876565b91505092915050565b6000602082840312156138fc576138fb613350565b5b600082013567ffffffffffffffff81111561391a57613919613355565b5b613926848285016138b8565b91505092915050565b60008060006060848603121561394857613947613350565b5b60006139568682870161345e565b93505060206139678682870161345e565b9250506040613978868287016135da565b9150509250925092565b6000806040838503121561399957613998613350565b5b60006139a7858286016135da565b92505060206139b8858286016135da565b9150509250929050565b60006040820190506139d7600083018561379d565b6139e46020830184613807565b9392505050565b600060208284031215613a0157613a00613350565b5b6000613a0f8482850161345e565b91505092915050565b600080fd5b60008083601f840112613a3357613a326134f7565b5b8235905067ffffffffffffffff811115613a5057613a4f613a18565b5b602083019150836020820283011115613a6c57613a6b6135b4565b5b9250929050565b600080fd5b6000819050919050565b613a8b81613a78565b8114613a9657600080fd5b50565b600081359050613aa881613a82565b92915050565b600060ff82169050919050565b613ac481613aae565b8114613acf57600080fd5b50565b600081359050613ae181613abb565b92915050565b600060608284031215613afd57613afc613a73565b5b613b07606061356d565b90506000613b1784828501613a99565b6000830152506020613b2b84828501613a99565b6020830152506040613b3f84828501613ad2565b60408301525092915050565b60008060008060008060c08789031215613b6857613b67613350565b5b6000613b7689828a0161345e565b965050602087013567ffffffffffffffff811115613b9757613b96613355565b5b613ba389828a01613a1d565b9550955050604087013567ffffffffffffffff811115613bc657613bc5613355565b5b613bd289828a01613a1d565b93509350506060613be589828a01613ae7565b9150509295509295509295565b613bfb816133df565b8114613c0657600080fd5b50565b600081359050613c1881613bf2565b92915050565b60008060408385031215613c3557613c34613350565b5b6000613c438582860161345e565b9250506020613c5485828601613c09565b9150509250929050565b600060208284031215613c7457613c73613350565b5b6000613c8284828501613c09565b91505092915050565b600067ffffffffffffffff821115613ca657613ca561350d565b5b613caf826134fc565b9050602081019050919050565b6000613ccf613cca84613c8b565b61356d565b905082815260208101848484011115613ceb57613cea613831565b5b613cf6848285613867565b509392505050565b600082601f830112613d1357613d126134f7565b5b8135613d23848260208601613cbc565b91505092915050565b60008060008060808587031215613d4657613d45613350565b5b6000613d548782880161345e565b9450506020613d658782880161345e565b9350506040613d76878288016135da565b925050606085013567ffffffffffffffff811115613d9757613d96613355565b5b613da387828801613cfe565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613def57613dee613daf565b5b50565b6000819050613e0082613dde565b919050565b6000613e1082613df2565b9050919050565b613e2081613e05565b82525050565b6000602082019050613e3b6000830184613e17565b92915050565b60038110613e4e57600080fd5b50565b600081359050613e6081613e41565b92915050565b600060208284031215613e7c57613e7b613350565b5b6000613e8a84828501613e51565b91505092915050565b60008060408385031215613eaa57613ea9613350565b5b6000613eb88582860161345e565b9250506020613ec98582860161345e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f3c826135b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f6e57613f6d613f02565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fc057607f821691505b602082108103613fd357613fd2613f79565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261403b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ffe565b6140458683613ffe565b95508019841693508086168417925050509392505050565b6000819050919050565b600061408261407d614078846135b9565b61405d565b6135b9565b9050919050565b6000819050919050565b61409c83614067565b6140b06140a882614089565b84845461400b565b825550505050565b600090565b6140c56140b8565b6140d0818484614093565b505050565b5b818110156140f4576140e96000826140bd565b6001810190506140d6565b5050565b601f8211156141395761410a81613fd9565b61411384613fee565b81016020851015614122578190505b61413661412e85613fee565b8301826140d5565b50505b505050565b600082821c905092915050565b600061415c6000198460080261413e565b1980831691505092915050565b6000614175838361414b565b9150826002028217905092915050565b61418e826136cf565b67ffffffffffffffff8111156141a7576141a661350d565b5b6141b18254613fa8565b6141bc8282856140f8565b600060209050601f8311600181146141ef57600084156141dd578287015190505b6141e78582614169565b86555061424f565b601f1984166141fd86613fd9565b60005b8281101561422557848901518255600182019150602085019450602081019050614200565b86831015614242578489015161423e601f89168261414b565b8355505b6001600288020188555050505b505050505050565b6000614262826135b9565b915061426d836135b9565b925082820261427b816135b9565b9150828204841483151761429257614291613f02565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142d3826135b9565b91506142de836135b9565b9250826142ee576142ed614299565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061432f6018836136da565b915061433a826142f9565b602082019050919050565b6000602082019050818103600083015261435e81614322565b9050919050565b7f4e6f7420696e2074686520686f6c646572206d696e7420737461676521000000600082015250565b600061439b601d836136da565b91506143a682614365565b602082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b600082825260208201905092915050565b600080fd5b82818337505050565b60006143fc83856143d1565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561442f5761442e6143e2565b5b6020830292506144408385846143e7565b82840190509392505050565b600060408201905081810360008301526144678185876143f0565b9050614476602083018461379d565b949350505050565b7f496e76616c696420686f6c646572000000000000000000000000000000000000600082015250565b60006144b4600e836136da565b91506144bf8261447e565b602082019050919050565b600060208201905081810360008301526144e3816144a7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006145466029836136da565b9150614551826144ea565b604082019050919050565b6000602082019050818103600083015261457581614539565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006145b26014836136da565b91506145bd8261457c565b602082019050919050565b600060208201905081810360008301526145e1816145a5565b9050919050565b60006145f3826135b9565b91506145fe836135b9565b925082820190508082111561461657614615613f02565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006146526014836136da565b915061465d8261461c565b602082019050919050565b6000602082019050818103600083015261468181614645565b9050919050565b7f4e6f7420696e20746865207075626c6963206d696e7420737461676521000000600082015250565b60006146be601d836136da565b91506146c982614688565b602082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b60006146ff826135b9565b915061470a836135b9565b925082820390508181111561472257614721613f02565b5b92915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061475e6013836136da565b915061476982614728565b602082019050919050565b6000602082019050818103600083015261478d81614751565b9050919050565b7f6d617852616e646f6d417474656d707473000000000000000000000000000000600082015250565b60006147ca6011836136da565b91506147d582614794565b602082019050919050565b600060408201905081810360008301526147f9816147bd565b90506148086020830184613807565b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061486a602d836136da565b91506148758261480e565b604082019050919050565b600060208201905081810360008301526148998161485d565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148fc602f836136da565b9150614907826148a0565b604082019050919050565b6000602082019050818103600083015261492b816148ef565b9050919050565b600081905092915050565b6000614948826136cf565b6149528185614932565b93506149628185602086016136eb565b80840191505092915050565b6000815461497b81613fa8565b6149858186614932565b945060018216600081146149a057600181146149b5576149e8565b60ff19831686528115158202860193506149e8565b6149be85613fd9565b60005b838110156149e0578154818901526001820191506020810190506149c1565b838801955050505b50505092915050565b60006149fd828661493d565b9150614a09828561493d565b9150614a15828461496e565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a7e6026836136da565b9150614a8982614a22565b604082019050919050565b60006020820190508181036000830152614aad81614a71565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614aea6020836136da565b9150614af582614ab4565b602082019050919050565b60006020820190508181036000830152614b1981614add565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b7c602a836136da565b9150614b8782614b20565b604082019050919050565b60006020820190508181036000830152614bab81614b6f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614be86019836136da565b9150614bf382614bb2565b602082019050919050565b60006020820190508181036000830152614c1781614bdb565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c7a6021836136da565b9150614c8582614c1e565b604082019050919050565b60006020820190508181036000830152614ca981614c6d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614d0c603d836136da565b9150614d1782614cb0565b604082019050919050565b60006020820190508181036000830152614d3b81614cff565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614d78601f836136da565b9150614d8382614d42565b602082019050919050565b60006020820190508181036000830152614da781614d6b565b9050919050565b614db781613a78565b82525050565b614dc681613aae565b82525050565b6000608082019050614de16000830187614dae565b614dee6020830186614dbd565b614dfb6040830185614dae565b614e086060830184614dae565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614e476018836136da565b9150614e5282614e11565b602082019050919050565b60006020820190508181036000830152614e7681614e3a565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614eb36020836136da565b9150614ebe82614e7d565b602082019050919050565b60006020820190508181036000830152614ee281614ea6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614f1f601c836136da565b9150614f2a82614ee9565b602082019050919050565b60006020820190508181036000830152614f4e81614f12565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fb16032836136da565b9150614fbc82614f55565b604082019050919050565b60006020820190508181036000830152614fe081614fa4565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006150436025836136da565b915061504e82614fe7565b604082019050919050565b6000602082019050818103600083015261507281615036565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150d56024836136da565b91506150e082615079565b604082019050919050565b60006020820190508181036000830152615104816150c8565b9050919050565b6000819050919050565b615126615121826135b9565b61510b565b82525050565b60008160601b9050919050565b60006151448261512c565b9050919050565b600061515682615139565b9050919050565b61516e61516982613435565b61514b565b82525050565b60006151808286615115565b602082019150615190828561515d565b6014820191506151a08284615115565b602082019150819050949350505050565b60006151bc826135b9565b91506151c7836135b9565b9250826151d7576151d6614299565b5b828206905092915050565b60006151ee8287615115565b6020820191506151fe8286615115565b60208201915061520e828561515d565b60148201915061521e8284615115565b60208201915081905095945050505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006152666019836136da565b915061527182615230565b602082019050919050565b6000602082019050818103600083015261529581615259565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006152c38261529c565b6152cd81856152a7565b93506152dd8185602086016136eb565b6152e6816134fc565b840191505092915050565b6000608082019050615306600083018761379d565b615313602083018661379d565b6153206040830185613807565b818103606083015261533281846152b8565b905095945050505050565b60008151905061534c81613386565b92915050565b60006020828403121561536857615367613350565b5b60006153768482850161533d565b9150509291505056fea264697066735822122087449ed00f7b830c5b24bbbe3fe69d61fe181f46b63830df4fc45b57b75dc8dd64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000025800000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000ac2c8d1c733109fc2de90809cc6e97d7e9864488000000000000000000000000000000000000000000000000000000000000000c426f72696e67416d69676f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000742414d49474f53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d566e746868584b6d53554c62663765527365554a4250716745396a47424a6e68463355694a357a6e4a524e722f000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000191a0000000000000000000000000000000000000000000000000000000000001d54000000000000000000000000000000000000000000000000000000000000058200000000000000000000000000000000000000000000000000000000000016c200000000000000000000000000000000000000000000000000000000000014bf

Deployed Bytecode

0x6080604052600436106102725760003560e01c80638da5cb5b1161014f578063b95b63f8116100c1578063ce3cd9971161007a578063ce3cd99714610954578063d5abeb011461097d578063e985e9c5146109a8578063f2fde38b146109e5578063f4db2acb14610a0e578063fb796e6c14610a4b57610272565b8063b95b63f81461082e578063c040e6b81461086b578063c0ac998314610896578063c1bd8cf9146108c1578063c7b4e6e9146108ec578063c87b56dd1461091757610272565b8063a0712d6811610113578063a0712d6814610745578063a22cb46514610761578063b071401b1461078a578063b0ca5ba8146107b3578063b7c0b8e8146107dc578063b88d4fde1461080557610272565b80638da5cb5b1461067057806391b7f5ed1461069b57806394354fd0146106c457806395d89b41146106ef578063a035b1fe1461071a57610272565b80633506d13b116101e85780636352211e116101ac5780636352211e146105505780636d9939121461058d57806370a08231146105b6578063715018a6146105f35780637ad82b551461060a5780637ec4a6591461064757610272565b80633506d13b1461047d5780633ccfd60b146104ba57806342842e0e146104d15780635503a0e8146104fa57806362b99ad41461052557610272565b8063095ea7b31161023a578063095ea7b31461036e5780630cc904601461039757806316ba10e0146103c257806318160ddd146103eb57806323b872dd146104165780632a55205a1461043f57610272565b806301ffc9a71461027757806304634d8d146102b45780630660e5cc146102dd57806306fdde0314610306578063081812fc14610331575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906133b2565b610a76565b6040516102ab91906133fa565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d691906134b7565b610a88565b005b3480156102e957600080fd5b5061030460048036038101906102ff9190613686565b610a9e565b005b34801561031257600080fd5b5061031b610b6b565b604051610328919061374e565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613770565b610bfd565b60405161036591906137ac565b60405180910390f35b34801561037a57600080fd5b50610395600480360381019061039091906137c7565b610c43565b005b3480156103a357600080fd5b506103ac610c78565b6040516103b99190613816565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e491906138e6565b610c7e565b005b3480156103f757600080fd5b50610400610c99565b60405161040d9190613816565b60405180910390f35b34801561042257600080fd5b5061043d6004803603810190610438919061392f565b610ca3565b005b34801561044b57600080fd5b5061046660048036038101906104619190613982565b610d0e565b6040516104749291906139c2565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f91906139eb565b610ef8565b6040516104b19190613816565b60405180910390f35b3480156104c657600080fd5b506104cf610f10565b005b3480156104dd57600080fd5b506104f860048036038101906104f3919061392f565b610f78565b005b34801561050657600080fd5b5061050f610f98565b60405161051c919061374e565b60405180910390f35b34801561053157600080fd5b5061053a611026565b604051610547919061374e565b60405180910390f35b34801561055c57600080fd5b5061057760048036038101906105729190613770565b6110b4565b60405161058491906137ac565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af9190613b4b565b61113a565b005b3480156105c257600080fd5b506105dd60048036038101906105d891906139eb565b611354565b6040516105ea9190613816565b60405180910390f35b3480156105ff57600080fd5b5061060861140b565b005b34801561061657600080fd5b50610631600480360381019061062c9190613770565b61141f565b60405161063e91906133fa565b60405180910390f35b34801561065357600080fd5b5061066e600480360381019061066991906138e6565b61143f565b005b34801561067c57600080fd5b5061068561145a565b60405161069291906137ac565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190613770565b611484565b005b3480156106d057600080fd5b506106d9611496565b6040516106e69190613816565b60405180910390f35b3480156106fb57600080fd5b5061070461149c565b604051610711919061374e565b60405180910390f35b34801561072657600080fd5b5061072f61152e565b60405161073c9190613816565b60405180910390f35b61075f600480360381019061075a9190613770565b611534565b005b34801561076d57600080fd5b5061078860048036038101906107839190613c1e565b611787565b005b34801561079657600080fd5b506107b160048036038101906107ac9190613770565b6117bc565b005b3480156107bf57600080fd5b506107da60048036038101906107d59190613770565b6117ce565b005b3480156107e857600080fd5b5061080360048036038101906107fe9190613c5e565b611817565b005b34801561081157600080fd5b5061082c60048036038101906108279190613d2c565b61183c565b005b34801561083a57600080fd5b5061085560048036038101906108509190613770565b61189e565b60405161086291906133fa565b60405180910390f35b34801561087757600080fd5b506108806118be565b60405161088d9190613e26565b60405180910390f35b3480156108a257600080fd5b506108ab6118d1565b6040516108b8919061374e565b60405180910390f35b3480156108cd57600080fd5b506108d661195f565b6040516108e39190613816565b60405180910390f35b3480156108f857600080fd5b50610901611965565b60405161090e9190613816565b60405180910390f35b34801561092357600080fd5b5061093e60048036038101906109399190613770565b61196b565b60405161094b919061374e565b60405180910390f35b34801561096057600080fd5b5061097b60048036038101906109769190613e66565b611a48565b005b34801561098957600080fd5b50610992611a7d565b60405161099f9190613816565b60405180910390f35b3480156109b457600080fd5b506109cf60048036038101906109ca9190613e93565b611a83565b6040516109dc91906133fa565b60405180910390f35b3480156109f157600080fd5b50610a0c6004803603810190610a0791906139eb565b611b17565b005b348015610a1a57600080fd5b50610a356004803603810190610a3091906139eb565b611b9a565b604051610a429190613816565b60405180910390f35b348015610a5757600080fd5b50610a60611bb2565b604051610a6d91906133fa565b60405180910390f35b6000610a8182611bc5565b9050919050565b610a90611c3f565b610a9a8282611cbd565b5050565b610aa6611c3f565b60005b8151811015610b6757600160156000848481518110610acb57610aca613ed3565b5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000848481518110610b1157610b10613ed3565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060136000815480929190610b5190613f31565b919050555080610b6090613f31565b9050610aa9565b5050565b606060008054610b7a90613fa8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba690613fa8565b8015610bf35780601f10610bc857610100808354040283529160200191610bf3565b820191906000526020600020905b815481529060010190602001808311610bd657829003601f168201915b5050505050905090565b6000610c0882611e52565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610c4d81611e9d565b610c6957610c59611ee9565b15610c6857610c6781611f00565b5b5b610c738383611f44565b505050565b60115481565b610c86611c3f565b80600d9081610c959190614185565b5050565b6000601354905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cfd57610ce033611e9d565b610cfc57610cec611ee9565b15610cfb57610cfa33611f00565b5b5b5b610d0884848461205b565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ea35760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610ead6120bb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ed99190614257565b610ee391906142c8565b90508160000151819350935050509250929050565b60176020528060005260406000206000915090505481565b610f18611c3f565b610f206120c5565b610f2861145a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f6d573d6000803e3d6000fd5b50610f76612114565b565b610f938383836040518060200160405280600081525061183c565b505050565b600d8054610fa590613fa8565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd190613fa8565b801561101e5780601f10610ff35761010080835404028352916020019161101e565b820191906000526020600020905b81548152906001019060200180831161100157829003601f168201915b505050505081565b600c805461103390613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461105f90613fa8565b80156110ac5780601f10611081576101008083540402835291602001916110ac565b820191906000526020600020905b81548152906001019060200180831161108f57829003601f168201915b505050505081565b6000806110c08361211e565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611131576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112890614345565b60405180910390fd5b80915050919050565b6001600281111561114e5761114d613daf565b5b600a60009054906101000a900460ff1660028111156111705761116f613daf565b5b146111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a7906143b1565b60405180910390fd5b60008383886040516020016111c79392919061444c565b6040516020818303038152906040528051906020012090506111e9818361215b565b611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f906144ca565b60405180910390fd5b60005b8686905081101561134a576000858589898581811061124d5761124c613ed3565b5b9050602002013581811061126457611263613ed3565b5b9050602002013590506015600082815260200190815260200160002060009054906101000a900460ff166113365761129c8982612282565b60016015600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061131890613f31565b91905055506013600081548092919061133090613f31565b91905055505b50808061134290613f31565b91505061122b565b5050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb9061455c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611413611c3f565b61141d600061249f565b565b60166020528060005260406000206000915054906101000a900460ff1681565b611447611c3f565b80600c90816114569190614185565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61148c611c3f565b80600f8190555050565b60125481565b6060600180546114ab90613fa8565b80601f01602080910402602001604051908101604052809291908181526020018280546114d790613fa8565b80156115245780601f106114f957610100808354040283529160200191611524565b820191906000526020600020905b81548152906001019060200180831161150757829003601f168201915b5050505050905090565b600f5481565b8060008111801561154757506012548111155b611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d906145c8565b60405180910390fd5b6010548160135461159791906145e8565b11156115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf90614668565b60405180910390fd5b6002808111156115eb576115ea613daf565b5b600a60009054906101000a900460ff16600281111561160d5761160c613daf565b5b1461164d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611644906146d4565b60405180910390fd5b6000601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460115461169c91906146f4565b905060008184116116ae5760006116bb565b81846116ba91906146f4565b5b905060008285116116cc57846116ce565b825b9050600f54826116de9190614257565b341015611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790614774565b60405180910390fd5b80601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461176f91906145e8565b925050819055506117803386612565565b5050505050565b8161179181611e9d565b6117ad5761179d611ee9565b156117ac576117ab81611f00565b5b5b6117b783836125e3565b505050565b6117c4611c3f565b8060128190555050565b6117d6611c3f565b806014819055507f63b0d00ca7be95e8ed90417045f614395b95949f5e8b9a472a7997480acbdb628160405161180c91906147e0565b60405180910390a150565b61181f611c3f565b80600a60016101000a81548160ff02191690831515021790555050565b61184d6118476125f9565b83612601565b61188c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188390614880565b60405180910390fd5b61189884848484612696565b50505050565b60156020528060005260406000206000915054906101000a900460ff1681565b600a60009054906101000a900460ff1681565b600b80546118de90613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461190a90613fa8565b80156119575780601f1061192c57610100808354040283529160200191611957565b820191906000526020600020905b81548152906001019060200180831161193a57829003601f168201915b505050505081565b60135481565b60145481565b60606000821015801561197f575060105482105b80156119a957506016600083815260200190815260200160002060009054906101000a900460ff16155b6119e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119df90614912565b60405180910390fd5b60006119f26126f2565b90506000815111611a125760405180602001604052806000815250611a40565b80611a1c84612784565b600d604051602001611a30939291906149f1565b6040516020818303038152906040525b915050919050565b611a50611c3f565b80600a60006101000a81548160ff02191690836002811115611a7557611a74613daf565b5b021790555050565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b1f611c3f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590614a94565b60405180910390fd5b611b978161249f565b50565b60186020528060005260406000206000915090505481565b600a60019054906101000a900460ff1681565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c385750611c3782612852565b5b9050919050565b611c476125f9565b73ffffffffffffffffffffffffffffffffffffffff16611c6561145a565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb290614b00565b60405180910390fd5b565b611cc56120bb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a90614b92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990614bfe565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611e5b81612934565b611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614345565b60405180910390fd5b50565b6000731e0049783f008a0085193e00003d00cd54003c7173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600a60019054906101000a900460ff16905090565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611f3c573d6000803e3d6000fd5b6000603a5250565b6000611f4f826110b4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb690614c90565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fde6125f9565b73ffffffffffffffffffffffffffffffffffffffff16148061200d575061200c816120076125f9565b611a83565b5b61204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614d22565b60405180910390fd5b6120568383612975565b505050565b61206c6120666125f9565b82612601565b6120ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a290614880565b60405180910390fd5b6120b6838383612a2e565b505050565b6000612710905090565b60026009540361210a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210190614d8e565b60405180910390fd5b6002600981905550565b6001600981905550565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000806001848460400151856000015186602001516040516000815260200160405260405161218d9493929190614dcc565b6020604051602081039080840390855afa1580156121af573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361222a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222190614e5d565b60405180910390fd5b7f000000000000000000000000ac2c8d1c733109fc2de90809cc6e97d7e986448873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890614ec9565b60405180910390fd5b6122fa81612934565b1561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614f35565b60405180910390fd5b612348600083836001612d27565b61235181612934565b15612391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238890614f35565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461249b600083836001612d2d565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156125de57600061257a612d33565b90506125868482612282565b60016015600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601360008154809291906125c590613f31565b91905055505080806125d690613f31565b915050612568565b505050565b6125f56125ee6125f9565b8383612e73565b5050565b600033905090565b60008061260d836110b4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061264f575061264e8185611a83565b5b8061268d57508373ffffffffffffffffffffffffffffffffffffffff1661267584610bfd565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6126a1848484612a2e565b6126ad84848484612fdf565b6126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390614fc7565b60405180910390fd5b50505050565b6060600c805461270190613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461272d90613fa8565b801561277a5780601f1061274f5761010080835404028352916020019161277a565b820191906000526020600020905b81548152906001019060200180831161275d57829003601f168201915b5050505050905090565b60606000600161279384613166565b01905060008167ffffffffffffffff8111156127b2576127b161350d565b5b6040519080825280601f01601f1916602001820160405280156127e45781602001600182028036833780820191505090505b509050600082602001820190505b600115612847578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161283b5761283a614299565b5b049450600085036127f2575b819350505050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061291d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061292d575061292c826132b9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166129568361211e565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129e8836110b4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612a4e826110b4565b73ffffffffffffffffffffffffffffffffffffffff1614612aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9b90615059565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a906150eb565b60405180910390fd5b612b208383836001612d27565b8273ffffffffffffffffffffffffffffffffffffffff16612b40826110b4565b73ffffffffffffffffffffffffffffffffffffffff1614612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d90615059565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d228383836001612d2d565b505050565b50505050565b50505050565b600080601054600e543342604051602001612d5093929190615174565b6040516020818303038152906040528051906020012060001c612d7391906151b1565b9050600e6000815480929190612d8890613f31565b919050555060008190506000600190505b6015600083815260200190815260200160002060009054906101000a900460ff1615612e6a5760105483600e543342604051602001612ddb94939291906151e2565b6040516020818303038152906040528051906020012060001c612dfe91906151b1565b9250600e6000815480929190612e1390613f31565b91905055508291508080612e2690613f31565b915050601454811115612e65576040517fbff6c42400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d99565b81935050505090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed89061527c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fd291906133fa565b60405180910390a3505050565b60006130008473ffffffffffffffffffffffffffffffffffffffff16613323565b15613159578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130296125f9565b8786866040518563ffffffff1660e01b815260040161304b94939291906152f1565b6020604051808303816000875af192505050801561308757506040513d601f19601f820116820180604052508101906130849190615352565b60015b613109573d80600081146130b7576040519150601f19603f3d011682016040523d82523d6000602084013e6130bc565b606091505b506000815103613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f890614fc7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061315e565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106131c4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816131ba576131b9614299565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613201576d04ee2d6d415b85acef810000000083816131f7576131f6614299565b5b0492506020810190505b662386f26fc10000831061323057662386f26fc10000838161322657613225614299565b5b0492506010810190505b6305f5e1008310613259576305f5e100838161324f5761324e614299565b5b0492506008810190505b612710831061327e57612710838161327457613273614299565b5b0492506004810190505b606483106132a1576064838161329757613296614299565b5b0492506002810190505b600a83106132b0576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61338f8161335a565b811461339a57600080fd5b50565b6000813590506133ac81613386565b92915050565b6000602082840312156133c8576133c7613350565b5b60006133d68482850161339d565b91505092915050565b60008115159050919050565b6133f4816133df565b82525050565b600060208201905061340f60008301846133eb565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061344082613415565b9050919050565b61345081613435565b811461345b57600080fd5b50565b60008135905061346d81613447565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61349481613473565b811461349f57600080fd5b50565b6000813590506134b18161348b565b92915050565b600080604083850312156134ce576134cd613350565b5b60006134dc8582860161345e565b92505060206134ed858286016134a2565b9150509250929050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613545826134fc565b810181811067ffffffffffffffff821117156135645761356361350d565b5b80604052505050565b6000613577613346565b9050613583828261353c565b919050565b600067ffffffffffffffff8211156135a3576135a261350d565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6135cc816135b9565b81146135d757600080fd5b50565b6000813590506135e9816135c3565b92915050565b60006136026135fd84613588565b61356d565b90508083825260208201905060208402830185811115613625576136246135b4565b5b835b8181101561364e578061363a88826135da565b845260208401935050602081019050613627565b5050509392505050565b600082601f83011261366d5761366c6134f7565b5b813561367d8482602086016135ef565b91505092915050565b60006020828403121561369c5761369b613350565b5b600082013567ffffffffffffffff8111156136ba576136b9613355565b5b6136c684828501613658565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137095780820151818401526020810190506136ee565b60008484015250505050565b6000613720826136cf565b61372a81856136da565b935061373a8185602086016136eb565b613743816134fc565b840191505092915050565b600060208201905081810360008301526137688184613715565b905092915050565b60006020828403121561378657613785613350565b5b6000613794848285016135da565b91505092915050565b6137a681613435565b82525050565b60006020820190506137c1600083018461379d565b92915050565b600080604083850312156137de576137dd613350565b5b60006137ec8582860161345e565b92505060206137fd858286016135da565b9150509250929050565b613810816135b9565b82525050565b600060208201905061382b6000830184613807565b92915050565b600080fd5b600067ffffffffffffffff8211156138515761385061350d565b5b61385a826134fc565b9050602081019050919050565b82818337600083830152505050565b600061388961388484613836565b61356d565b9050828152602081018484840111156138a5576138a4613831565b5b6138b0848285613867565b509392505050565b600082601f8301126138cd576138cc6134f7565b5b81356138dd848260208601613876565b91505092915050565b6000602082840312156138fc576138fb613350565b5b600082013567ffffffffffffffff81111561391a57613919613355565b5b613926848285016138b8565b91505092915050565b60008060006060848603121561394857613947613350565b5b60006139568682870161345e565b93505060206139678682870161345e565b9250506040613978868287016135da565b9150509250925092565b6000806040838503121561399957613998613350565b5b60006139a7858286016135da565b92505060206139b8858286016135da565b9150509250929050565b60006040820190506139d7600083018561379d565b6139e46020830184613807565b9392505050565b600060208284031215613a0157613a00613350565b5b6000613a0f8482850161345e565b91505092915050565b600080fd5b60008083601f840112613a3357613a326134f7565b5b8235905067ffffffffffffffff811115613a5057613a4f613a18565b5b602083019150836020820283011115613a6c57613a6b6135b4565b5b9250929050565b600080fd5b6000819050919050565b613a8b81613a78565b8114613a9657600080fd5b50565b600081359050613aa881613a82565b92915050565b600060ff82169050919050565b613ac481613aae565b8114613acf57600080fd5b50565b600081359050613ae181613abb565b92915050565b600060608284031215613afd57613afc613a73565b5b613b07606061356d565b90506000613b1784828501613a99565b6000830152506020613b2b84828501613a99565b6020830152506040613b3f84828501613ad2565b60408301525092915050565b60008060008060008060c08789031215613b6857613b67613350565b5b6000613b7689828a0161345e565b965050602087013567ffffffffffffffff811115613b9757613b96613355565b5b613ba389828a01613a1d565b9550955050604087013567ffffffffffffffff811115613bc657613bc5613355565b5b613bd289828a01613a1d565b93509350506060613be589828a01613ae7565b9150509295509295509295565b613bfb816133df565b8114613c0657600080fd5b50565b600081359050613c1881613bf2565b92915050565b60008060408385031215613c3557613c34613350565b5b6000613c438582860161345e565b9250506020613c5485828601613c09565b9150509250929050565b600060208284031215613c7457613c73613350565b5b6000613c8284828501613c09565b91505092915050565b600067ffffffffffffffff821115613ca657613ca561350d565b5b613caf826134fc565b9050602081019050919050565b6000613ccf613cca84613c8b565b61356d565b905082815260208101848484011115613ceb57613cea613831565b5b613cf6848285613867565b509392505050565b600082601f830112613d1357613d126134f7565b5b8135613d23848260208601613cbc565b91505092915050565b60008060008060808587031215613d4657613d45613350565b5b6000613d548782880161345e565b9450506020613d658782880161345e565b9350506040613d76878288016135da565b925050606085013567ffffffffffffffff811115613d9757613d96613355565b5b613da387828801613cfe565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613def57613dee613daf565b5b50565b6000819050613e0082613dde565b919050565b6000613e1082613df2565b9050919050565b613e2081613e05565b82525050565b6000602082019050613e3b6000830184613e17565b92915050565b60038110613e4e57600080fd5b50565b600081359050613e6081613e41565b92915050565b600060208284031215613e7c57613e7b613350565b5b6000613e8a84828501613e51565b91505092915050565b60008060408385031215613eaa57613ea9613350565b5b6000613eb88582860161345e565b9250506020613ec98582860161345e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f3c826135b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f6e57613f6d613f02565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fc057607f821691505b602082108103613fd357613fd2613f79565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261403b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ffe565b6140458683613ffe565b95508019841693508086168417925050509392505050565b6000819050919050565b600061408261407d614078846135b9565b61405d565b6135b9565b9050919050565b6000819050919050565b61409c83614067565b6140b06140a882614089565b84845461400b565b825550505050565b600090565b6140c56140b8565b6140d0818484614093565b505050565b5b818110156140f4576140e96000826140bd565b6001810190506140d6565b5050565b601f8211156141395761410a81613fd9565b61411384613fee565b81016020851015614122578190505b61413661412e85613fee565b8301826140d5565b50505b505050565b600082821c905092915050565b600061415c6000198460080261413e565b1980831691505092915050565b6000614175838361414b565b9150826002028217905092915050565b61418e826136cf565b67ffffffffffffffff8111156141a7576141a661350d565b5b6141b18254613fa8565b6141bc8282856140f8565b600060209050601f8311600181146141ef57600084156141dd578287015190505b6141e78582614169565b86555061424f565b601f1984166141fd86613fd9565b60005b8281101561422557848901518255600182019150602085019450602081019050614200565b86831015614242578489015161423e601f89168261414b565b8355505b6001600288020188555050505b505050505050565b6000614262826135b9565b915061426d836135b9565b925082820261427b816135b9565b9150828204841483151761429257614291613f02565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142d3826135b9565b91506142de836135b9565b9250826142ee576142ed614299565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061432f6018836136da565b915061433a826142f9565b602082019050919050565b6000602082019050818103600083015261435e81614322565b9050919050565b7f4e6f7420696e2074686520686f6c646572206d696e7420737461676521000000600082015250565b600061439b601d836136da565b91506143a682614365565b602082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b600082825260208201905092915050565b600080fd5b82818337505050565b60006143fc83856143d1565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561442f5761442e6143e2565b5b6020830292506144408385846143e7565b82840190509392505050565b600060408201905081810360008301526144678185876143f0565b9050614476602083018461379d565b949350505050565b7f496e76616c696420686f6c646572000000000000000000000000000000000000600082015250565b60006144b4600e836136da565b91506144bf8261447e565b602082019050919050565b600060208201905081810360008301526144e3816144a7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006145466029836136da565b9150614551826144ea565b604082019050919050565b6000602082019050818103600083015261457581614539565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006145b26014836136da565b91506145bd8261457c565b602082019050919050565b600060208201905081810360008301526145e1816145a5565b9050919050565b60006145f3826135b9565b91506145fe836135b9565b925082820190508082111561461657614615613f02565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006146526014836136da565b915061465d8261461c565b602082019050919050565b6000602082019050818103600083015261468181614645565b9050919050565b7f4e6f7420696e20746865207075626c6963206d696e7420737461676521000000600082015250565b60006146be601d836136da565b91506146c982614688565b602082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b60006146ff826135b9565b915061470a836135b9565b925082820390508181111561472257614721613f02565b5b92915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061475e6013836136da565b915061476982614728565b602082019050919050565b6000602082019050818103600083015261478d81614751565b9050919050565b7f6d617852616e646f6d417474656d707473000000000000000000000000000000600082015250565b60006147ca6011836136da565b91506147d582614794565b602082019050919050565b600060408201905081810360008301526147f9816147bd565b90506148086020830184613807565b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061486a602d836136da565b91506148758261480e565b604082019050919050565b600060208201905081810360008301526148998161485d565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148fc602f836136da565b9150614907826148a0565b604082019050919050565b6000602082019050818103600083015261492b816148ef565b9050919050565b600081905092915050565b6000614948826136cf565b6149528185614932565b93506149628185602086016136eb565b80840191505092915050565b6000815461497b81613fa8565b6149858186614932565b945060018216600081146149a057600181146149b5576149e8565b60ff19831686528115158202860193506149e8565b6149be85613fd9565b60005b838110156149e0578154818901526001820191506020810190506149c1565b838801955050505b50505092915050565b60006149fd828661493d565b9150614a09828561493d565b9150614a15828461496e565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a7e6026836136da565b9150614a8982614a22565b604082019050919050565b60006020820190508181036000830152614aad81614a71565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614aea6020836136da565b9150614af582614ab4565b602082019050919050565b60006020820190508181036000830152614b1981614add565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b7c602a836136da565b9150614b8782614b20565b604082019050919050565b60006020820190508181036000830152614bab81614b6f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614be86019836136da565b9150614bf382614bb2565b602082019050919050565b60006020820190508181036000830152614c1781614bdb565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c7a6021836136da565b9150614c8582614c1e565b604082019050919050565b60006020820190508181036000830152614ca981614c6d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614d0c603d836136da565b9150614d1782614cb0565b604082019050919050565b60006020820190508181036000830152614d3b81614cff565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614d78601f836136da565b9150614d8382614d42565b602082019050919050565b60006020820190508181036000830152614da781614d6b565b9050919050565b614db781613a78565b82525050565b614dc681613aae565b82525050565b6000608082019050614de16000830187614dae565b614dee6020830186614dbd565b614dfb6040830185614dae565b614e086060830184614dae565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614e476018836136da565b9150614e5282614e11565b602082019050919050565b60006020820190508181036000830152614e7681614e3a565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614eb36020836136da565b9150614ebe82614e7d565b602082019050919050565b60006020820190508181036000830152614ee281614ea6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614f1f601c836136da565b9150614f2a82614ee9565b602082019050919050565b60006020820190508181036000830152614f4e81614f12565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fb16032836136da565b9150614fbc82614f55565b604082019050919050565b60006020820190508181036000830152614fe081614fa4565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006150436025836136da565b915061504e82614fe7565b604082019050919050565b6000602082019050818103600083015261507281615036565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150d56024836136da565b91506150e082615079565b604082019050919050565b60006020820190508181036000830152615104816150c8565b9050919050565b6000819050919050565b615126615121826135b9565b61510b565b82525050565b60008160601b9050919050565b60006151448261512c565b9050919050565b600061515682615139565b9050919050565b61516e61516982613435565b61514b565b82525050565b60006151808286615115565b602082019150615190828561515d565b6014820191506151a08284615115565b602082019150819050949350505050565b60006151bc826135b9565b91506151c7836135b9565b9250826151d7576151d6614299565b5b828206905092915050565b60006151ee8287615115565b6020820191506151fe8286615115565b60208201915061520e828561515d565b60148201915061521e8284615115565b60208201915081905095945050505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006152666019836136da565b915061527182615230565b602082019050919050565b6000602082019050818103600083015261529581615259565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006152c38261529c565b6152cd81856152a7565b93506152dd8185602086016136eb565b6152e6816134fc565b840191505092915050565b6000608082019050615306600083018761379d565b615313602083018661379d565b6153206040830185613807565b818103606083015261533281846152b8565b905095945050505050565b60008151905061534c81613386565b92915050565b60006020828403121561536857615367613350565b5b60006153768482850161533d565b9150509291505056fea264697066735822122087449ed00f7b830c5b24bbbe3fe69d61fe181f46b63830df4fc45b57b75dc8dd64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000025800000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000ac2c8d1c733109fc2de90809cc6e97d7e9864488000000000000000000000000000000000000000000000000000000000000000c426f72696e67416d69676f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000742414d49474f53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d566e746868584b6d53554c62663765527365554a4250716745396a47424a6e68463355694a357a6e4a524e722f000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000191a0000000000000000000000000000000000000000000000000000000000001d54000000000000000000000000000000000000000000000000000000000000058200000000000000000000000000000000000000000000000000000000000016c200000000000000000000000000000000000000000000000000000000000014bf

-----Decoded View---------------
Arg [0] : _name (string): BoringAmigos
Arg [1] : _symbol (string): BAMIGOS
Arg [2] : _uriPrefix (string): ipfs://QmVnthhXKmSULbf7eRseUJBPqgE9jGBJnhF3UiJ5znJRNr/
Arg [3] : feeBasis (uint96): 600
Arg [4] : tokenIds (uint256[]): 6426,7508,1410,5826,5311
Arg [5] : adminSigner (address): 0xAC2c8D1c733109Fc2De90809cc6e97d7e9864488

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [5] : 000000000000000000000000ac2c8d1c733109fc2de90809cc6e97d7e9864488
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [7] : 426f72696e67416d69676f730000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [9] : 42414d49474f5300000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [11] : 697066733a2f2f516d566e746868584b6d53554c62663765527365554a425071
Arg [12] : 6745396a47424a6e68463355694a357a6e4a524e722f00000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 000000000000000000000000000000000000000000000000000000000000191a
Arg [15] : 0000000000000000000000000000000000000000000000000000000000001d54
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000582
Arg [17] : 00000000000000000000000000000000000000000000000000000000000016c2
Arg [18] : 00000000000000000000000000000000000000000000000000000000000014bf


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.