APE Price: $1.00 (+2.46%)

Token

The 8102: Blueprints (BLUEPRINTS)

Overview

Max Total Supply

0 BLUEPRINTS

Holders

22

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BLUEPRINTS
0x9760f458db0a9ffabc0012141e1195ddf01570a0
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
Blueprints

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 35 : The8102Blueprints.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.21;

import "./Signature.sol";
import "./Recoverable.sol";
import "@limitbreak/creator-token-standards/src/access/OwnableBasic.sol";
import "@limitbreak/creator-token-standards/src/erc721c/ERC721C.sol";
import "@limitbreak/creator-token-standards/src/programmable-royalties/BasicRoyalties.sol";

contract Blueprints is OwnableBasic, ERC721C, BasicRoyalties, Signature, Recoverable {
    string public baseURI;
    bool public isMintEnabled = false;

    error MintNotEnabled();
    error NonceAlreadyUsed();
    error InvalidSignature();
    error InvalidRecipient();
    error InvalidCaller();
    error RequestExpired();

    struct MintRequest {
        address to;
        address from;
        uint256[] tokenIds;
        uint128 validityStartTimestamp;
        uint128 validityEndTimestamp;
        bytes32 nonce;
    }

    constructor(
        address royaltyReceiver_,
        uint96 royaltyFeeNumerator_,
        string memory name_,
        string memory symbol_)
    ERC721OpenZeppelin(name_, symbol_) BasicRoyalties(royaltyReceiver_, royaltyFeeNumerator_) {
        _transferOwnership(royaltyReceiver_);
    }

    function mint(MintRequest calldata req_, bytes calldata signature_) external {
        if (!isMintEnabled) revert MintNotEnabled();
        if (req_.to == address(0)) revert InvalidRecipient();
        if (req_.from == address(0) || req_.from != _msgSender()) revert InvalidCaller();
        if (!isValidNonce(req_.nonce)) revert NonceAlreadyUsed();
        if (!isValidTime(req_.validityStartTimestamp, req_.validityEndTimestamp)) revert RequestExpired();

        _invalidateNonce(req_.nonce);

        bytes32 message = getMintMessageHash(req_.to, req_.from, req_.tokenIds, req_.validityStartTimestamp, req_.validityEndTimestamp, req_.nonce);
        if (!_isValidSignature(message, signature_)) revert InvalidSignature();

        for (uint256 i = 0; i < req_.tokenIds.length; i++) {
            _safeMint(req_.to, req_.tokenIds[i]);
        }
    }

    function getMintMessageHash(
        address to_,
        address from_,
        uint256[] calldata tokenIds_,
        uint128 validityStartTimestamp_,
        uint128 validityEndTimestamp_,
        bytes32 nonce_
    ) public pure returns (bytes32) {
        return keccak256(
            abi.encodePacked(
                to_,
                from_,
                tokenIds_,
                validityStartTimestamp_,
                validityEndTimestamp_,
                nonce_
            )
        );
    }

    function setSigner(address signer_) external onlyOwner {
        _setSigner(signer_);
    }

    function setMintEnabled(bool mintEnabled_) external onlyOwner {
        isMintEnabled = mintEnabled_;
    }

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

    function setBaseURI(string memory baseUri_) external onlyOwner {
        baseURI = baseUri_;
    }

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

File 2 of 35 : OwnableBasic.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "./OwnablePermissions.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract OwnableBasic is OwnablePermissions, Ownable {
    function _requireCallerIsContractOwner() internal view virtual override {
        _checkOwner();
    }
}

File 3 of 35 : OwnablePermissions.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Context.sol";

abstract contract OwnablePermissions is Context {
    function _requireCallerIsContractOwner() internal view virtual;
}

File 4 of 35 : ERC721C.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../utils/AutomaticValidatorTransferApproval.sol";
import "../utils/CreatorTokenBase.sol";
import "../token/erc721/ERC721OpenZeppelin.sol";
import "../interfaces/ITransferValidatorSetTokenType.sol";
import {TOKEN_TYPE_ERC721} from "@limitbreak/permit-c/src/Constants.sol";

/**
 * @title ERC721C
 * @author Limit Break, Inc.
 * @notice Extends OpenZeppelin's ERC721 implementation with Creator Token functionality, which
 *         allows the contract owner to update the transfer validation logic by managing a security policy in
 *         an external transfer validation security policy registry.  See {CreatorTokenTransferValidator}.
 */
abstract contract ERC721C is ERC721OpenZeppelin, CreatorTokenBase, AutomaticValidatorTransferApproval {

    /**
     * @notice Overrides behavior of isApprovedFor all such that if an operator is not explicitly approved
     *         for all, the contract owner can optionally auto-approve the 721-C transfer validator for transfers.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool isApproved) {
        isApproved = super.isApprovedForAll(owner, operator);

        if (!isApproved) {
            if (autoApproveTransfersFromValidator) {
                isApproved = operator == address(getTransferValidator());
            }
        }
    }

    /**
     * @notice Indicates whether the contract implements the specified interface.
     * @dev Overrides supportsInterface in ERC165.
     * @param interfaceId The interface id
     * @return true if the contract implements the specified interface, false otherwise
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return 
        interfaceId == type(ICreatorToken).interfaceId || 
        interfaceId == type(ICreatorTokenLegacy).interfaceId || 
        super.supportsInterface(interfaceId);
    }

    /**
     * @notice Returns the function selector for the transfer validator's validation function to be called 
     * @notice for transaction simulation. 
     */
    function getTransferValidationFunction() external pure returns (bytes4 functionSignature, bool isViewFunction) {
        functionSignature = bytes4(keccak256("validateTransfer(address,address,address,uint256)"));
        isViewFunction = true;
    }

    /// @dev Ties the open-zeppelin _beforeTokenTransfer hook to more granular transfer validation logic
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize) internal virtual override {
        for (uint256 i = 0; i < batchSize;) {
            _validateBeforeTransfer(from, to, firstTokenId + i);
            unchecked {
                ++i;
            }
        }
    }

    /// @dev Ties the open-zeppelin _afterTokenTransfer hook to more granular transfer validation logic
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize) internal virtual override {
        for (uint256 i = 0; i < batchSize;) {
            _validateAfterTransfer(from, to, firstTokenId + i);
            unchecked {
                ++i;
            }
        }
    }

    function _tokenType() internal pure override returns(uint16) {
        return uint16(TOKEN_TYPE_ERC721);
    }
}

/**
 * @title ERC721CInitializable
 * @author Limit Break, Inc.
 * @notice Initializable implementation of ERC721C to allow for EIP-1167 proxy clones.
 */
abstract contract ERC721CInitializable is ERC721OpenZeppelinInitializable, CreatorTokenBase, AutomaticValidatorTransferApproval {

    function initializeERC721(string memory name_, string memory symbol_) public override {
        super.initializeERC721(name_, symbol_);

        _emitDefaultTransferValidator();
        _registerTokenType(getTransferValidator());
    }

    /**
     * @notice Overrides behavior of isApprovedFor all such that if an operator is not explicitly approved
     *         for all, the contract owner can optionally auto-approve the 721-C transfer validator for transfers.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool isApproved) {
        isApproved = super.isApprovedForAll(owner, operator);

        if (!isApproved) {
            if (autoApproveTransfersFromValidator) {
                isApproved = operator == address(getTransferValidator());
            }
        }
    }

    /**
     * @notice Indicates whether the contract implements the specified interface.
     * @dev Overrides supportsInterface in ERC165.
     * @param interfaceId The interface id
     * @return true if the contract implements the specified interface, false otherwise
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return 
        interfaceId == type(ICreatorToken).interfaceId || 
        interfaceId == type(ICreatorTokenLegacy).interfaceId || 
        super.supportsInterface(interfaceId);
    }

    /**
     * @notice Returns the function selector for the transfer validator's validation function to be called 
     * @notice for transaction simulation. 
     */
    function getTransferValidationFunction() external pure returns (bytes4 functionSignature, bool isViewFunction) {
        functionSignature = bytes4(keccak256("validateTransfer(address,address,address,uint256)"));
        isViewFunction = true;
    }

    /// @dev Ties the open-zeppelin _beforeTokenTransfer hook to more granular transfer validation logic
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize) internal virtual override {
        for (uint256 i = 0; i < batchSize;) {
            _validateBeforeTransfer(from, to, firstTokenId + i);
            unchecked {
                ++i;
            }
        }
    }

    /// @dev Ties the open-zeppelin _afterTokenTransfer hook to more granular transfer validation logic
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize) internal virtual override {
        for (uint256 i = 0; i < batchSize;) {
            _validateAfterTransfer(from, to, firstTokenId + i);
            unchecked {
                ++i;
            }
        }
    }

    function _tokenType() internal pure override returns(uint16) {
        return uint16(TOKEN_TYPE_ERC721);
    }
}

File 5 of 35 : ICreatorToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface ICreatorToken {
    event TransferValidatorUpdated(address oldValidator, address newValidator);
    function getTransferValidator() external view returns (address validator);
    function setTransferValidator(address validator) external;
    function getTransferValidationFunction() external view returns (bytes4 functionSignature, bool isViewFunction);
}

File 6 of 35 : ICreatorTokenLegacy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface ICreatorTokenLegacy {
    event TransferValidatorUpdated(address oldValidator, address newValidator);
    function getTransferValidator() external view returns (address validator);
    function setTransferValidator(address validator) external;
}

File 7 of 35 : ITransferValidator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface ITransferValidator {
    function applyCollectionTransferPolicy(address caller, address from, address to) external view;
    function validateTransfer(address caller, address from, address to) external view;
    function validateTransfer(address caller, address from, address to, uint256 tokenId) external view;
    function validateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount) external;

    function beforeAuthorizedTransfer(address operator, address token, uint256 tokenId) external;
    function afterAuthorizedTransfer(address token, uint256 tokenId) external;
    function beforeAuthorizedTransfer(address operator, address token) external;
    function afterAuthorizedTransfer(address token) external;
    function beforeAuthorizedTransfer(address token, uint256 tokenId) external;
    function beforeAuthorizedTransferWithAmount(address token, uint256 tokenId, uint256 amount) external;
    function afterAuthorizedTransferWithAmount(address token, uint256 tokenId) external;
}

File 8 of 35 : ITransferValidatorSetTokenType.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface ITransferValidatorSetTokenType {
    function setTokenTypeOfCollection(address collection, uint16 tokenType) external;
}

File 9 of 35 : BasicRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/common/ERC2981.sol";

/**
 * @title BasicRoyaltiesBase
 * @author Limit Break, Inc.
 * @dev Base functionality of an NFT mix-in contract implementing the most basic form of programmable royalties.
 */
abstract contract BasicRoyaltiesBase is ERC2981 {

    event DefaultRoyaltySet(address indexed receiver, uint96 feeNumerator);
    event TokenRoyaltySet(uint256 indexed tokenId, address indexed receiver, uint96 feeNumerator);

    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual override {
        super._setDefaultRoyalty(receiver, feeNumerator);
        emit DefaultRoyaltySet(receiver, feeNumerator);
    }

    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual override {
        super._setTokenRoyalty(tokenId, receiver, feeNumerator);
        emit TokenRoyaltySet(tokenId, receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyalties
 * @author Limit Break, Inc.
 * @notice Constructable BasicRoyalties Contract implementation.
 */
abstract contract BasicRoyalties is BasicRoyaltiesBase {
    constructor(address receiver, uint96 feeNumerator) {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyaltiesInitializable
 * @author Limit Break, Inc.
 * @notice Initializable BasicRoyalties Contract implementation to allow for EIP-1167 clones. 
 */
abstract contract BasicRoyaltiesInitializable is BasicRoyaltiesBase {}

File 10 of 35 : ERC721OpenZeppelin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "../../access/OwnablePermissions.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

abstract contract ERC721OpenZeppelinBase is ERC721 {

    // Token name
    string internal _contractName;

    // Token symbol
    string internal _contractSymbol;

    function name() public view virtual override returns (string memory) {
        return _contractName;
    }

    function symbol() public view virtual override returns (string memory) {
        return _contractSymbol;
    }

    function _setNameAndSymbol(string memory name_, string memory symbol_) internal {
        _contractName = name_;
        _contractSymbol = symbol_;
    }
}

abstract contract ERC721OpenZeppelin is ERC721OpenZeppelinBase {
    constructor(string memory name_, string memory symbol_) ERC721("", "") {
        _setNameAndSymbol(name_, symbol_);
    }
}

abstract contract ERC721OpenZeppelinInitializable is OwnablePermissions, ERC721OpenZeppelinBase {

    error ERC721OpenZeppelinInitializable__AlreadyInitializedERC721();

    /// @notice Specifies whether or not the contract is initialized
    bool private _erc721Initialized;

    /// @dev Initializes parameters of ERC721 tokens.
    /// These cannot be set in the constructor because this contract is optionally compatible with EIP-1167.
    function initializeERC721(string memory name_, string memory symbol_) public virtual {
        _requireCallerIsContractOwner();

        if(_erc721Initialized) {
            revert ERC721OpenZeppelinInitializable__AlreadyInitializedERC721();
        }

        _erc721Initialized = true;

        _setNameAndSymbol(name_, symbol_);
    }
}

File 11 of 35 : AutomaticValidatorTransferApproval.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../access/OwnablePermissions.sol";

/**
 * @title AutomaticValidatorTransferApproval
 * @author Limit Break, Inc.
 * @notice Base contract mix-in that provides boilerplate code giving the contract owner the
 *         option to automatically approve a 721-C transfer validator implementation for transfers.
 */
abstract contract AutomaticValidatorTransferApproval is OwnablePermissions {

    /// @dev Emitted when the automatic approval flag is modified by the creator.
    event AutomaticApprovalOfTransferValidatorSet(bool autoApproved);

    /// @dev If true, the collection's transfer validator is automatically approved to transfer holder's tokens.
    bool public autoApproveTransfersFromValidator;

    /**
     * @notice Sets if the transfer validator is automatically approved as an operator for all token owners.
     * 
     * @dev    Throws when the caller is not the contract owner.
     * 
     * @param autoApprove If true, the collection's transfer validator will be automatically approved to
     *                    transfer holder's tokens.
     */
    function setAutomaticApprovalOfTransfersFromValidator(bool autoApprove) external {
        _requireCallerIsContractOwner();
        autoApproveTransfersFromValidator = autoApprove;
        emit AutomaticApprovalOfTransferValidatorSet(autoApprove);
    }
}

File 12 of 35 : CreatorTokenBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../access/OwnablePermissions.sol";
import "../interfaces/ICreatorToken.sol";
import "../interfaces/ICreatorTokenLegacy.sol";
import "../interfaces/ITransferValidator.sol";
import "./TransferValidation.sol";
import "../interfaces/ITransferValidatorSetTokenType.sol";

/**
 * @title CreatorTokenBase
 * @author Limit Break, Inc.
 * @notice CreatorTokenBaseV3 is an abstract contract that provides basic functionality for managing token 
 * transfer policies through an implementation of ICreatorTokenTransferValidator/ICreatorTokenTransferValidatorV2/ICreatorTokenTransferValidatorV3. 
 * This contract is intended to be used as a base for creator-specific token contracts, enabling customizable transfer 
 * restrictions and security policies.
 *
 * <h4>Features:</h4>
 * <ul>Ownable: This contract can have an owner who can set and update the transfer validator.</ul>
 * <ul>TransferValidation: Implements the basic token transfer validation interface.</ul>
 *
 * <h4>Benefits:</h4>
 * <ul>Provides a flexible and modular way to implement custom token transfer restrictions and security policies.</ul>
 * <ul>Allows creators to enforce policies such as account and codehash blacklists, whitelists, and graylists.</ul>
 * <ul>Can be easily integrated into other token contracts as a base contract.</ul>
 *
 * <h4>Intended Usage:</h4>
 * <ul>Use as a base contract for creator token implementations that require advanced transfer restrictions and 
 *   security policies.</ul>
 * <ul>Set and update the ICreatorTokenTransferValidator implementation contract to enforce desired policies for the 
 *   creator token.</ul>
 *
 * <h4>Compatibility:</h4>
 * <ul>Backward and Forward Compatible - V1/V2/V3 Creator Token Base will work with V1/V2/V3 Transfer Validators.</ul>
 */
abstract contract CreatorTokenBase is OwnablePermissions, TransferValidation, ICreatorToken {

    /// @dev Thrown when setting a transfer validator address that has no deployed code.
    error CreatorTokenBase__InvalidTransferValidatorContract();

    /// @dev The default transfer validator that will be used if no transfer validator has been set by the creator.
    address public constant DEFAULT_TRANSFER_VALIDATOR = address(0x721C002B0059009a671D00aD1700c9748146cd1B);

    /// @dev Used to determine if the default transfer validator is applied.
    /// @dev Set to true when the creator sets a transfer validator address.
    bool private isValidatorInitialized;
    /// @dev Address of the transfer validator to apply to transactions.
    address private transferValidator;

    constructor() {
        _emitDefaultTransferValidator();
        _registerTokenType(DEFAULT_TRANSFER_VALIDATOR);
    }

    /**
     * @notice Sets the transfer validator for the token contract.
     *
     * @dev    Throws when provided validator contract is not the zero address and does not have code.
     * @dev    Throws when the caller is not the contract owner.
     *
     * @dev    <h4>Postconditions:</h4>
     *         1. The transferValidator address is updated.
     *         2. The `TransferValidatorUpdated` event is emitted.
     *
     * @param transferValidator_ The address of the transfer validator contract.
     */
    function setTransferValidator(address transferValidator_) public {
        _requireCallerIsContractOwner();

        bool isValidTransferValidator = transferValidator_.code.length > 0;

        if(transferValidator_ != address(0) && !isValidTransferValidator) {
            revert CreatorTokenBase__InvalidTransferValidatorContract();
        }

        emit TransferValidatorUpdated(address(getTransferValidator()), transferValidator_);

        isValidatorInitialized = true;
        transferValidator = transferValidator_;

        _registerTokenType(transferValidator_);
    }

    /**
     * @notice Returns the transfer validator contract address for this token contract.
     */
    function getTransferValidator() public view override returns (address validator) {
        validator = transferValidator;

        if (validator == address(0)) {
            if (!isValidatorInitialized) {
                validator = DEFAULT_TRANSFER_VALIDATOR;
            }
        }
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Be aware that if the msg.sender is the transfer validator, the transfer is automatically permitted, as the
     *      transfer validator is expected to pre-validate the transfer.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     * @param tokenId The token id being transferred.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 tokenId, 
        uint256 /*value*/) internal virtual override {
        address validator = getTransferValidator();

        if (validator != address(0)) {
            if (msg.sender == validator) {
                return;
            }

            ITransferValidator(validator).validateTransfer(caller, from, to, tokenId);
        }
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Be aware that if the msg.sender is the transfer validator, the transfer is automatically permitted, as the
     *      transfer validator is expected to pre-validate the transfer.
     * 
     * @dev Used for ERC20 and ERC1155 token transfers which have an amount value to validate in the transfer validator.
     * @dev The `tokenId` for ERC20 tokens should be set to `0`.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     * @param tokenId The token id being transferred.
     * @param amount  The amount of token being transferred.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 tokenId, 
        uint256 amount,
        uint256 /*value*/) internal virtual override {
        address validator = getTransferValidator();

        if (validator != address(0)) {
            if (msg.sender == validator) {
                return;
            }

            ITransferValidator(validator).validateTransfer(caller, from, to, tokenId, amount);
        }
    }

    function _tokenType() internal virtual pure returns(uint16);

    function _registerTokenType(address validator) internal {
        if (validator != address(0)) {
            uint256 validatorCodeSize;
            assembly {
                validatorCodeSize := extcodesize(validator)
            }
            if(validatorCodeSize > 0) {
                try ITransferValidatorSetTokenType(validator).setTokenTypeOfCollection(address(this), _tokenType()) {
                } catch { }
            }
        }
    }

    /**
     * @dev  Used during contract deployment for constructable and cloneable creator tokens
     * @dev  to emit the `TransferValidatorUpdated` event signaling the validator for the contract
     * @dev  is the default transfer validator.
     */
    function _emitDefaultTransferValidator() internal {
        emit TransferValidatorUpdated(address(0), DEFAULT_TRANSFER_VALIDATOR);
    }
}

File 13 of 35 : TransferValidation.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @title TransferValidation
 * @author Limit Break, Inc.
 * @notice A mix-in that can be combined with ERC-721 contracts to provide more granular hooks.
 * Openzeppelin's ERC721 contract only provides hooks for before and after transfer.  This allows
 * developers to validate or customize transfers within the context of a mint, a burn, or a transfer.
 */
abstract contract TransferValidation is Context {
    
    /// @dev Thrown when the from and to address are both the zero address.
    error ShouldNotMintToBurnAddress();

    /*************************************************************************/
    /*                      Transfers Without Amounts                        */
    /*************************************************************************/

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _preValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _postValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /*************************************************************************/
    /*                         Transfers With Amounts                        */
    /*************************************************************************/

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId, uint256 amount) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(_msgSender(), to, tokenId, amount, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(_msgSender(), from, tokenId, amount, msg.value);
        } else {
            _preValidateTransfer(_msgSender(), from, to, tokenId, amount, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId, uint256 amount) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(_msgSender(), to, tokenId, amount, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(_msgSender(), from, tokenId, amount, msg.value);
        } else {
            _postValidateTransfer(_msgSender(), from, to, tokenId, amount, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}
}

File 14 of 35 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @dev Constant bytes32 value of 0x000...000
bytes32 constant ZERO_BYTES32 = bytes32(0);

/// @dev Constant value of 0
uint256 constant ZERO = 0;
/// @dev Constant value of 1
uint256 constant ONE = 1;

/// @dev Constant value representing an open order in storage
uint8 constant ORDER_STATE_OPEN = 0;
/// @dev Constant value representing a filled order in storage
uint8 constant ORDER_STATE_FILLED = 1;
/// @dev Constant value representing a cancelled order in storage
uint8 constant ORDER_STATE_CANCELLED = 2;

/// @dev Constant value representing the ERC721 token type for signatures and transfer hooks
uint256 constant TOKEN_TYPE_ERC721 = 721;
/// @dev Constant value representing the ERC1155 token type for signatures and transfer hooks
uint256 constant TOKEN_TYPE_ERC1155 = 1155;
/// @dev Constant value representing the ERC20 token type for signatures and transfer hooks
uint256 constant TOKEN_TYPE_ERC20 = 20;

/// @dev Constant value to mask the upper bits of a signature that uses a packed `vs` value to extract `s`
bytes32 constant UPPER_BIT_MASK = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;

/// @dev EIP-712 typehash used for validating signature based stored approvals
bytes32 constant UPDATE_APPROVAL_TYPEHASH =
    keccak256("UpdateApprovalBySignature(uint256 tokenType,address token,uint256 id,uint256 amount,uint256 nonce,address operator,uint256 approvalExpiration,uint256 sigDeadline,uint256 masterNonce)");

/// @dev EIP-712 typehash used for validating a single use permit without additional data
bytes32 constant SINGLE_USE_PERMIT_TYPEHASH =
    keccak256("PermitTransferFrom(uint256 tokenType,address token,uint256 id,uint256 amount,uint256 nonce,address operator,uint256 expiration,uint256 masterNonce)");

/// @dev EIP-712 typehash used for validating a single use permit with additional data
string constant SINGLE_USE_PERMIT_TRANSFER_ADVANCED_TYPEHASH_STUB =
    "PermitTransferFromWithAdditionalData(uint256 tokenType,address token,uint256 id,uint256 amount,uint256 nonce,address operator,uint256 expiration,uint256 masterNonce,";

/// @dev EIP-712 typehash used for validating an order permit that updates storage as it fills
string constant PERMIT_ORDER_ADVANCED_TYPEHASH_STUB =
    "PermitOrderWithAdditionalData(uint256 tokenType,address token,uint256 id,uint256 amount,uint256 salt,address operator,uint256 expiration,uint256 masterNonce,";

/// @dev Pausable flag for stored approval transfers of ERC721 assets
uint256 constant PAUSABLE_APPROVAL_TRANSFER_FROM_ERC721 = 1 << 0;
/// @dev Pausable flag for stored approval transfers of ERC1155 assets
uint256 constant PAUSABLE_APPROVAL_TRANSFER_FROM_ERC1155 = 1 << 1;
/// @dev Pausable flag for stored approval transfers of ERC20 assets
uint256 constant PAUSABLE_APPROVAL_TRANSFER_FROM_ERC20 = 1 << 2;

/// @dev Pausable flag for single use permit transfers of ERC721 assets
uint256 constant PAUSABLE_PERMITTED_TRANSFER_FROM_ERC721 = 1 << 3;
/// @dev Pausable flag for single use permit transfers of ERC1155 assets
uint256 constant PAUSABLE_PERMITTED_TRANSFER_FROM_ERC1155 = 1 << 4;
/// @dev Pausable flag for single use permit transfers of ERC20 assets
uint256 constant PAUSABLE_PERMITTED_TRANSFER_FROM_ERC20 = 1 << 5;

/// @dev Pausable flag for order fill transfers of ERC1155 assets
uint256 constant PAUSABLE_ORDER_TRANSFER_FROM_ERC1155 = 1 << 6;
/// @dev Pausable flag for order fill transfers of ERC20 assets
uint256 constant PAUSABLE_ORDER_TRANSFER_FROM_ERC20 = 1 << 7;

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 16 of 35 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155.sol)

pragma solidity ^0.8.0;

import "../token/ERC1155/IERC1155.sol";

File 17 of 35 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 18 of 35 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 19 of 35 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 20 of 35 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 21 of 35 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 22 of 35 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 23 of 35 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (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 24 of 35 : 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 25 of 35 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 26 of 35 : 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 27 of 35 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return 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 28 of 35 : 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 29 of 35 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 30 of 35 : 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 31 of 35 : 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 32 of 35 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 33 of 35 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 34 of 35 : Recoverable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.21;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract Recoverable is Ownable {
    event RecoveredERC20(address indexed token, uint256 amount);
    event RecoveredERC721(address indexed token, uint256 indexed tokenId);
    event RecoveredERC1155(address indexed token, uint256 indexed tokenId, uint256 amount);

    error InvalidTokenAddress();
    error NothingToRecover();

    function recoverERC1155(address tokenAddress, uint256 tokenId) external onlyOwner {
        if (tokenAddress == address(0)) revert InvalidTokenAddress();

        IERC1155 token = IERC1155(tokenAddress);
        uint256 balance = token.balanceOf(address(this), tokenId);
        if (balance == 0) revert NothingToRecover();

        token.safeTransferFrom(address(this), owner(), tokenId, balance, "");
        emit RecoveredERC1155(tokenAddress, tokenId, balance);
    }

    function recoverERC20(address tokenAddress) external onlyOwner {
        if (tokenAddress == address(0)) revert InvalidTokenAddress();

        IERC20 token = IERC20(tokenAddress);
        uint256 balance = token.balanceOf(address(this));
        if (balance == 0) revert NothingToRecover();

        token.transfer(owner(), balance);
        emit RecoveredERC20(tokenAddress, balance);
    }

    function recoverERC721(address tokenAddress, uint256 tokenId) external onlyOwner {
        if (tokenAddress == address(0)) revert InvalidTokenAddress();

        IERC721 token = IERC721(tokenAddress);
        address ownerOfToken = token.ownerOf(tokenId);
        if (ownerOfToken != address(this)) revert NothingToRecover();

        token.safeTransferFrom(address(this), owner(), tokenId);
        emit RecoveredERC721(tokenAddress, tokenId);
    }
}

File 35 of 35 : Signature.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.21;

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

abstract contract Signature {
    using ECDSA for bytes32;

    address private signer;
    mapping(bytes32 => bool) public nonces;

    function _setSigner(address signer_) internal {
        require(signer_ != address(0), "Invalid signer address");
        signer = signer_;
    }

    function _isValidSignature(
        bytes32 data,
        bytes memory signature
    ) public view returns (bool) {
        return data.toEthSignedMessageHash().recover(signature) == signer;
    }

    function isValidNonce(bytes32 _nonce) public view returns (bool) {
        return !nonces[_nonce];
    }

    function isValidTime(uint128 _start, uint128 _end) public view returns (bool) {
        return _start <= block.timestamp && _end >= block.timestamp;
    }

    function _invalidateNonce(bytes32 _nonce) internal {
        nonces[_nonce] = true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"royaltyReceiver_","type":"address"},{"internalType":"uint96","name":"royaltyFeeNumerator_","type":"uint96"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CreatorTokenBase__InvalidTransferValidatorContract","type":"error"},{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidTokenAddress","type":"error"},{"inputs":[],"name":"MintNotEnabled","type":"error"},{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[],"name":"NothingToRecover","type":"error"},{"inputs":[],"name":"RequestExpired","type":"error"},{"inputs":[],"name":"ShouldNotMintToBurnAddress","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":false,"internalType":"bool","name":"autoApproved","type":"bool"}],"name":"AutomaticApprovalOfTransferValidatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"DefaultRoyaltySet","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":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RecoveredERC1155","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RecoveredERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"RecoveredERC721","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"TokenRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_TRANSFER_VALIDATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"data","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"_isValidSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoApproveTransfersFromValidator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"address","name":"from_","type":"address"},{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"},{"internalType":"uint128","name":"validityStartTimestamp_","type":"uint128"},{"internalType":"uint128","name":"validityEndTimestamp_","type":"uint128"},{"internalType":"bytes32","name":"nonce_","type":"bytes32"}],"name":"getMintMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTransferValidationFunction","outputs":[{"internalType":"bytes4","name":"functionSignature","type":"bytes4"},{"internalType":"bool","name":"isViewFunction","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"address","name":"validator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_nonce","type":"bytes32"}],"name":"isValidNonce","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"_start","type":"uint128"},{"internalType":"uint128","name":"_end","type":"uint128"}],"name":"isValidTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint128","name":"validityStartTimestamp","type":"uint128"},{"internalType":"uint128","name":"validityEndTimestamp","type":"uint128"},{"internalType":"bytes32","name":"nonce","type":"bytes32"}],"internalType":"struct Blueprints.MintRequest","name":"req_","type":"tuple"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nonces","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":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverERC721","outputs":[],"stateMutability":"nonpayable","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":"bool","name":"autoApprove","type":"bool"}],"name":"setAutomaticApprovalOfTransfersFromValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"mintEnabled_","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer_","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferValidator_","type":"address"}],"name":"setTransferValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId_","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

6080604052600f805460ff191690553480156200001b57600080fd5b5060405162003415380380620034158339810160408190526200003e9162000454565b83838383604051806020016040528060008152506040518060200160405280600081525081600090816200007391906200058d565b5060016200008282826200058d565b505050620000978282620000f260201b60201c565b50620000a590503362000114565b620000af62000166565b620000ce73721c002b0059009a671d00ad1700c9748146cd1b620001b5565b620000da828262000233565b50620000e890508462000114565b5050505062000659565b60066200010083826200058d565b5060076200010f82826200058d565b505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516000815273721c002b0059009a671d00ad1700c9748146cd1b60208201527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a1565b6001600160a01b038116156200023057803b80156200022e576040805163fb2de5d760e01b81523060048201526102d1602482015290516001600160a01b0384169163fb2de5d791604480830192600092919082900301818387803b1580156200021e57600080fd5b505af19250505080156200010f57505b505b50565b6200023f82826200028a565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b6127106001600160601b0382161115620002fe5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003565760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620002f5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003b757600080fd5b81516001600160401b0380821115620003d457620003d46200038f565b604051601f8301601f19908116603f01168101908282118183101715620003ff57620003ff6200038f565b816040528381526020925086838588010111156200041c57600080fd5b600091505b8382101562000440578582018301518183018401529082019062000421565b600093810190920192909252949350505050565b600080600080608085870312156200046b57600080fd5b84516001600160a01b03811681146200048357600080fd5b60208601519094506001600160601b0381168114620004a157600080fd5b60408601519093506001600160401b0380821115620004bf57600080fd5b620004cd88838901620003a5565b93506060870151915080821115620004e457600080fd5b50620004f387828801620003a5565b91505092959194509250565b600181811c908216806200051457607f821691505b6020821081036200053557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200010f57600081815260208120601f850160051c81016020861015620005645750805b601f850160051c820191505b81811015620005855782815560010162000570565b505050505050565b81516001600160401b03811115620005a957620005a96200038f565b620005c181620005ba8454620004ff565b846200053b565b602080601f831160018114620005f95760008415620005e05750858301515b600019600386901b1c1916600185901b17855562000585565b600085815260208120601f198616915b828110156200062a5788860151825594840194600190910190840162000609565b5085821015620006495787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612dac80620006696000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c806370a08231116101305780639f665bdf116100b8578063c87b56dd1161007c578063c87b56dd146104e8578063e985e9c5146104fb578063f2fde38b1461050e578063f46a04eb14610521578063fc23eab71461053457600080fd5b80639f665bdf14610478578063a22cb4651461048b578063a9fc664e1461049e578063b88d4fde146104b1578063ba0f2637146104c457600080fd5b80638da5cb5b116100ff5780638da5cb5b1461041657806395d89b41146104275780639e05d2401461042f5780639e317f12146104425780639e8c708e1461046557600080fd5b806370a08231146103c7578063715018a6146103e8578063819d4cc6146103f0578063825349d41461040357600080fd5b8063346de50a116101b35780635c654ad9116101825780635c654ad9146103725780636221d13c146103855780636352211e146103995780636c0360eb146103ac5780636c19e783146103b457600080fd5b8063346de50a1461032c57806342842e0e14610339578063429c97581461034c57806355f804b31461035f57600080fd5b8063095ea7b3116101fa578063095ea7b3146102af578063098144d4146102c45780630d705df6146102cc57806323b872dd146102e75780632a55205a146102fa57600080fd5b8063014635461461022c57806301ffc9a71461026457806306fdde0314610287578063081812fc1461029c575b600080fd5b61024773721c002b0059009a671d00ad1700c9748146cd1b81565b6040516001600160a01b0390911681526020015b60405180910390f35b6102776102723660046123a1565b610547565b604051901515815260200161025b565b61028f610558565b60405161025b919061240e565b6102476102aa366004612421565b6105ea565b6102c26102bd36600461244f565b610611565b005b61024761072b565b6040805163657711f560e11b8152600160208201520161025b565b6102c26102f536600461247b565b610767565b61030d6103083660046124bc565b610798565b604080516001600160a01b03909316835260208301919091520161025b565b600f546102779060ff1681565b6102c261034736600461247b565b610846565b61027761035a36600461258a565b610861565b6102c261036d3660046125d1565b6108e2565b6102c261038036600461244f565b6108fa565b60095461027790600160a01b900460ff1681565b6102476103a7366004612421565b610aa5565b61028f610b05565b6102c26103c236600461261a565b610b93565b6103da6103d536600461261a565b610ba7565b60405190815260200161025b565b6102c2610c2d565b6102c26103fe36600461244f565b610c41565b6102c2610411366004612637565b610dce565b6008546001600160a01b0316610247565b61028f61103e565b6102c261043d3660046126e4565b61104d565b610277610450366004612421565b600d6020526000908152604090205460ff1681565b6102c261047336600461261a565b6110ad565b61027761048636600461271d565b611247565b6102c2610499366004612750565b611272565b6102c26104ac36600461261a565b61127d565b6102c26104bf366004612789565b611342565b6102776104d2366004612421565b6000908152600d602052604090205460ff161590565b61028f6104f6366004612421565b61137a565b6102776105093660046127f5565b6113e0565b6102c261051c36600461261a565b611444565b6102c261052f3660046126e4565b6114ba565b6103da610542366004612823565b6114d5565b600061055282611517565b92915050565b606060068054610567906128e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610593906128e9565b80156105e05780601f106105b5576101008083540402835291602001916105e0565b820191906000526020600020905b8154815290600101906020018083116105c357829003601f168201915b5050505050905090565b60006105f58261153c565b506000908152600460205260409020546001600160a01b031690565b600061061c82610aa5565b9050806001600160a01b0316836001600160a01b03160361068e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106aa57506106aa81336113e0565b61071c5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610685565b610726838361159b565b505050565b6009546001600160a01b03168061076457600854600160a01b900460ff16610764575073721c002b0059009a671d00ad1700c9748146cd1b5b90565b6107713382611609565b61078d5760405162461bcd60e51b815260040161068590612923565b610726838383611668565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161080d575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061082c906001600160601b031687612986565b610836919061299d565b91519350909150505b9250929050565b61072683838360405180602001604052806000815250611342565b600c546000906001600160a01b03166108d1836108cb866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906117e1565b6001600160a01b0316149392505050565b6108ea611805565b600e6108f68282612a05565b5050565b610902611805565b6001600160a01b03821661092957604051630f58058360e11b815260040160405180910390fd5b604051627eeac760e11b81523060048201526024810182905282906000906001600160a01b0383169062fdd58e90604401602060405180830381865afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099b9190612ac5565b9050806000036109be5760405163157474a960e31b815260040160405180910390fd5b816001600160a01b031663f242432a306109e06008546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604481018690526064810184905260a06084820152600060a482015260c401600060405180830381600087803b158015610a4457600080fd5b505af1158015610a58573d6000803e3d6000fd5b5050505082846001600160a01b03167e04b148840595eb234e6148251c2c9c78d692171f32febbd992963e0c13855383604051610a9791815260200190565b60405180910390a350505050565b6000818152600260205260408120546001600160a01b0316806105525760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610685565b600e8054610b12906128e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906128e9565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b505050505081565b610b9b611805565b610ba48161185f565b50565b60006001600160a01b038216610c115760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610685565b506001600160a01b031660009081526003602052604090205490565b610c35611805565b610c3f60006118d0565b565b610c49611805565b6001600160a01b038216610c7057604051630f58058360e11b815260040160405180910390fd5b6040516331a9108f60e11b81526004810182905282906000906001600160a01b03831690636352211e90602401602060405180830381865afa158015610cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cde9190612ade565b90506001600160a01b0381163014610d095760405163157474a960e31b815260040160405180910390fd5b816001600160a01b03166342842e0e30610d2b6008546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260448101869052606401600060405180830381600087803b158015610d7a57600080fd5b505af1158015610d8e573d6000803e3d6000fd5b50506040518592506001600160a01b03871691507f57519b6a0997d7d44511836bcee0a36871aa79d445816f6c464abb0cd9d3f3e890600090a350505050565b600f5460ff16610df15760405163447691f760e01b815260040160405180910390fd5b6000610e00602085018561261a565b6001600160a01b031603610e2757604051634e46966960e11b815260040160405180910390fd5b6000610e39604085016020860161261a565b6001600160a01b03161480610e66575033610e5a604085016020860161261a565b6001600160a01b031614155b15610e84576040516348f5c3ed60e01b815260040160405180910390fd5b60a08301356000908152600d602052604090205460ff1615610eb857604051623f613760e71b815260040160405180910390fd5b610edb610ecb6080850160608601612afb565b61048660a0860160808701612afb565b610ef857604051637f780e6960e11b815260040160405180910390fd5b610f1b8360a001356000908152600d60205260409020805460ff19166001179055565b6000610f74610f2d602086018661261a565b610f3d604087016020880161261a565b610f4a6040880188612b16565b610f5a60808a0160608b01612afb565b610f6a60a08b0160808c01612afb565b8a60a001356114d5565b9050610fb68184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061086192505050565b610fd357604051638baa579f60e01b815260040160405180910390fd5b60005b610fe36040860186612b16565b905081101561103757611025610ffc602087018761261a565b6110096040880188612b16565b8481811061101957611019612b60565b90506020020135611922565b8061102f81612b76565b915050610fd6565b5050505050565b606060078054610567906128e9565b61105561193c565b60098054821515600160a01b0260ff60a01b199091161790556040517f6787c7f9a80aa0f5ceddab2c54f1f5169c0b88e75dd5e19d5e858a64144c7dbc906110a290831515815260200190565b60405180910390a150565b6110b5611805565b6001600160a01b0381166110dc57604051630f58058360e11b815260040160405180910390fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111499190612ac5565b90508060000361116c5760405163157474a960e31b815260040160405180910390fd5b816001600160a01b031663a9059cbb61118d6008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156111da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fe9190612b8f565b50826001600160a01b03167f55350610fe57096d8c0ffa30beede987326bccfcb0b4415804164d0dd50ce8b18260405161123a91815260200190565b60405180910390a2505050565b600042836001600160801b03161115801561126b575042826001600160801b031610155b9392505050565b6108f6338383611944565b61128561193c565b6001600160a01b038116803b151590158015906112a0575080155b156112be576040516332483afb60e01b815260040160405180910390fd5b7fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac6112e761072b565b604080516001600160a01b03928316815291851660208301520160405180910390a16008805460ff60a01b1916600160a01b179055600980546001600160a01b0384166001600160a01b03199091161790556108f682611a12565b61134c3383611609565b6113685760405162461bcd60e51b815260040161068590612923565b61137484848484611a92565b50505050565b60606113858261153c565b600061138f611ac5565b905060008151116113af576040518060200160405280600081525061126b565b806113b984611ad4565b6040516020016113ca929190612bac565b6040516020818303038152906040529392505050565b6001600160a01b0382811660009081526005602090815260408083209385168352929052205460ff168061055257600954600160a01b900460ff16156105525761142861072b565b6001600160a01b0316826001600160a01b031614905092915050565b61144c611805565b6001600160a01b0381166114b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610685565b610ba4816118d0565b6114c2611805565b600f805460ff1916911515919091179055565b6000878787878787876040516020016114f49796959493929190612bdb565b604051602081830303815290604052805190602001209050979650505050505050565b60006001600160e01b0319821663152a902d60e11b1480610552575061055282611b67565b6000818152600260205260409020546001600160a01b0316610ba45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610685565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115d082610aa5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061161583610aa5565b9050806001600160a01b0316846001600160a01b0316148061163c575061163c81856113e0565b806116605750836001600160a01b0316611655846105ea565b6001600160a01b0316145b949350505050565b826001600160a01b031661167b82610aa5565b6001600160a01b0316146116a15760405162461bcd60e51b815260040161068590612c5c565b6001600160a01b0382166117035760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610685565b6117108383836001611ba7565b826001600160a01b031661172382610aa5565b6001600160a01b0316146117495760405162461bcd60e51b815260040161068590612c5c565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46107268383836001611bce565b60008060006117f08585611bf5565b915091506117fd81611c37565b509392505050565b6008546001600160a01b03163314610c3f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610685565b6001600160a01b0381166118ae5760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964207369676e6572206164647265737360501b6044820152606401610685565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108f6828260405180602001604052806000815250611d81565b610c3f611805565b816001600160a01b0316836001600160a01b0316036119a55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610685565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03811615610ba457803b80156108f6576040805163fb2de5d760e01b81523060048201526102d1602482015290516001600160a01b0384169163fb2de5d791604480830192600092919082900301818387803b158015611a7857600080fd5b505af1925050508015611a89575060015b156108f6575050565b611a9d848484611668565b611aa984848484611db4565b6113745760405162461bcd60e51b815260040161068590612ca1565b6060600e8054610567906128e9565b60606000611ae183611eb5565b600101905060008167ffffffffffffffff811115611b0157611b016124de565b6040519080825280601f01601f191660200182016040528015611b2b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b3557509392505050565b60006001600160e01b03198216632b435fdb60e21b1480611b9857506001600160e01b0319821663503e914d60e11b145b80610552575061055282611f8d565b60005b8181101561103757611bc68585611bc18487612cf3565b611fdd565b600101611baa565b60005b8181101561103757611bed8585611be88487612cf3565b612033565b600101611bd1565b6000808251604103611c2b5760208301516040840151606085015160001a611c1f8782858561207a565b9450945050505061083f565b5060009050600261083f565b6000816004811115611c4b57611c4b612d06565b03611c535750565b6001816004811115611c6757611c67612d06565b03611cb45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610685565b6002816004811115611cc857611cc8612d06565b03611d155760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610685565b6003816004811115611d2957611d29612d06565b03610ba45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610685565b611d8b838361213e565b611d986000848484611db4565b6107265760405162461bcd60e51b815260040161068590612ca1565b60006001600160a01b0384163b15611eaa57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611df8903390899088908890600401612d1c565b6020604051808303816000875af1925050508015611e33575060408051601f3d908101601f19168201909252611e3091810190612d59565b60015b611e90573d808015611e61576040519150601f19603f3d011682016040523d82523d6000602084013e611e66565b606091505b508051600003611e885760405162461bcd60e51b815260040161068590612ca1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611660565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ef45772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f20576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f3e57662386f26fc10000830492506010015b6305f5e1008310611f56576305f5e100830492506008015b6127108310611f6a57612710830492506004015b60648310611f7c576064830492506002015b600a83106105525760010192915050565b60006001600160e01b031982166380ac58cd60e01b1480611fbe57506001600160e01b03198216635b5e139f60e01b145b8061055257506301ffc9a760e01b6001600160e01b0319831614610552565b6001600160a01b038381161590831615818015611ff75750805b1561201557604051635cbd944160e01b815260040160405180910390fd5b8115612021575b611037565b8061201c5761103733868686346122e1565b6001600160a01b03838116159083161581801561204d5750805b1561206b57604051635cbd944160e01b815260040160405180910390fd5b8161201c578061201c57611037565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120b15750600090506003612135565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612105573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661212e57600060019250925050612135565b9150600090505b94509492505050565b6001600160a01b0382166121945760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610685565b6000818152600260205260409020546001600160a01b0316156121f95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610685565b612207600083836001611ba7565b6000818152600260205260409020546001600160a01b03161561226c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610685565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46108f6600083836001611bce565b60006122eb61072b565b90506001600160a01b03811615612383576001600160a01b03811633036123125750611037565b60405163657711f560e11b81526001600160a01b038781166004830152868116602483015285811660448301526064820185905282169063caee23ea9060840160006040518083038186803b15801561236a57600080fd5b505afa15801561237e573d6000803e3d6000fd5b505050505b505050505050565b6001600160e01b031981168114610ba457600080fd5b6000602082840312156123b357600080fd5b813561126b8161238b565b60005b838110156123d95781810151838201526020016123c1565b50506000910152565b600081518084526123fa8160208601602086016123be565b601f01601f19169290920160200192915050565b60208152600061126b60208301846123e2565b60006020828403121561243357600080fd5b5035919050565b6001600160a01b0381168114610ba457600080fd5b6000806040838503121561246257600080fd5b823561246d8161243a565b946020939093013593505050565b60008060006060848603121561249057600080fd5b833561249b8161243a565b925060208401356124ab8161243a565b929592945050506040919091013590565b600080604083850312156124cf57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561250f5761250f6124de565b604051601f8501601f19908116603f01168101908282118183101715612537576125376124de565b8160405280935085815286868601111561255057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261257b57600080fd5b61126b838335602085016124f4565b6000806040838503121561259d57600080fd5b82359150602083013567ffffffffffffffff8111156125bb57600080fd5b6125c78582860161256a565b9150509250929050565b6000602082840312156125e357600080fd5b813567ffffffffffffffff8111156125fa57600080fd5b8201601f8101841361260b57600080fd5b611660848235602084016124f4565b60006020828403121561262c57600080fd5b813561126b8161243a565b60008060006040848603121561264c57600080fd5b833567ffffffffffffffff8082111561266457600080fd5b9085019060c0828803121561267857600080fd5b9093506020850135908082111561268e57600080fd5b818601915086601f8301126126a257600080fd5b8135818111156126b157600080fd5b8760208285010111156126c357600080fd5b6020830194508093505050509250925092565b8015158114610ba457600080fd5b6000602082840312156126f657600080fd5b813561126b816126d6565b80356001600160801b038116811461271857600080fd5b919050565b6000806040838503121561273057600080fd5b61273983612701565b915061274760208401612701565b90509250929050565b6000806040838503121561276357600080fd5b823561276e8161243a565b9150602083013561277e816126d6565b809150509250929050565b6000806000806080858703121561279f57600080fd5b84356127aa8161243a565b935060208501356127ba8161243a565b925060408501359150606085013567ffffffffffffffff8111156127dd57600080fd5b6127e98782880161256a565b91505092959194509250565b6000806040838503121561280857600080fd5b82356128138161243a565b9150602083013561277e8161243a565b600080600080600080600060c0888a03121561283e57600080fd5b87356128498161243a565b965060208801356128598161243a565b9550604088013567ffffffffffffffff8082111561287657600080fd5b818a0191508a601f83011261288a57600080fd5b81358181111561289957600080fd5b8b60208260051b85010111156128ae57600080fd5b6020830197508096505050506128c660608901612701565b92506128d460808901612701565b915060a0880135905092959891949750929550565b600181811c908216806128fd57607f821691505b60208210810361291d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761055257610552612970565b6000826129ba57634e487b7160e01b600052601260045260246000fd5b500490565b601f82111561072657600081815260208120601f850160051c810160208610156129e65750805b601f850160051c820191505b81811015612383578281556001016129f2565b815167ffffffffffffffff811115612a1f57612a1f6124de565b612a3381612a2d84546128e9565b846129bf565b602080601f831160018114612a685760008415612a505750858301515b600019600386901b1c1916600185901b178555612383565b600085815260208120601f198616915b82811015612a9757888601518255948401946001909101908401612a78565b5085821015612ab55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612ad757600080fd5b5051919050565b600060208284031215612af057600080fd5b815161126b8161243a565b600060208284031215612b0d57600080fd5b61126b82612701565b6000808335601e19843603018112612b2d57600080fd5b83018035915067ffffffffffffffff821115612b4857600080fd5b6020019150600581901b360382131561083f57600080fd5b634e487b7160e01b600052603260045260246000fd5b600060018201612b8857612b88612970565b5060010190565b600060208284031215612ba157600080fd5b815161126b816126d6565b60008351612bbe8184602088016123be565b835190830190612bd28183602088016123be565b01949350505050565b6bffffffffffffffffffffffff19606089811b8216835288901b16601482015260006001600160fb1b03861115612c1157600080fd5b8560051b808860288501376fffffffffffffffffffffffffffffffff19608096871b81169190930160288101919091529390941b166038830152604882015260680195945050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8082018082111561055257610552612970565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d4f908301846123e2565b9695505050505050565b600060208284031215612d6b57600080fd5b815161126b8161238b56fea26469706673582212206f995f37c386cb60a032c1d74536025c3623c2880613c1f25aaa851599fb813964736f6c634300081500330000000000000000000000006bee03a601874abfad5143a83a3199dba71fa29500000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001454686520383130323a20426c75657072696e7473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a424c55455052494e545300000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c806370a08231116101305780639f665bdf116100b8578063c87b56dd1161007c578063c87b56dd146104e8578063e985e9c5146104fb578063f2fde38b1461050e578063f46a04eb14610521578063fc23eab71461053457600080fd5b80639f665bdf14610478578063a22cb4651461048b578063a9fc664e1461049e578063b88d4fde146104b1578063ba0f2637146104c457600080fd5b80638da5cb5b116100ff5780638da5cb5b1461041657806395d89b41146104275780639e05d2401461042f5780639e317f12146104425780639e8c708e1461046557600080fd5b806370a08231146103c7578063715018a6146103e8578063819d4cc6146103f0578063825349d41461040357600080fd5b8063346de50a116101b35780635c654ad9116101825780635c654ad9146103725780636221d13c146103855780636352211e146103995780636c0360eb146103ac5780636c19e783146103b457600080fd5b8063346de50a1461032c57806342842e0e14610339578063429c97581461034c57806355f804b31461035f57600080fd5b8063095ea7b3116101fa578063095ea7b3146102af578063098144d4146102c45780630d705df6146102cc57806323b872dd146102e75780632a55205a146102fa57600080fd5b8063014635461461022c57806301ffc9a71461026457806306fdde0314610287578063081812fc1461029c575b600080fd5b61024773721c002b0059009a671d00ad1700c9748146cd1b81565b6040516001600160a01b0390911681526020015b60405180910390f35b6102776102723660046123a1565b610547565b604051901515815260200161025b565b61028f610558565b60405161025b919061240e565b6102476102aa366004612421565b6105ea565b6102c26102bd36600461244f565b610611565b005b61024761072b565b6040805163657711f560e11b8152600160208201520161025b565b6102c26102f536600461247b565b610767565b61030d6103083660046124bc565b610798565b604080516001600160a01b03909316835260208301919091520161025b565b600f546102779060ff1681565b6102c261034736600461247b565b610846565b61027761035a36600461258a565b610861565b6102c261036d3660046125d1565b6108e2565b6102c261038036600461244f565b6108fa565b60095461027790600160a01b900460ff1681565b6102476103a7366004612421565b610aa5565b61028f610b05565b6102c26103c236600461261a565b610b93565b6103da6103d536600461261a565b610ba7565b60405190815260200161025b565b6102c2610c2d565b6102c26103fe36600461244f565b610c41565b6102c2610411366004612637565b610dce565b6008546001600160a01b0316610247565b61028f61103e565b6102c261043d3660046126e4565b61104d565b610277610450366004612421565b600d6020526000908152604090205460ff1681565b6102c261047336600461261a565b6110ad565b61027761048636600461271d565b611247565b6102c2610499366004612750565b611272565b6102c26104ac36600461261a565b61127d565b6102c26104bf366004612789565b611342565b6102776104d2366004612421565b6000908152600d602052604090205460ff161590565b61028f6104f6366004612421565b61137a565b6102776105093660046127f5565b6113e0565b6102c261051c36600461261a565b611444565b6102c261052f3660046126e4565b6114ba565b6103da610542366004612823565b6114d5565b600061055282611517565b92915050565b606060068054610567906128e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610593906128e9565b80156105e05780601f106105b5576101008083540402835291602001916105e0565b820191906000526020600020905b8154815290600101906020018083116105c357829003601f168201915b5050505050905090565b60006105f58261153c565b506000908152600460205260409020546001600160a01b031690565b600061061c82610aa5565b9050806001600160a01b0316836001600160a01b03160361068e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106aa57506106aa81336113e0565b61071c5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610685565b610726838361159b565b505050565b6009546001600160a01b03168061076457600854600160a01b900460ff16610764575073721c002b0059009a671d00ad1700c9748146cd1b5b90565b6107713382611609565b61078d5760405162461bcd60e51b815260040161068590612923565b610726838383611668565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161080d575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061082c906001600160601b031687612986565b610836919061299d565b91519350909150505b9250929050565b61072683838360405180602001604052806000815250611342565b600c546000906001600160a01b03166108d1836108cb866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906117e1565b6001600160a01b0316149392505050565b6108ea611805565b600e6108f68282612a05565b5050565b610902611805565b6001600160a01b03821661092957604051630f58058360e11b815260040160405180910390fd5b604051627eeac760e11b81523060048201526024810182905282906000906001600160a01b0383169062fdd58e90604401602060405180830381865afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099b9190612ac5565b9050806000036109be5760405163157474a960e31b815260040160405180910390fd5b816001600160a01b031663f242432a306109e06008546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604481018690526064810184905260a06084820152600060a482015260c401600060405180830381600087803b158015610a4457600080fd5b505af1158015610a58573d6000803e3d6000fd5b5050505082846001600160a01b03167e04b148840595eb234e6148251c2c9c78d692171f32febbd992963e0c13855383604051610a9791815260200190565b60405180910390a350505050565b6000818152600260205260408120546001600160a01b0316806105525760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610685565b600e8054610b12906128e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906128e9565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b505050505081565b610b9b611805565b610ba48161185f565b50565b60006001600160a01b038216610c115760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610685565b506001600160a01b031660009081526003602052604090205490565b610c35611805565b610c3f60006118d0565b565b610c49611805565b6001600160a01b038216610c7057604051630f58058360e11b815260040160405180910390fd5b6040516331a9108f60e11b81526004810182905282906000906001600160a01b03831690636352211e90602401602060405180830381865afa158015610cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cde9190612ade565b90506001600160a01b0381163014610d095760405163157474a960e31b815260040160405180910390fd5b816001600160a01b03166342842e0e30610d2b6008546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260448101869052606401600060405180830381600087803b158015610d7a57600080fd5b505af1158015610d8e573d6000803e3d6000fd5b50506040518592506001600160a01b03871691507f57519b6a0997d7d44511836bcee0a36871aa79d445816f6c464abb0cd9d3f3e890600090a350505050565b600f5460ff16610df15760405163447691f760e01b815260040160405180910390fd5b6000610e00602085018561261a565b6001600160a01b031603610e2757604051634e46966960e11b815260040160405180910390fd5b6000610e39604085016020860161261a565b6001600160a01b03161480610e66575033610e5a604085016020860161261a565b6001600160a01b031614155b15610e84576040516348f5c3ed60e01b815260040160405180910390fd5b60a08301356000908152600d602052604090205460ff1615610eb857604051623f613760e71b815260040160405180910390fd5b610edb610ecb6080850160608601612afb565b61048660a0860160808701612afb565b610ef857604051637f780e6960e11b815260040160405180910390fd5b610f1b8360a001356000908152600d60205260409020805460ff19166001179055565b6000610f74610f2d602086018661261a565b610f3d604087016020880161261a565b610f4a6040880188612b16565b610f5a60808a0160608b01612afb565b610f6a60a08b0160808c01612afb565b8a60a001356114d5565b9050610fb68184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061086192505050565b610fd357604051638baa579f60e01b815260040160405180910390fd5b60005b610fe36040860186612b16565b905081101561103757611025610ffc602087018761261a565b6110096040880188612b16565b8481811061101957611019612b60565b90506020020135611922565b8061102f81612b76565b915050610fd6565b5050505050565b606060078054610567906128e9565b61105561193c565b60098054821515600160a01b0260ff60a01b199091161790556040517f6787c7f9a80aa0f5ceddab2c54f1f5169c0b88e75dd5e19d5e858a64144c7dbc906110a290831515815260200190565b60405180910390a150565b6110b5611805565b6001600160a01b0381166110dc57604051630f58058360e11b815260040160405180910390fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111499190612ac5565b90508060000361116c5760405163157474a960e31b815260040160405180910390fd5b816001600160a01b031663a9059cbb61118d6008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156111da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fe9190612b8f565b50826001600160a01b03167f55350610fe57096d8c0ffa30beede987326bccfcb0b4415804164d0dd50ce8b18260405161123a91815260200190565b60405180910390a2505050565b600042836001600160801b03161115801561126b575042826001600160801b031610155b9392505050565b6108f6338383611944565b61128561193c565b6001600160a01b038116803b151590158015906112a0575080155b156112be576040516332483afb60e01b815260040160405180910390fd5b7fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac6112e761072b565b604080516001600160a01b03928316815291851660208301520160405180910390a16008805460ff60a01b1916600160a01b179055600980546001600160a01b0384166001600160a01b03199091161790556108f682611a12565b61134c3383611609565b6113685760405162461bcd60e51b815260040161068590612923565b61137484848484611a92565b50505050565b60606113858261153c565b600061138f611ac5565b905060008151116113af576040518060200160405280600081525061126b565b806113b984611ad4565b6040516020016113ca929190612bac565b6040516020818303038152906040529392505050565b6001600160a01b0382811660009081526005602090815260408083209385168352929052205460ff168061055257600954600160a01b900460ff16156105525761142861072b565b6001600160a01b0316826001600160a01b031614905092915050565b61144c611805565b6001600160a01b0381166114b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610685565b610ba4816118d0565b6114c2611805565b600f805460ff1916911515919091179055565b6000878787878787876040516020016114f49796959493929190612bdb565b604051602081830303815290604052805190602001209050979650505050505050565b60006001600160e01b0319821663152a902d60e11b1480610552575061055282611b67565b6000818152600260205260409020546001600160a01b0316610ba45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610685565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115d082610aa5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061161583610aa5565b9050806001600160a01b0316846001600160a01b0316148061163c575061163c81856113e0565b806116605750836001600160a01b0316611655846105ea565b6001600160a01b0316145b949350505050565b826001600160a01b031661167b82610aa5565b6001600160a01b0316146116a15760405162461bcd60e51b815260040161068590612c5c565b6001600160a01b0382166117035760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610685565b6117108383836001611ba7565b826001600160a01b031661172382610aa5565b6001600160a01b0316146117495760405162461bcd60e51b815260040161068590612c5c565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46107268383836001611bce565b60008060006117f08585611bf5565b915091506117fd81611c37565b509392505050565b6008546001600160a01b03163314610c3f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610685565b6001600160a01b0381166118ae5760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964207369676e6572206164647265737360501b6044820152606401610685565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108f6828260405180602001604052806000815250611d81565b610c3f611805565b816001600160a01b0316836001600160a01b0316036119a55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610685565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03811615610ba457803b80156108f6576040805163fb2de5d760e01b81523060048201526102d1602482015290516001600160a01b0384169163fb2de5d791604480830192600092919082900301818387803b158015611a7857600080fd5b505af1925050508015611a89575060015b156108f6575050565b611a9d848484611668565b611aa984848484611db4565b6113745760405162461bcd60e51b815260040161068590612ca1565b6060600e8054610567906128e9565b60606000611ae183611eb5565b600101905060008167ffffffffffffffff811115611b0157611b016124de565b6040519080825280601f01601f191660200182016040528015611b2b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b3557509392505050565b60006001600160e01b03198216632b435fdb60e21b1480611b9857506001600160e01b0319821663503e914d60e11b145b80610552575061055282611f8d565b60005b8181101561103757611bc68585611bc18487612cf3565b611fdd565b600101611baa565b60005b8181101561103757611bed8585611be88487612cf3565b612033565b600101611bd1565b6000808251604103611c2b5760208301516040840151606085015160001a611c1f8782858561207a565b9450945050505061083f565b5060009050600261083f565b6000816004811115611c4b57611c4b612d06565b03611c535750565b6001816004811115611c6757611c67612d06565b03611cb45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610685565b6002816004811115611cc857611cc8612d06565b03611d155760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610685565b6003816004811115611d2957611d29612d06565b03610ba45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610685565b611d8b838361213e565b611d986000848484611db4565b6107265760405162461bcd60e51b815260040161068590612ca1565b60006001600160a01b0384163b15611eaa57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611df8903390899088908890600401612d1c565b6020604051808303816000875af1925050508015611e33575060408051601f3d908101601f19168201909252611e3091810190612d59565b60015b611e90573d808015611e61576040519150601f19603f3d011682016040523d82523d6000602084013e611e66565b606091505b508051600003611e885760405162461bcd60e51b815260040161068590612ca1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611660565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ef45772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f20576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f3e57662386f26fc10000830492506010015b6305f5e1008310611f56576305f5e100830492506008015b6127108310611f6a57612710830492506004015b60648310611f7c576064830492506002015b600a83106105525760010192915050565b60006001600160e01b031982166380ac58cd60e01b1480611fbe57506001600160e01b03198216635b5e139f60e01b145b8061055257506301ffc9a760e01b6001600160e01b0319831614610552565b6001600160a01b038381161590831615818015611ff75750805b1561201557604051635cbd944160e01b815260040160405180910390fd5b8115612021575b611037565b8061201c5761103733868686346122e1565b6001600160a01b03838116159083161581801561204d5750805b1561206b57604051635cbd944160e01b815260040160405180910390fd5b8161201c578061201c57611037565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120b15750600090506003612135565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612105573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661212e57600060019250925050612135565b9150600090505b94509492505050565b6001600160a01b0382166121945760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610685565b6000818152600260205260409020546001600160a01b0316156121f95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610685565b612207600083836001611ba7565b6000818152600260205260409020546001600160a01b03161561226c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610685565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46108f6600083836001611bce565b60006122eb61072b565b90506001600160a01b03811615612383576001600160a01b03811633036123125750611037565b60405163657711f560e11b81526001600160a01b038781166004830152868116602483015285811660448301526064820185905282169063caee23ea9060840160006040518083038186803b15801561236a57600080fd5b505afa15801561237e573d6000803e3d6000fd5b505050505b505050505050565b6001600160e01b031981168114610ba457600080fd5b6000602082840312156123b357600080fd5b813561126b8161238b565b60005b838110156123d95781810151838201526020016123c1565b50506000910152565b600081518084526123fa8160208601602086016123be565b601f01601f19169290920160200192915050565b60208152600061126b60208301846123e2565b60006020828403121561243357600080fd5b5035919050565b6001600160a01b0381168114610ba457600080fd5b6000806040838503121561246257600080fd5b823561246d8161243a565b946020939093013593505050565b60008060006060848603121561249057600080fd5b833561249b8161243a565b925060208401356124ab8161243a565b929592945050506040919091013590565b600080604083850312156124cf57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561250f5761250f6124de565b604051601f8501601f19908116603f01168101908282118183101715612537576125376124de565b8160405280935085815286868601111561255057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261257b57600080fd5b61126b838335602085016124f4565b6000806040838503121561259d57600080fd5b82359150602083013567ffffffffffffffff8111156125bb57600080fd5b6125c78582860161256a565b9150509250929050565b6000602082840312156125e357600080fd5b813567ffffffffffffffff8111156125fa57600080fd5b8201601f8101841361260b57600080fd5b611660848235602084016124f4565b60006020828403121561262c57600080fd5b813561126b8161243a565b60008060006040848603121561264c57600080fd5b833567ffffffffffffffff8082111561266457600080fd5b9085019060c0828803121561267857600080fd5b9093506020850135908082111561268e57600080fd5b818601915086601f8301126126a257600080fd5b8135818111156126b157600080fd5b8760208285010111156126c357600080fd5b6020830194508093505050509250925092565b8015158114610ba457600080fd5b6000602082840312156126f657600080fd5b813561126b816126d6565b80356001600160801b038116811461271857600080fd5b919050565b6000806040838503121561273057600080fd5b61273983612701565b915061274760208401612701565b90509250929050565b6000806040838503121561276357600080fd5b823561276e8161243a565b9150602083013561277e816126d6565b809150509250929050565b6000806000806080858703121561279f57600080fd5b84356127aa8161243a565b935060208501356127ba8161243a565b925060408501359150606085013567ffffffffffffffff8111156127dd57600080fd5b6127e98782880161256a565b91505092959194509250565b6000806040838503121561280857600080fd5b82356128138161243a565b9150602083013561277e8161243a565b600080600080600080600060c0888a03121561283e57600080fd5b87356128498161243a565b965060208801356128598161243a565b9550604088013567ffffffffffffffff8082111561287657600080fd5b818a0191508a601f83011261288a57600080fd5b81358181111561289957600080fd5b8b60208260051b85010111156128ae57600080fd5b6020830197508096505050506128c660608901612701565b92506128d460808901612701565b915060a0880135905092959891949750929550565b600181811c908216806128fd57607f821691505b60208210810361291d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761055257610552612970565b6000826129ba57634e487b7160e01b600052601260045260246000fd5b500490565b601f82111561072657600081815260208120601f850160051c810160208610156129e65750805b601f850160051c820191505b81811015612383578281556001016129f2565b815167ffffffffffffffff811115612a1f57612a1f6124de565b612a3381612a2d84546128e9565b846129bf565b602080601f831160018114612a685760008415612a505750858301515b600019600386901b1c1916600185901b178555612383565b600085815260208120601f198616915b82811015612a9757888601518255948401946001909101908401612a78565b5085821015612ab55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612ad757600080fd5b5051919050565b600060208284031215612af057600080fd5b815161126b8161243a565b600060208284031215612b0d57600080fd5b61126b82612701565b6000808335601e19843603018112612b2d57600080fd5b83018035915067ffffffffffffffff821115612b4857600080fd5b6020019150600581901b360382131561083f57600080fd5b634e487b7160e01b600052603260045260246000fd5b600060018201612b8857612b88612970565b5060010190565b600060208284031215612ba157600080fd5b815161126b816126d6565b60008351612bbe8184602088016123be565b835190830190612bd28183602088016123be565b01949350505050565b6bffffffffffffffffffffffff19606089811b8216835288901b16601482015260006001600160fb1b03861115612c1157600080fd5b8560051b808860288501376fffffffffffffffffffffffffffffffff19608096871b81169190930160288101919091529390941b166038830152604882015260680195945050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8082018082111561055257610552612970565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d4f908301846123e2565b9695505050505050565b600060208284031215612d6b57600080fd5b815161126b8161238b56fea26469706673582212206f995f37c386cb60a032c1d74536025c3623c2880613c1f25aaa851599fb813964736f6c63430008150033

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

0000000000000000000000006bee03a601874abfad5143a83a3199dba71fa29500000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001454686520383130323a20426c75657072696e7473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a424c55455052494e545300000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : royaltyReceiver_ (address): 0x6bEE03a601874ABFad5143A83a3199DBA71Fa295
Arg [1] : royaltyFeeNumerator_ (uint96): 420
Arg [2] : name_ (string): The 8102: Blueprints
Arg [3] : symbol_ (string): BLUEPRINTS

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000006bee03a601874abfad5143a83a3199dba71fa295
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a4
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [5] : 54686520383130323a20426c75657072696e7473000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 424c55455052494e545300000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

350:2800:34:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2205:104:10;;2266:42;2205:104;;;;;-1:-1:-1;;;;;178:32:35;;;160:51;;148:2;133:18;2205:104:10;;;;;;;;2769:171:34;;;;;;:::i;:::-;;:::i;:::-;;;773:14:35;;766:22;748:41;;736:2;721:18;2769:171:34;608:187:35;333:106:8;;;:::i;:::-;;;;;;;:::i;3935:167:20:-;;;;;;:::i;:::-;;:::i;3468:406::-;;;;;;:::i;:::-;;:::i;:::-;;3958:290:10;;;:::i;2159:249:2:-;;;;-1:-1:-1;;;2363:52:35;;2397:4:2;2446:2:35;2431:18;;2424:50;2336:18;2159:249:2;2197:283:35;4612:326:20;;;;;;:::i;:::-;;:::i;1671:432:24:-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3391:32:35;;;3373:51;;3455:2;3440:18;;3433:34;;;;3346:18;1671:432:24;3199:274:35;468:33:34;;;;;;;;;5004:179:20;;;;;;:::i;:::-;;:::i;411:196:33:-;;;;;;:::i;:::-;;:::i;2946:98:34:-;;;;;;:::i;:::-;;:::i;628:471:32:-;;;;;;:::i;:::-;;:::i;724:45:9:-;;;;;-1:-1:-1;;;724:45:9;;;;;;2190:219:20;;;;;;:::i;:::-;;:::i;441:21:34:-;;;:::i;2559:91::-;;;;;;:::i;:::-;;:::i;1929:204:20:-;;;;;;:::i;:::-;;:::i;:::-;;;5717:25:35;;;5705:2;5690:18;1929:204:20;5571:177:35;1831:101:13;;;:::i;1503:450:32:-;;;;;;:::i;:::-;;:::i;1182:853:34:-;;;;;;:::i;:::-;;:::i;1201:85:13:-;1273:6;;-1:-1:-1;;;;;1273:6:13;1201:85;;445:110:8;;;:::i;1139:253:9:-;;;;;;:::i;:::-;;:::i;215:38:33:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1105:392:32;;;;;;:::i;:::-;;:::i;723:154:33:-;;;;;;:::i;:::-;;:::i;4169:153:20:-;;;;;;:::i;:::-;;:::i;3268:580:10:-;;;;;;:::i;:::-;;:::i;5249:314:20:-;;;;;;:::i;:::-;;:::i;613:104:33:-;;;;;;:::i;:::-;672:4;696:14;;;:6;:14;;;;;;;;695:15;;613:104;2801:276:20;;;;;;:::i;:::-;;:::i;1053:362:2:-;;;;;;:::i;:::-;;:::i;2081:198:13:-;;;;;;:::i;:::-;;:::i;2656:107:34:-;;;;;;:::i;:::-;;:::i;2041:512::-;;;;;;:::i;:::-;;:::i;2769:171::-;2873:4;2896:37;2920:12;2896:23;:37::i;:::-;2889:44;2769:171;-1:-1:-1;;2769:171:34:o;333:106:8:-;387:13;419;412:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;333:106;:::o;3935:167:20:-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:20;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:20;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:20;:2;-1:-1:-1;;;;;3605:11:20;;3597:57;;;;-1:-1:-1;;;3597:57:20;;10964:2:35;3597:57:20;;;10946:21:35;11003:2;10983:18;;;10976:30;11042:34;11022:18;;;11015:62;-1:-1:-1;;;11093:18:35;;;11086:31;11134:19;;3597:57:20;;;;;;;;;719:10:26;-1:-1:-1;;;;;3686:21:20;;;;:62;;-1:-1:-1;3711:37:20;3728:5;719:10:26;1053:362:2;:::i;3711:37:20:-;3665:170;;;;-1:-1:-1;;;3665:170:20;;11366:2:35;3665:170:20;;;11348:21:35;11405:2;11385:18;;;11378:30;11444:34;11424:18;;;11417:62;11515:31;11495:18;;;11488:59;11564:19;;3665:170:20;11164:425:35;3665:170:20;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;3958:290:10:-;4061:17;;-1:-1:-1;;;;;4061:17:10;;4089:153;;4137:22;;-1:-1:-1;;;4137:22:10;;;;4132:100;;-1:-1:-1;2266:42:10;4132:100;3958:290;:::o;4612:326:20:-;4801:41;719:10:26;4834:7:20;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:20;;;;;;;:::i;:::-;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;1671:432:24:-;1768:7;1825:27;;;:17;:27;;;;;;;;1796:56;;;;;;;;;-1:-1:-1;;;;;1796:56:24;;;;;-1:-1:-1;;;1796:56:24;;;-1:-1:-1;;;;;1796:56:24;;;;;;;;1768:7;;1863:90;;-1:-1:-1;1913:29:24;;;;;;;;;1923:19;1913:29;-1:-1:-1;;;;;1913:29:24;;;;-1:-1:-1;;;1913:29:24;;-1:-1:-1;;;;;1913:29:24;;;;;1863:90;2001:23;;;;1963:21;;2461:5;;1988:36;;-1:-1:-1;;;;;1988:36:24;:10;:36;:::i;:::-;1987:58;;;;:::i;:::-;2064:16;;;-1:-1:-1;1963:82:24;;-1:-1:-1;;1671:432:24;;;;;;:::o;5004:179:20:-;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;411:196:33:-;594:6;;519:4;;-1:-1:-1;;;;;594:6:33;542:48;580:9;542:29;:4;7455:58:28;;21521:66:35;7455:58:28;;;21509:79:35;21604:12;;;21597:28;;;7325:7:28;;21641:12:35;;7455:58:28;;;;;;;;;;;;7445:69;;;;;;7438:76;;7256:265;;;;542:29:33;:37;;:48::i;:::-;-1:-1:-1;;;;;542:58:33;;;411:196;-1:-1:-1;;;411:196:33:o;2946:98:34:-;1094:13:13;:11;:13::i;:::-;3019:7:34::1;:18;3029:8:::0;3019:7;:18:::1;:::i;:::-;;2946:98:::0;:::o;628:471:32:-;1094:13:13;:11;:13::i;:::-;-1:-1:-1;;;;;724:26:32;::::1;720:60;;759:21;;-1:-1:-1::0;;;759:21:32::1;;;;;;;;;;;720:60;858:39;::::0;-1:-1:-1;;;858:39:32;;882:4:::1;858:39;::::0;::::1;3373:51:35::0;3440:18;;;3433:34;;;817:12:32;;791:14:::1;::::0;-1:-1:-1;;;;;858:15:32;::::1;::::0;::::1;::::0;3346:18:35;;858:39:32::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;840:57;;911:7;922:1;911:12:::0;907:43:::1;;932:18;;-1:-1:-1::0;;;932:18:32::1;;;;;;;;;;;907:43;961:5;-1:-1:-1::0;;;;;961:22:32::1;;992:4;999:7;1273:6:13::0;;-1:-1:-1;;;;;1273:6:13;;1201:85;999:7:32::1;961:68;::::0;-1:-1:-1;;;;;;961:68:32::1;::::0;;;;;;-1:-1:-1;;;;;15411:15:35;;;961:68:32::1;::::0;::::1;15393:34:35::0;15463:15;;15443:18;;;15436:43;15495:18;;;15488:34;;;15538:18;;;15531:34;;;15373:3;15581:19;;;15574:32;-1:-1:-1;15622:19:35;;;15615:30;15662:19;;961:68:32::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1075:7;1061:12;-1:-1:-1::0;;;;;1044:48:32::1;;1084:7;1044:48;;;;5717:25:35::0;;5705:2;5690:18;;5571:177;1044:48:32::1;;;;;;;;710:389;;628:471:::0;;:::o;2190:219:20:-;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:20;;2324:56;;;;-1:-1:-1;;;2324:56:20;;15894:2:35;2324:56:20;;;15876:21:35;15933:2;15913:18;;;15906:30;-1:-1:-1;;;15952:18:35;;;15945:54;16016:18;;2324:56:20;15692:348:35;441:21:34;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2559:91::-;1094:13:13;:11;:13::i;:::-;2624:19:34::1;2635:7;2624:10;:19::i;:::-;2559:91:::0;:::o;1929:204:20:-;2001:7;-1:-1:-1;;;;;2028:19:20;;2020:73;;;;-1:-1:-1;;;2020:73:20;;16247:2:35;2020:73:20;;;16229:21:35;16286:2;16266:18;;;16259:30;16325:34;16305:18;;;16298:62;-1:-1:-1;;;16376:18:35;;;16369:39;16425:19;;2020:73:20;16045:405:35;2020:73:20;-1:-1:-1;;;;;;2110:16:20;;;;;:9;:16;;;;;;;1929:204::o;1831:101:13:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;1503:450:32:-;1094:13:13;:11;:13::i;:::-;-1:-1:-1;;;;;1598:26:32;::::1;1594:60;;1633:21;;-1:-1:-1::0;;;1633:21:32::1;;;;;;;;;;;1594:60;1735:22;::::0;-1:-1:-1;;;1735:22:32;;::::1;::::0;::::1;5717:25:35::0;;;1689:12:32;;1665:13:::1;::::0;-1:-1:-1;;;;;1735:13:32;::::1;::::0;::::1;::::0;5690:18:35;;1735:22:32::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1712:45:::0;-1:-1:-1;;;;;;1771:29:32;::::1;1795:4;1771:29;1767:60;;1809:18;;-1:-1:-1::0;;;1809:18:32::1;;;;;;;;;;;1767:60;1838:5;-1:-1:-1::0;;;;;1838:22:32::1;;1869:4;1876:7;1273:6:13::0;;-1:-1:-1;;;;;1273:6:13;;1201:85;1876:7:32::1;1838:55;::::0;-1:-1:-1;;;;;;1838:55:32::1;::::0;;;;;;-1:-1:-1;;;;;16969:15:35;;;1838:55:32::1;::::0;::::1;16951:34:35::0;17021:15;;17001:18;;;16994:43;17053:18;;;17046:34;;;16886:18;;1838:55:32::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1908:38:32::1;::::0;1938:7;;-1:-1:-1;;;;;;1908:38:32;::::1;::::0;-1:-1:-1;1908:38:32::1;::::0;;;::::1;1584:369;;1503:450:::0;;:::o;1182:853:34:-;1274:13;;;;1269:43;;1296:16;;-1:-1:-1;;;1296:16:34;;;;;;;;;;;1269:43;1345:1;1326:7;;;;:4;:7;:::i;:::-;-1:-1:-1;;;;;1326:21:34;;1322:52;;1356:18;;-1:-1:-1;;;1356:18:34;;;;;;;;;;;1322:52;1409:1;1388:9;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1388:23:34;;:52;;;-1:-1:-1;719:10:26;1415:9:34;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1415:25:34;;;1388:52;1384:80;;;1449:15;;-1:-1:-1;;;1449:15:34;;;;;;;;;;;1384:80;1492:10;;;;672:4:33;696:14;;;:6;:14;;;;;;;;695:15;1474:56:34;;1512:18;;-1:-1:-1;;;1512:18:34;;;;;;;;;;;1474:56;1545:67;1557:27;;;;;;;;:::i;:::-;1586:25;;;;;;;;:::i;1545:67::-;1540:97;;1621:16;;-1:-1:-1;;;1621:16:34;;;;;;;;;;;1540:97;1648:28;1665:4;:10;;;944:14:33;;;;:6;:14;;;;;:21;;-1:-1:-1;;944:21:33;961:4;944:21;;;883:89;1648:28:34;1687:15;1705:121;1724:7;;;;:4;:7;:::i;:::-;1733:9;;;;;;;;:::i;:::-;1744:13;;;;:4;:13;:::i;:::-;1759:27;;;;;;;;:::i;:::-;1788:25;;;;;;;;:::i;:::-;1815:4;:10;;;1705:18;:121::i;:::-;1687:139;;1841:38;1859:7;1868:10;;1841:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1841:17:34;;-1:-1:-1;;;1841:38:34:i;:::-;1836:70;;1888:18;;-1:-1:-1;;;1888:18:34;;;;;;;;;;;1836:70;1922:9;1917:112;1941:13;;;;:4;:13;:::i;:::-;:20;;1937:1;:24;1917:112;;;1982:36;1992:7;;;;:4;:7;:::i;:::-;2001:13;;;;:4;:13;:::i;:::-;2015:1;2001:16;;;;;;;:::i;:::-;;;;;;;1982:9;:36::i;:::-;1963:3;;;;:::i;:::-;;;;1917:112;;;;1259:776;1182:853;;;:::o;445:110:8:-;501:13;533:15;526:22;;;;;:::i;1139:253:9:-;1230:31;:29;:31::i;:::-;1271:33;:47;;;;;-1:-1:-1;;;1271:47:9;-1:-1:-1;;;;1271:47:9;;;;;;1333:52;;;;;;1307:11;773:14:35;766:22;748:41;;736:2;721:18;;608:187;1333:52:9;;;;;;;;1139:253;:::o;1105:392:32:-;1094:13:13;:11;:13::i;:::-;-1:-1:-1;;;;;1182:26:32;::::1;1178:60;;1217:21;;-1:-1:-1::0;;;1217:21:32::1;;;;;;;;;;;1178:60;1312:30;::::0;-1:-1:-1;;;1312:30:32;;1336:4:::1;1312:30;::::0;::::1;160:51:35::0;1271:12:32;;1249::::1;::::0;-1:-1:-1;;;;;1312:15:32;::::1;::::0;::::1;::::0;133:18:35;;1312:30:32::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1294:48;;1356:7;1367:1;1356:12:::0;1352:43:::1;;1377:18;;-1:-1:-1::0;;;1377:18:32::1;;;;;;;;;;;1352:43;1406:5;-1:-1:-1::0;;;;;1406:14:32::1;;1421:7;1273:6:13::0;;-1:-1:-1;;;;;1273:6:13;;1201:85;1421:7:32::1;1406:32;::::0;-1:-1:-1;;;;;;1406:32:32::1;::::0;;;;;;-1:-1:-1;;;;;3391:32:35;;;1406::32::1;::::0;::::1;3373:51:35::0;3440:18;;;3433:34;;;3346:18;;1406:32:32::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1468:12;-1:-1:-1::0;;;;;1453:37:32::1;;1482:7;1453:37;;;;5717:25:35::0;;5705:2;5690:18;;5571:177;1453:37:32::1;;;;;;;;1168:329;;1105:392:::0;:::o;723:154:33:-;795:4;828:15;818:6;-1:-1:-1;;;;;818:25:33;;;:52;;;;;855:15;847:4;-1:-1:-1;;;;;847:23:33;;;818:52;811:59;723:154;-1:-1:-1;;;723:154:33:o;4169:153:20:-;4263:52;719:10:26;4296:8:20;4306;4263:18;:52::i;3268:580:10:-;3343:31;:29;:31::i;:::-;-1:-1:-1;;;;;3417:30:10;;;;:34;;;3465:32;;;;:61;;;3502:24;3501:25;3465:61;3462:150;;;3549:52;;-1:-1:-1;;;3549:52:10;;;;;;;;;;;3462:150;3627:77;3660:22;:20;:22::i;:::-;3627:77;;;-1:-1:-1;;;;;18584:15:35;;;18566:34;;18636:15;;;18631:2;18616:18;;18609:43;18501:18;3627:77:10;;;;;;;3715:22;:29;;-1:-1:-1;;;;3715:29:10;-1:-1:-1;;;3715:29:10;;;3754:17;:38;;-1:-1:-1;;;;;3754:38:10;;-1:-1:-1;;;;;;3754:38:10;;;;;;3803;3774:18;3803;:38::i;5249:314:20:-;5417:41;719:10:26;5450:7:20;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:20;;;;;;;:::i;:::-;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;:::-;5249:314;;;;:::o;2801:276::-;2874:13;2899:23;2914:7;2899:14;:23::i;:::-;2933:21;2957:10;:8;:10::i;:::-;2933:34;;3008:1;2990:7;2984:21;:25;:86;;;;;;;;;;;;;;;;;3036:7;3045:18;:7;:16;:18::i;:::-;3019:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2977:93;2801:276;-1:-1:-1;;;2801:276:20:o;1053:362:2:-;-1:-1:-1;;;;;4508:25:20;;;1150:15:2;4508:25:20;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;1240:169:2;;1275:33;;-1:-1:-1;;;1275:33:2;;;;1271:128;;;1361:22;:20;:22::i;:::-;-1:-1:-1;;;;;1341:43:2;:8;-1:-1:-1;;;;;1341:43:2;;1328:56;;1053:362;;;;:::o;2081:198:13:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:13;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:13;;19366:2:35;2161:73:13::1;::::0;::::1;19348:21:35::0;19405:2;19385:18;;;19378:30;19444:34;19424:18;;;19417:62;-1:-1:-1;;;19495:18:35;;;19488:36;19541:19;;2161:73:13::1;19164:402:35::0;2161:73:13::1;2244:28;2263:8;2244:18;:28::i;2656:107:34:-:0;1094:13:13;:11;:13::i;:::-;2728::34::1;:28:::0;;-1:-1:-1;;2728:28:34::1;::::0;::::1;;::::0;;;::::1;::::0;;2656:107::o;2041:512::-;2282:7;2365:3;2386:5;2409:9;;2436:23;2477:21;2516:6;2331:205;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2308:238;;;;;;2301:245;;2041:512;;;;;;;;;:::o;1408:213:24:-;1510:4;-1:-1:-1;;;;;;1533:41:24;;-1:-1:-1;;;1533:41:24;;:81;;;1578:36;1602:11;1578:23;:36::i;13466:133:20:-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:20;13539:53;;;;-1:-1:-1;;;13539:53:20;;15894:2:35;13539:53:20;;;15876:21:35;15933:2;15913:18;;;15906:30;-1:-1:-1;;;15952:18:35;;;15945:54;16016:18;;13539:53:20;15692:348:35;12768:171:20;12842:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12842:29:20;-1:-1:-1;;;;;12842:29:20;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:20;;;;;;;;;;;12768:171;;:::o;7540:261::-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:20;:7;-1:-1:-1;;;;;7706:16:20;;:52;;;;7726:32;7743:5;7750:7;7726:16;:32::i;:::-;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:20;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:20;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:20:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:20;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:20;;11542:81;;;;-1:-1:-1;;;11542:81:20;;;;;;;:::i;:::-;-1:-1:-1;;;;;11641:16:20;;11633:65;;;;-1:-1:-1;;;11633:65:20;;21076:2:35;11633:65:20;;;21058:21:35;21115:2;21095:18;;;21088:30;21154:34;21134:18;;;21127:62;-1:-1:-1;;;21205:18:35;;;21198:34;21249:19;;11633:65:20;20874:400:35;11633:65:20;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;-1:-1:-1;;;;;11851:31:20;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:20;;11843:81;;;;-1:-1:-1;;;11843:81:20;;;;;;;:::i;:::-;11993:24;;;;:15;:24;;;;;;;;11986:31;;-1:-1:-1;;;;;;11986:31:20;;;;;;-1:-1:-1;;;;;12461:15:20;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:20;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;12608:41;12628:4;12634:2;12638:7;12647:1;12608:19;:41::i;3661:227:28:-;3739:7;3759:17;3778:18;3800:27;3811:4;3817:9;3800:10;:27::i;:::-;3758:69;;;;3837:18;3849:5;3837:11;:18::i;:::-;-1:-1:-1;3872:9:28;3661:227;-1:-1:-1;;;3661:227:28:o;1359:130:13:-;1273:6;;-1:-1:-1;;;;;1273:6:13;719:10:26;1422:23:13;1414:68;;;;-1:-1:-1;;;1414:68:13;;21866:2:35;1414:68:13;;;21848:21:35;;;21885:18;;;21878:30;21944:34;21924:18;;;21917:62;21996:18;;1414:68:13;21664:356:35;260:145:33;-1:-1:-1;;;;;324:21:33;;316:56;;;;-1:-1:-1;;;316:56:33;;22227:2:35;316:56:33;;;22209:21:35;22266:2;22246:18;;;22239:30;-1:-1:-1;;;22285:18:35;;;22278:52;22347:18;;316:56:33;22025:346:35;316:56:33;382:6;:16;;-1:-1:-1;;;;;;382:16:33;-1:-1:-1;;;;;382:16:33;;;;;;;;;;260:145::o;2433:187:13:-;2525:6;;;-1:-1:-1;;;;;2541:17:13;;;-1:-1:-1;;;;;;2541:17:13;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;8131:108:20:-;8206:26;8216:2;8220:7;8206:26;;;;;;;;;;;;:9;:26::i;215:102:0:-;297:13;:11;:13::i;13075:307:20:-;13225:8;-1:-1:-1;;;;;13216:17:20;:5;-1:-1:-1;;;;;13216:17:20;;13208:55;;;;-1:-1:-1;;;13208:55:20;;22578:2:35;13208:55:20;;;22560:21:35;22617:2;22597:18;;;22590:30;22656:27;22636:18;;;22629:55;22701:18;;13208:55:20;22376:349:35;13208:55:20;-1:-1:-1;;;;;13273:25:20;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13273:46:20;;;;;;;;;;13334:41;;748::35;;;13334::20;;721:18:35;13334:41:20;;;;;;;13075:307;;;:::o;7405:448:10:-;-1:-1:-1;;;;;7475:23:10;;;7471:376;;7601:22;;7653:21;;7650:187;;7698:95;;;-1:-1:-1;;;7698:95:10;;7773:4;7698:95;;;22902:51:35;701:3:12;22969:18:35;;;22962:47;7698:95:10;;-1:-1:-1;;;;;7698:66:10;;;;;22875:18:35;;;;;-1:-1:-1;;7698:95:10;;;;;;;-1:-1:-1;7698:66:10;:95;;;;;;;;;;;;;;;;;;;;;;;;;7694:129;;;7500:347;7405:448;:::o;6424:305:20:-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:20;;;;;;;:::i;3050:98:34:-;3102:13;3134:7;3127:14;;;;;:::i;415:696:27:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:27;-1:-1:-1;572:41:27;-1:-1:-1;733:28:27;;;749:2;733:28;788:280;-1:-1:-1;;819:5:27;-1:-1:-1;;;953:2:27;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:27;788:280;1032:21;-1:-1:-1;1088:6:27;415:696;-1:-1:-1;;;415:696:27:o;1701:284:2:-;1786:4;-1:-1:-1;;;;;;1818:46:2;;-1:-1:-1;;;1818:46:2;;:111;;-1:-1:-1;;;;;;;1877:52:2;;-1:-1:-1;;;1877:52:2;1818:111;:160;;;;1942:36;1966:11;1942:23;:36::i;2519:343::-;2690:9;2685:171;2709:9;2705:1;:13;2685:171;;;2735:51;2759:4;2765:2;2769:16;2784:1;2769:12;:16;:::i;:::-;2735:23;:51::i;:::-;2828:3;;2685:171;;2972:341;3142:9;3137:170;3161:9;3157:1;:13;3137:170;;;3187:50;3210:4;3216:2;3220:16;3235:1;3220:12;:16;:::i;:::-;3187:22;:50::i;:::-;3279:3;;3137:170;;2145:730:28;2226:7;2235:12;2263:9;:16;2283:2;2263:22;2259:610;;2599:4;2584:20;;2578:27;2648:4;2633:20;;2627:27;2705:4;2690:20;;2684:27;2301:9;2676:36;2746:25;2757:4;2676:36;2578:27;2627;2746:10;:25::i;:::-;2739:32;;;;;;;;;2259:610;-1:-1:-1;2818:1:28;;-1:-1:-1;2822:35:28;2802:56;;570:511;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:441;;570:511;:::o;634:441::-;743:29;734:5;:38;;;;;;;;:::i;:::-;;730:345;;788:34;;-1:-1:-1;;;788:34:28;;23903:2:35;788:34:28;;;23885:21:35;23942:2;23922:18;;;23915:30;23981:26;23961:18;;;23954:54;24025:18;;788:34:28;23701:348:35;730:345:28;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;-1:-1:-1;;;903:41:28;;24256:2:35;903:41:28;;;24238:21:35;24295:2;24275:18;;;24268:30;24334:33;24314:18;;;24307:61;24385:18;;903:41:28;24054:355:35;839:236:28;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;-1:-1:-1;;;1020:44:28;;24616:2:35;1020:44:28;;;24598:21:35;24655:2;24635:18;;;24628:30;24694:34;24674:18;;;24667:62;-1:-1:-1;;;24745:18:35;;;24738:32;24787:19;;1020:44:28;24414:398:35;8460:309:20;8584:18;8590:2;8594:7;8584:5;:18::i;:::-;8633:53;8664:1;8668:2;8672:7;8681:4;8633:22;:53::i;:::-;8612:150;;;;-1:-1:-1;;;8612:150:20;;;;;;;:::i;14151:831::-;14300:4;-1:-1:-1;;;;;14320:13:20;;1465:19:25;:23;14316:660:20;;14355:71;;-1:-1:-1;;;14355:71:20;;-1:-1:-1;;;;;14355:36:20;;;;;:71;;719:10:26;;14406:4:20;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:20;;;;;;;;-1:-1:-1;;14355:71:20;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:20;;;;;;;:::i;14589:321::-;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;-1:-1:-1;;;;;;14476:51:20;-1:-1:-1;;;14476:51:20;;-1:-1:-1;14469:58:20;;14316:660;-1:-1:-1;14961:4:20;14151:831;;;;;;:::o;9889:890:31:-;9942:7;;-1:-1:-1;;;10017:15:31;;10013:99;;-1:-1:-1;;;10052:15:31;;;-1:-1:-1;10095:2:31;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:31;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:31;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:31;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:31;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:31;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:31:o;1570:300:20:-;1672:4;-1:-1:-1;;;;;;1707:40:20;;-1:-1:-1;;;1707:40:20;;:104;;-1:-1:-1;;;;;;;1763:48:20;;-1:-1:-1;;;1763:48:20;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:29;;;1827:36:20;829:155:29;1014:610:11;-1:-1:-1;;;;;1140:18:11;;;;;1189:16;;;1140:18;1219:32;;;;;1238:13;1219:32;1216:402;;;1274:28;;-1:-1:-1;;;1274:28:11;;;;;;;;;;;1216:402;1322:15;1319:299;;;1353:54;1319:299;;;1427:13;1456:56;1424:194;1543:64;719:10:26;1578:4:11;1584:2;1588:7;1597:9;1543:20;:64::i;1754:612::-;-1:-1:-1;;;;;1879:18:11;;;;;1928:16;;;1879:18;1958:32;;;;;1977:13;1958:32;1955:405;;;2013:28;;-1:-1:-1;;;2013:28:11;;;;;;;;;;;1955:405;2061:15;2092:55;2058:302;2167:13;2196:57;2164:196;2284:65;2559:91:34:o;5069:1494:28:-;5195:7;;6119:66;6106:79;;6102:161;;;-1:-1:-1;6217:1:28;;-1:-1:-1;6221:30:28;6201:51;;6102:161;6374:24;;;6357:14;6374:24;;;;;;;;;25792:25:35;;;25865:4;25853:17;;25833:18;;;25826:45;;;;25887:18;;;25880:34;;;25930:18;;;25923:34;;;6374:24:28;;25764:19:35;;6374:24:28;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6374:24:28;;-1:-1:-1;;6374:24:28;;;-1:-1:-1;;;;;;;6412:20:28;;6408:101;;6464:1;6468:29;6448:50;;;;;;;6408:101;6527:6;-1:-1:-1;6535:20:28;;-1:-1:-1;5069:1494:28;;;;;;;;:::o;9091:920:20:-;-1:-1:-1;;;;;9170:16:20;;9162:61;;;;-1:-1:-1;;;9162:61:20;;26170:2:35;9162:61:20;;;26152:21:35;;;26189:18;;;26182:30;26248:34;26228:18;;;26221:62;26300:18;;9162:61:20;25968:356:35;9162:61:20;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:20;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:20;;26531:2:35;9233:58:20;;;26513:21:35;26570:2;26550:18;;;26543:30;26609;26589:18;;;26582:58;26657:18;;9233:58:20;26329:352:35;9233:58:20;9302:48;9331:1;9335:2;9339:7;9348:1;9302:20;:48::i;:::-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:20;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:20;;26531:2:35;9437:58:20;;;26513:21:35;26570:2;26550:18;;;26543:30;26609;26589:18;;;26582:58;26657:18;;9437:58:20;26329:352:35;9437:58:20;-1:-1:-1;;;;;9837:13:20;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9876:21:20;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;9957:47;9985:1;9989:2;9993:7;10002:1;9957:19;:47::i;5190:457:10:-;5379:17;5399:22;:20;:22::i;:::-;5379:42;-1:-1:-1;;;;;;5436:23:10;;;5432:209;;-1:-1:-1;;;;;5479:23:10;;:10;:23;5475:68;;5522:7;;;5475:68;5557:73;;-1:-1:-1;;;5557:73:10;;-1:-1:-1;;;;;26973:15:35;;;5557:73:10;;;26955:34:35;27025:15;;;27005:18;;;26998:43;27077:15;;;27057:18;;;27050:43;27109:18;;;27102:34;;;5557:46:10;;;;;26889:19:35;;5557:73:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5432:209;5369:278;5190:457;;;;;:::o;222:131:35:-;-1:-1:-1;;;;;;296:32:35;;286:43;;276:71;;343:1;340;333:12;358:245;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;524:9;511:23;543:30;567:5;543:30;:::i;800:250::-;885:1;895:113;909:6;906:1;903:13;895:113;;;985:11;;;979:18;966:11;;;959:39;931:2;924:10;895:113;;;-1:-1:-1;;1042:1:35;1024:16;;1017:27;800:250::o;1055:271::-;1097:3;1135:5;1129:12;1162:6;1157:3;1150:19;1178:76;1247:6;1240:4;1235:3;1231:14;1224:4;1217:5;1213:16;1178:76;:::i;:::-;1308:2;1287:15;-1:-1:-1;;1283:29:35;1274:39;;;;1315:4;1270:50;;1055:271;-1:-1:-1;;1055:271:35:o;1331:220::-;1480:2;1469:9;1462:21;1443:4;1500:45;1541:2;1530:9;1526:18;1518:6;1500:45;:::i;1556:180::-;1615:6;1668:2;1656:9;1647:7;1643:23;1639:32;1636:52;;;1684:1;1681;1674:12;1636:52;-1:-1:-1;1707:23:35;;1556:180;-1:-1:-1;1556:180:35:o;1741:131::-;-1:-1:-1;;;;;1816:31:35;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:35:o;2485:456::-;2562:6;2570;2578;2631:2;2619:9;2610:7;2606:23;2602:32;2599:52;;;2647:1;2644;2637:12;2599:52;2686:9;2673:23;2705:31;2730:5;2705:31;:::i;:::-;2755:5;-1:-1:-1;2812:2:35;2797:18;;2784:32;2825:33;2784:32;2825:33;:::i;:::-;2485:456;;2877:7;;-1:-1:-1;;;2931:2:35;2916:18;;;;2903:32;;2485:456::o;2946:248::-;3014:6;3022;3075:2;3063:9;3054:7;3050:23;3046:32;3043:52;;;3091:1;3088;3081:12;3043:52;-1:-1:-1;;3114:23:35;;;3184:2;3169:18;;;3156:32;;-1:-1:-1;2946:248:35:o;3478:127::-;3539:10;3534:3;3530:20;3527:1;3520:31;3570:4;3567:1;3560:15;3594:4;3591:1;3584:15;3610:631;3674:5;3704:18;3745:2;3737:6;3734:14;3731:40;;;3751:18;;:::i;:::-;3826:2;3820:9;3794:2;3880:15;;-1:-1:-1;;3876:24:35;;;3902:2;3872:33;3868:42;3856:55;;;3926:18;;;3946:22;;;3923:46;3920:72;;;3972:18;;:::i;:::-;4012:10;4008:2;4001:22;4041:6;4032:15;;4071:6;4063;4056:22;4111:3;4102:6;4097:3;4093:16;4090:25;4087:45;;;4128:1;4125;4118:12;4087:45;4178:6;4173:3;4166:4;4158:6;4154:17;4141:44;4233:1;4226:4;4217:6;4209;4205:19;4201:30;4194:41;;;;3610:631;;;;;:::o;4246:220::-;4288:5;4341:3;4334:4;4326:6;4322:17;4318:27;4308:55;;4359:1;4356;4349:12;4308:55;4381:79;4456:3;4447:6;4434:20;4427:4;4419:6;4415:17;4381:79;:::i;4471:388::-;4548:6;4556;4609:2;4597:9;4588:7;4584:23;4580:32;4577:52;;;4625:1;4622;4615:12;4577:52;4661:9;4648:23;4638:33;;4722:2;4711:9;4707:18;4694:32;4749:18;4741:6;4738:30;4735:50;;;4781:1;4778;4771:12;4735:50;4804:49;4845:7;4836:6;4825:9;4821:22;4804:49;:::i;:::-;4794:59;;;4471:388;;;;;:::o;4864:450::-;4933:6;4986:2;4974:9;4965:7;4961:23;4957:32;4954:52;;;5002:1;4999;4992:12;4954:52;5042:9;5029:23;5075:18;5067:6;5064:30;5061:50;;;5107:1;5104;5097:12;5061:50;5130:22;;5183:4;5175:13;;5171:27;-1:-1:-1;5161:55:35;;5212:1;5209;5202:12;5161:55;5235:73;5300:7;5295:2;5282:16;5277:2;5273;5269:11;5235:73;:::i;5319:247::-;5378:6;5431:2;5419:9;5410:7;5406:23;5402:32;5399:52;;;5447:1;5444;5437:12;5399:52;5486:9;5473:23;5505:31;5530:5;5505:31;:::i;5753:860::-;5863:6;5871;5879;5932:2;5920:9;5911:7;5907:23;5903:32;5900:52;;;5948:1;5945;5938:12;5900:52;5988:9;5975:23;6017:18;6058:2;6050:6;6047:14;6044:34;;;6074:1;6071;6064:12;6044:34;6097:22;;;;6153:3;6135:16;;;6131:26;6128:46;;;6170:1;6167;6160:12;6128:46;6193:2;;-1:-1:-1;6248:2:35;6233:18;;6220:32;;6264:16;;;6261:36;;;6293:1;6290;6283:12;6261:36;6331:8;6320:9;6316:24;6306:34;;6378:7;6371:4;6367:2;6363:13;6359:27;6349:55;;6400:1;6397;6390:12;6349:55;6440:2;6427:16;6466:2;6458:6;6455:14;6452:34;;;6482:1;6479;6472:12;6452:34;6527:7;6522:2;6513:6;6509:2;6505:15;6501:24;6498:37;6495:57;;;6548:1;6545;6538:12;6495:57;6579:2;6575;6571:11;6561:21;;6601:6;6591:16;;;;;5753:860;;;;;:::o;6618:118::-;6704:5;6697:13;6690:21;6683:5;6680:32;6670:60;;6726:1;6723;6716:12;6741:241;6797:6;6850:2;6838:9;6829:7;6825:23;6821:32;6818:52;;;6866:1;6863;6856:12;6818:52;6905:9;6892:23;6924:28;6946:5;6924:28;:::i;7172:188::-;7240:20;;-1:-1:-1;;;;;7289:46:35;;7279:57;;7269:85;;7350:1;7347;7340:12;7269:85;7172:188;;;:::o;7365:260::-;7433:6;7441;7494:2;7482:9;7473:7;7469:23;7465:32;7462:52;;;7510:1;7507;7500:12;7462:52;7533:29;7552:9;7533:29;:::i;:::-;7523:39;;7581:38;7615:2;7604:9;7600:18;7581:38;:::i;:::-;7571:48;;7365:260;;;;;:::o;7630:382::-;7695:6;7703;7756:2;7744:9;7735:7;7731:23;7727:32;7724:52;;;7772:1;7769;7762:12;7724:52;7811:9;7798:23;7830:31;7855:5;7830:31;:::i;:::-;7880:5;-1:-1:-1;7937:2:35;7922:18;;7909:32;7950:30;7909:32;7950:30;:::i;:::-;7999:7;7989:17;;;7630:382;;;;;:::o;8017:665::-;8112:6;8120;8128;8136;8189:3;8177:9;8168:7;8164:23;8160:33;8157:53;;;8206:1;8203;8196:12;8157:53;8245:9;8232:23;8264:31;8289:5;8264:31;:::i;:::-;8314:5;-1:-1:-1;8371:2:35;8356:18;;8343:32;8384:33;8343:32;8384:33;:::i;:::-;8436:7;-1:-1:-1;8490:2:35;8475:18;;8462:32;;-1:-1:-1;8545:2:35;8530:18;;8517:32;8572:18;8561:30;;8558:50;;;8604:1;8601;8594:12;8558:50;8627:49;8668:7;8659:6;8648:9;8644:22;8627:49;:::i;:::-;8617:59;;;8017:665;;;;;;;:::o;8687:388::-;8755:6;8763;8816:2;8804:9;8795:7;8791:23;8787:32;8784:52;;;8832:1;8829;8822:12;8784:52;8871:9;8858:23;8890:31;8915:5;8890:31;:::i;:::-;8940:5;-1:-1:-1;8997:2:35;8982:18;;8969:32;9010:33;8969:32;9010:33;:::i;9080:1110::-;9211:6;9219;9227;9235;9243;9251;9259;9312:3;9300:9;9291:7;9287:23;9283:33;9280:53;;;9329:1;9326;9319:12;9280:53;9368:9;9355:23;9387:31;9412:5;9387:31;:::i;:::-;9437:5;-1:-1:-1;9494:2:35;9479:18;;9466:32;9507:33;9466:32;9507:33;:::i;:::-;9559:7;-1:-1:-1;9617:2:35;9602:18;;9589:32;9640:18;9670:14;;;9667:34;;;9697:1;9694;9687:12;9667:34;9735:6;9724:9;9720:22;9710:32;;9780:7;9773:4;9769:2;9765:13;9761:27;9751:55;;9802:1;9799;9792:12;9751:55;9842:2;9829:16;9868:2;9860:6;9857:14;9854:34;;;9884:1;9881;9874:12;9854:34;9937:7;9932:2;9922:6;9919:1;9915:14;9911:2;9907:23;9903:32;9900:45;9897:65;;;9958:1;9955;9948:12;9897:65;9989:2;9985;9981:11;9971:21;;10011:6;10001:16;;;;;10036:38;10070:2;10059:9;10055:18;10036:38;:::i;:::-;10026:48;;10093:39;10127:3;10116:9;10112:19;10093:39;:::i;:::-;10083:49;;10179:3;10168:9;10164:19;10151:33;10141:43;;9080:1110;;;;;;;;;;:::o;10377:380::-;10456:1;10452:12;;;;10499;;;10520:61;;10574:4;10566:6;10562:17;10552:27;;10520:61;10627:2;10619:6;10616:14;10596:18;10593:38;10590:161;;10673:10;10668:3;10664:20;10661:1;10654:31;10708:4;10705:1;10698:15;10736:4;10733:1;10726:15;10590:161;;10377:380;;;:::o;11594:409::-;11796:2;11778:21;;;11835:2;11815:18;;;11808:30;11874:34;11869:2;11854:18;;11847:62;-1:-1:-1;;;11940:2:35;11925:18;;11918:43;11993:3;11978:19;;11594:409::o;12008:127::-;12069:10;12064:3;12060:20;12057:1;12050:31;12100:4;12097:1;12090:15;12124:4;12121:1;12114:15;12140:168;12213:9;;;12244;;12261:15;;;12255:22;;12241:37;12231:71;;12282:18;;:::i;12445:217::-;12485:1;12511;12501:132;;12555:10;12550:3;12546:20;12543:1;12536:31;12590:4;12587:1;12580:15;12618:4;12615:1;12608:15;12501:132;-1:-1:-1;12647:9:35;;12445:217::o;12793:545::-;12895:2;12890:3;12887:11;12884:448;;;12931:1;12956:5;12952:2;12945:17;13001:4;12997:2;12987:19;13071:2;13059:10;13055:19;13052:1;13048:27;13042:4;13038:38;13107:4;13095:10;13092:20;13089:47;;;-1:-1:-1;13130:4:35;13089:47;13185:2;13180:3;13176:12;13173:1;13169:20;13163:4;13159:31;13149:41;;13240:82;13258:2;13251:5;13248:13;13240:82;;;13303:17;;;13284:1;13273:13;13240:82;;13514:1352;13640:3;13634:10;13667:18;13659:6;13656:30;13653:56;;;13689:18;;:::i;:::-;13718:97;13808:6;13768:38;13800:4;13794:11;13768:38;:::i;:::-;13762:4;13718:97;:::i;:::-;13870:4;;13934:2;13923:14;;13951:1;13946:663;;;;14653:1;14670:6;14667:89;;;-1:-1:-1;14722:19:35;;;14716:26;14667:89;-1:-1:-1;;13471:1:35;13467:11;;;13463:24;13459:29;13449:40;13495:1;13491:11;;;13446:57;14769:81;;13916:944;;13946:663;12740:1;12733:14;;;12777:4;12764:18;;-1:-1:-1;;13982:20:35;;;14100:236;14114:7;14111:1;14108:14;14100:236;;;14203:19;;;14197:26;14182:42;;14295:27;;;;14263:1;14251:14;;;;14130:19;;14100:236;;;14104:3;14364:6;14355:7;14352:19;14349:201;;;14425:19;;;14419:26;-1:-1:-1;;14508:1:35;14504:14;;;14520:3;14500:24;14496:37;14492:42;14477:58;14462:74;;14349:201;-1:-1:-1;;;;;14596:1:35;14580:14;;;14576:22;14563:36;;-1:-1:-1;13514:1352:35:o;14871:184::-;14941:6;14994:2;14982:9;14973:7;14969:23;14965:32;14962:52;;;15010:1;15007;15000:12;14962:52;-1:-1:-1;15033:16:35;;14871:184;-1:-1:-1;14871:184:35:o;16455:251::-;16525:6;16578:2;16566:9;16557:7;16553:23;16549:32;16546:52;;;16594:1;16591;16584:12;16546:52;16626:9;16620:16;16645:31;16670:5;16645:31;:::i;17091:186::-;17150:6;17203:2;17191:9;17182:7;17178:23;17174:32;17171:52;;;17219:1;17216;17209:12;17171:52;17242:29;17261:9;17242:29;:::i;17282:545::-;17375:4;17381:6;17441:11;17428:25;17535:2;17531:7;17520:8;17504:14;17500:29;17496:43;17476:18;17472:68;17462:96;;17554:1;17551;17544:12;17462:96;17581:33;;17633:20;;;-1:-1:-1;17676:18:35;17665:30;;17662:50;;;17708:1;17705;17698:12;17662:50;17741:4;17729:17;;-1:-1:-1;17792:1:35;17788:14;;;17772;17768:35;17758:46;;17755:66;;;17817:1;17814;17807:12;17832:127;17893:10;17888:3;17884:20;17881:1;17874:31;17924:4;17921:1;17914:15;17948:4;17945:1;17938:15;17964:135;18003:3;18024:17;;;18021:43;;18044:18;;:::i;:::-;-1:-1:-1;18091:1:35;18080:13;;17964:135::o;18104:245::-;18171:6;18224:2;18212:9;18203:7;18199:23;18195:32;18192:52;;;18240:1;18237;18230:12;18192:52;18272:9;18266:16;18291:28;18313:5;18291:28;:::i;18663:496::-;18842:3;18880:6;18874:13;18896:66;18955:6;18950:3;18943:4;18935:6;18931:17;18896:66;:::i;:::-;19025:13;;18984:16;;;;19047:70;19025:13;18984:16;19094:4;19082:17;;19047:70;:::i;:::-;19133:20;;18663:496;-1:-1:-1;;;;18663:496:35:o;19571:892::-;-1:-1:-1;;19970:2:35;19966:15;;;19962:24;;19950:37;;20021:15;;;20017:24;20012:2;20003:12;;19996:46;-1:-1:-1;;;;;;20054:31:35;;20051:51;;;20098:1;20095;20088:12;20051:51;20132:6;20129:1;20125:14;20183:6;20175;20170:2;20165:3;20161:12;20148:42;-1:-1:-1;;20320:3:35;20316:16;;;20312:25;;20209:16;;;;20307:2;20299:11;;20292:46;;;;20371:16;;;;20367:25;20362:2;20354:11;;20347:46;20417:2;20409:11;;20402:27;20453:3;20445:12;;;-1:-1:-1;;;;;19571:892:35:o;20468:401::-;20670:2;20652:21;;;20709:2;20689:18;;;20682:30;20748:34;20743:2;20728:18;;20721:62;-1:-1:-1;;;20814:2:35;20799:18;;20792:35;20859:3;20844:19;;20468:401::o;23020:414::-;23222:2;23204:21;;;23261:2;23241:18;;;23234:30;23300:34;23295:2;23280:18;;23273:62;-1:-1:-1;;;23366:2:35;23351:18;;23344:48;23424:3;23409:19;;23020:414::o;23439:125::-;23504:9;;;23525:10;;;23522:36;;;23538:18;;:::i;23569:127::-;23630:10;23625:3;23621:20;23618:1;23611:31;23661:4;23658:1;23651:15;23685:4;23682:1;23675:15;24817:489;-1:-1:-1;;;;;25086:15:35;;;25068:34;;25138:15;;25133:2;25118:18;;25111:43;25185:2;25170:18;;25163:34;;;25233:3;25228:2;25213:18;;25206:31;;;25011:4;;25254:46;;25280:19;;25272:6;25254:46;:::i;:::-;25246:54;24817:489;-1:-1:-1;;;;;;24817:489:35:o;25311:249::-;25380:6;25433:2;25421:9;25412:7;25408:23;25404:32;25401:52;;;25449:1;25446;25439:12;25401:52;25481:9;25475:16;25500:30;25524:5;25500:30;:::i

Swarm Source

ipfs://6f995f37c386cb60a032c1d74536025c3623c2880613c1f25aaa851599fb8139
[ 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.