ETH Price: $3,603.60 (+8.45%)

Token

An Ape Called Beast (AACB)
 

Overview

Max Total Supply

834 AACB

Holders

381

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 AACB
0x1d95a0b56e5bed6be9dbb8ed771b669d166fad75
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AnApeCalledBeast

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-07
*/

// File @openzeppelin/contracts/utils/[email protected]

// 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 @openzeppelin/contracts/access/[email protected]
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/utils/introspection/[email protected]

// 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 @openzeppelin/contracts/interfaces/[email protected]

// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/utils/introspection/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/token/common/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @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 @openzeppelin/contracts/security/[email protected]

// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]

// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}


// File contracts/IERC721A.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}


// File contracts/ERC721A.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}


// File contracts/extensions/IERC721AQueryable.sol
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}


// File contracts/extensions/ERC721AQueryable.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}


// AN APE CALLED BEAST

pragma solidity ^0.8.13;

error AllowlistRequired();
error ExceedsMaxPerTransaction();
error ExceedsMaxPerWallet();
error IncorrectPaymentAmount();
error InvalidMintSize();
error MintDisabled();
error NoPresaleForYou();
error NonExistentToken();
error PresaleDisabled();
error NotEnoughEth();
error SupplyLimitReached();
error WithdrawFailed();

contract AnApeCalledBeast is ERC721AQueryable, ReentrancyGuard, ERC2981, Ownable {

    string private _baseTokenURI;
    bytes32 public presaleRoot;
    bool public canMint = false;
    bool public canPresale = false;
    uint public cost = 0.0042 ether;
    uint public freePerWallet = 1;
    uint public maxPerTransaction = 7;
    uint public maxPerWallet = 7;
    uint public totalAvailable = 7777;

    constructor() ERC721A("An Ape Called Beast", "AACB") {}

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "not original sender");
        _;
    }

    function mint(uint qty)
      external
      payable
      callerIsUser
      nonReentrant {
        uint price = getPrice(qty);

        if (!canMint) revert MintDisabled();
        if (qty > maxPerTransaction + 1) revert ExceedsMaxPerTransaction();
        if (_numberMinted(msg.sender) + qty > maxPerWallet + 1) revert ExceedsMaxPerWallet();
        if (_totalMinted() + qty > totalAvailable + 1) revert SupplyLimitReached();

        _mint(msg.sender, qty);
        _refundOverPayment(price);
    }

    function presale(
      bytes32[] calldata proof,
      uint qty)
        external
        payable
        callerIsUser
        nonReentrant
    {
        if (!canPresale) revert PresaleDisabled();
        if (_totalMinted() + qty > totalAvailable + 1) revert SupplyLimitReached();
        if (_numberMinted(msg.sender) + qty > maxPerWallet + 1) revert ExceedsMaxPerWallet();

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        if (!MerkleProof.verify(proof, presaleRoot, leaf)) revert NoPresaleForYou();

        uint price = getPrice(qty);

        _mint(msg.sender, qty);
        _refundOverPayment(price);
    }

    function getPrice(uint qty) public view returns (uint) {
      uint numMinted = _numberMinted(msg.sender);
      uint free = numMinted < freePerWallet ? freePerWallet - numMinted : 0;
      if (qty >= free) {
        return (cost) * (qty - free);
      }
      return 0;
    }

    function _refundOverPayment(uint256 amount) internal {
        if (msg.value < amount) revert NotEnoughEth();
        if (msg.value > amount) {
            payable(msg.sender).transfer(msg.value - amount);
        }
    }

    function devMint(uint256 quantity, address to) external onlyOwner {
        require(
            totalSupply() + quantity <= totalAvailable,
            "dev you should know better"
        );
        _mint(to, quantity);
    }

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

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

    function deleteDefaultRoyalty() external onlyOwner {
        _deleteDefaultRoyalty();
    }

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

    function setMaxPerTx(uint256 maxPerTransaction_) external onlyOwner {
        maxPerTransaction = maxPerTransaction_;
    }

    function setMaxPerWallet(uint256 maxPerWallet_) external onlyOwner {
        maxPerWallet = maxPerWallet_;
    }

    function setMaxSupply(uint256 maxSupply_) public onlyOwner {
        totalAvailable = maxSupply_;
    }

    function setPresaleRoot(bytes32 presaleRoot_) external onlyOwner{
        presaleRoot = presaleRoot_;
    }

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

    function toggleCanPresale() external onlyOwner {
        canPresale = !canPresale;
    }

    function toggleCanMint() external onlyOwner {
        canMint = !canMint;
    }

    function setBaseURI(string calldata baseURI_) external onlyOwner {
        _baseTokenURI = baseURI_;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        if (!success) revert WithdrawFailed();
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981, IERC721A) returns (bool) {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }

}


// File contracts/extensions/IERC4907A.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC4907A.
 */
interface IERC4907A is IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error SetUserCallerNotOwnerNorApproved();

    /**
     * @dev Emitted when the `user` of an NFT or the `expires` of the `user` is changed.
     * The zero address for user indicates that there is no user address.
     */
    event UpdateUser(uint256 indexed tokenId, address indexed user, uint64 expires);

    /**
     * @dev Sets the `user` and `expires` for `tokenId`.
     * The zero address indicates there is no user.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function setUser(
        uint256 tokenId,
        address user,
        uint64 expires
    ) external;

    /**
     * @dev Returns the user address for `tokenId`.
     * The zero address indicates that there is no user or if the user is expired.
     */
    function userOf(uint256 tokenId) external view returns (address);

    /**
     * @dev Returns the user's expires of `tokenId`.
     */
    function userExpires(uint256 tokenId) external view returns (uint256);
}


// File contracts/extensions/ERC4907A.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @title ERC4907A
 *
 * @dev [ERC4907](https://eips.ethereum.org/EIPS/eip-4907) compliant
 * extension of ERC721A, which allows owners and authorized addresses
 * to add a time-limited role with restricted permissions to ERC721 tokens.
 */
abstract contract ERC4907A is ERC721A, IERC4907A {
    // The bit position of `expires` in packed user info.
    uint256 private constant _BITPOS_EXPIRES = 160;

    // Mapping from token ID to user info.
    //
    // Bits Layout:
    // - [0..159]   `user`
    // - [160..223] `expires`
    mapping(uint256 => uint256) private _packedUserInfo;

    /**
     * @dev Sets the `user` and `expires` for `tokenId`.
     * The zero address indicates there is no user.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function setUser(
        uint256 tokenId,
        address user,
        uint64 expires
    ) public virtual override {
        // Require the caller to be either the token owner or an approved operator.
        address owner = ownerOf(tokenId);
        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A()))
                if (getApproved(tokenId) != _msgSenderERC721A()) revert SetUserCallerNotOwnerNorApproved();

        _packedUserInfo[tokenId] = (uint256(expires) << _BITPOS_EXPIRES) | uint256(uint160(user));

        emit UpdateUser(tokenId, user, expires);
    }

    /**
     * @dev Returns the user address for `tokenId`.
     * The zero address indicates that there is no user or if the user is expired.
     */
    function userOf(uint256 tokenId) public view virtual override returns (address) {
        uint256 packed = _packedUserInfo[tokenId];
        assembly {
            // Branchless `packed *= (block.timestamp <= expires ? 1 : 0)`.
            // If the `block.timestamp == expires`, the `lt` clause will be true
            // if there is a non-zero user address in the lower 160 bits of `packed`.
            packed := mul(
                packed,
                // `block.timestamp <= expires ? 1 : 0`.
                lt(shl(_BITPOS_EXPIRES, timestamp()), packed)
            )
        }
        return address(uint160(packed));
    }

    /**
     * @dev Returns the user's expires of `tokenId`.
     */
    function userExpires(uint256 tokenId) public view virtual override returns (uint256) {
        return _packedUserInfo[tokenId] >> _BITPOS_EXPIRES;
    }

    /**
     * @dev Override of {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, IERC721A) returns (bool) {
        // The interface ID for ERC4907 is `0xad092b5c`,
        // as defined in [ERC4907](https://eips.ethereum.org/EIPS/eip-4907).
        return super.supportsInterface(interfaceId) || interfaceId == 0xad092b5c;
    }

    /**
     * @dev Returns the user address for `tokenId`, ignoring the expiry status.
     */
    function _explicitUserOf(uint256 tokenId) internal view virtual returns (address) {
        return address(uint160(_packedUserInfo[tokenId]));
    }
}


// File contracts/extensions/IERC721ABurnable.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}


// File contracts/extensions/ERC721ABurnable.sol

// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @title ERC721ABurnable.
 *
 * @dev ERC721A token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxPerTransaction","type":"error"},{"inputs":[],"name":"ExceedsMaxPerWallet","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintDisabled","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoPresaleForYou","type":"error"},{"inputs":[],"name":"NotEnoughEth","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PresaleDisabled","type":"error"},{"inputs":[],"name":"SupplyLimitReached","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberAdopted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerTransaction_","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerWallet_","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"presaleRoot_","type":"bytes32"}],"name":"setPresaleRoot","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":[],"name":"toggleCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleCanPresale","outputs":[],"stateMutability":"nonpayable","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":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600e805461ffff19169055660eebe0b40e8000600f55600160105560076011819055601255611e616013553480156200003c57600080fd5b50604080518082018252601381527f416e204170652043616c6c65642042656173740000000000000000000000000060208083019182528351808501909452600484526320a0a1a160e11b9084015281519192916200009e9160029162000124565b508051620000b490600390602084019062000124565b50600160005550506001600855620000cc33620000d2565b62000206565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013290620001ca565b90600052602060002090601f016020900481019282620001565760008555620001a1565b82601f106200017157805160ff1916838001178555620001a1565b82800160010185558215620001a1579182015b82811115620001a157825182559160200191906001019062000184565b50620001af929150620001b3565b5090565b5b80821115620001af5760008155600101620001b4565b600181811c90821680620001df57607f821691505b6020821081036200020057634e487b7160e01b600052602260045260246000fd5b50919050565b61265480620002166000396000f3fe6080604052600436106102725760003560e01c80636f8b44b01161014f578063aa1b103f116100c1578063c87b56dd1161007a578063c87b56dd14610742578063d85d7f5b14610762578063e268e4d314610778578063e757223014610798578063e985e9c5146107b8578063f2fde38b1461080157600080fd5b8063aa1b103f14610686578063b658b60f1461069b578063b88d4fde146106bb578063beb9716d146106db578063c23dc68f146106f5578063c6f6f2161461072257600080fd5b80638da5cb5b116101135780638da5cb5b146105e157806395d89b41146105ff57806399a2557a14610614578063a0712d6814610634578063a22cb46514610647578063a23c4a961461066757600080fd5b80636f8b44b01461054957806370a0823114610569578063715018a6146105895780638462151c1461059e57806385449697146105cb57600080fd5b80632d1a12f6116101e857806346b253e4116101ac57806346b253e41461049b5780634b980d67146104b057806355f804b3146104c65780635b74efcf146104e65780635bbb2177146104fc5780636352211e1461052957600080fd5b80632d1a12f61461041b5780633ccfd60b1461043b57806342842e0e146104505780634382352614610470578063453c23101461048557600080fd5b806313faede61161023a57806313faede61461034857806318160ddd1461036c57806323b872dd1461038957806325eb7f09146103a957806327ed3dce146103c95780632a55205a146103dc57600080fd5b806301ffc9a71461027757806304634d8d146102ac57806306fdde03146102ce578063081812fc146102f0578063095ea7b314610328575b600080fd5b34801561028357600080fd5b50610297610292366004611f4d565b610821565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102cc6102c7366004611f86565b610841565b005b3480156102da57600080fd5b506102e3610857565b6040516102a39190612021565b3480156102fc57600080fd5b5061031061030b366004612034565b6108e9565b6040516001600160a01b0390911681526020016102a3565b34801561033457600080fd5b506102cc61034336600461204d565b61092d565b34801561035457600080fd5b5061035e600f5481565b6040519081526020016102a3565b34801561037857600080fd5b50600154600054036000190161035e565b34801561039557600080fd5b506102cc6103a4366004612077565b6109cd565b3480156103b557600080fd5b5061035e6103c43660046120b3565b610b65565b6102cc6103d7366004612113565b610b70565b3480156103e857600080fd5b506103fc6103f736600461215f565b610d38565b604080516001600160a01b0390931683526020830191909152016102a3565b34801561042757600080fd5b506102cc610436366004612181565b610de6565b34801561044757600080fd5b506102cc610e61565b34801561045c57600080fd5b506102cc61046b366004612077565b610ed5565b34801561047c57600080fd5b506102cc610ef0565b34801561049157600080fd5b5061035e60125481565b3480156104a757600080fd5b506102cc610f15565b3480156104bc57600080fd5b5061035e60115481565b3480156104d257600080fd5b506102cc6104e13660046121ad565b610f31565b3480156104f257600080fd5b5061035e60105481565b34801561050857600080fd5b5061051c61051736600461221f565b610f45565b6040516102a3919061229e565b34801561053557600080fd5b50610310610544366004612034565b611011565b34801561055557600080fd5b506102cc610564366004612034565b61101c565b34801561057557600080fd5b5061035e6105843660046120b3565b611029565b34801561059557600080fd5b506102cc611078565b3480156105aa57600080fd5b506105be6105b93660046120b3565b61108c565b6040516102a391906122e0565b3480156105d757600080fd5b5061035e600d5481565b3480156105ed57600080fd5b50600b546001600160a01b0316610310565b34801561060b57600080fd5b506102e3611195565b34801561062057600080fd5b506105be61062f366004612318565b6111a4565b6102cc610642366004612034565b61132c565b34801561065357600080fd5b506102cc61066236600461234b565b61147c565b34801561067357600080fd5b50600e5461029790610100900460ff1681565b34801561069257600080fd5b506102cc611511565b3480156106a757600080fd5b506102cc6106b6366004612034565b611523565b3480156106c757600080fd5b506102cc6106d6366004612392565b611530565b3480156106e757600080fd5b50600e546102979060ff1681565b34801561070157600080fd5b50610715610710366004612034565b61157a565b6040516102a3919061246e565b34801561072e57600080fd5b506102cc61073d366004612034565b611602565b34801561074e57600080fd5b506102e361075d366004612034565b61160f565b34801561076e57600080fd5b5061035e60135481565b34801561078457600080fd5b506102cc610793366004612034565b611692565b3480156107a457600080fd5b5061035e6107b3366004612034565b61169f565b3480156107c457600080fd5b506102976107d336600461247c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561080d57600080fd5b506102cc61081c3660046120b3565b6116ff565b600061082c82611775565b8061083b575061083b826117c3565b92915050565b6108496117f8565b6108538282611852565b5050565b606060028054610866906124a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610892906124a6565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b5050505050905090565b60006108f48261194f565b610911576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061093882611011565b9050336001600160a01b038216146109715761095481336107d3565b610971576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109d882611984565b9050836001600160a01b0316816001600160a01b031614610a0b5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a5857610a3b86336107d3565b610a5857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a7f57604051633a954ecd60e21b815260040160405180910390fd5b8015610a8a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b1c57600184016000818152600460205260408120549003610b1a576000548114610b1a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600061083b826119f3565b323314610bba5760405162461bcd60e51b81526020600482015260136024820152723737ba1037b934b3b4b730b61039b2b73232b960691b60448201526064015b60405180910390fd5b610bc2611a1c565b600e54610100900460ff16610bea5760405163743ffa5f60e11b815260040160405180910390fd5b601354610bf89060016124f6565b81610c066000546000190190565b610c1091906124f6565b1115610c2f5760405163704d6bf960e11b815260040160405180910390fd5b601254610c3d9060016124f6565b81610c47336119f3565b610c5191906124f6565b1115610c705760405163c0e54d7360e01b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610cea84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611a75565b610d075760405163900b48eb60e01b815260040160405180910390fd5b6000610d128361169f565b9050610d1e3384611a8b565b610d2781611b89565b5050610d336001600855565b505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610dad5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610dcc906001600160601b03168761250e565b610dd6919061252d565b91519350909150505b9250929050565b610dee6117f8565b6013546001546000548491900360001901610e0991906124f6565b1115610e575760405162461bcd60e51b815260206004820152601a60248201527f64657620796f752073686f756c64206b6e6f77206265747465720000000000006044820152606401610bb1565b6108538183611a8b565b610e696117f8565b604051600090339047908381818185875af1925050503d8060008114610eab576040519150601f19603f3d011682016040523d82523d6000602084013e610eb0565b606091505b5050905080610ed257604051631d42c86760e21b815260040160405180910390fd5b50565b610d3383838360405180602001604052806000815250611530565b610ef86117f8565b600e805461ff001981166101009182900460ff1615909102179055565b610f1d6117f8565b600e805460ff19811660ff90911615179055565b610f396117f8565b610d33600c8383611e9e565b60608160008167ffffffffffffffff811115610f6357610f6361237c565b604051908082528060200260200182016040528015610fb557816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610f815790505b50905060005b82811461100857610fe3868683818110610fd757610fd761254f565b9050602002013561157a565b828281518110610ff557610ff561254f565b6020908102919091010152600101610fbb565b50949350505050565b600061083b82611984565b6110246117f8565b601355565b60006001600160a01b038216611052576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6110806117f8565b61108a6000611be8565b565b6060600080600061109c85611029565b905060008167ffffffffffffffff8111156110b9576110b961237c565b6040519080825280602002602001820160405280156110e2578160200160208202803683370190505b50905061110f60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146111895761112281611c3a565b915081604001516111815781516001600160a01b03161561114257815194505b876001600160a01b0316856001600160a01b03160361118157808387806001019850815181106111745761117461254f565b6020026020010181815250505b600101611112565b50909695505050505050565b606060038054610866906124a6565b60608183106111c657604051631960ccad60e11b815260040160405180910390fd5b6000806111d260005490565b905060018510156111e257600194505b808411156111ee578093505b60006111f987611029565b9050848610156112185785850381811015611212578091505b5061121c565b5060005b60008167ffffffffffffffff8111156112375761123761237c565b604051908082528060200260200182016040528015611260578160200160208202803683370190505b5090508160000361127657935061132592505050565b60006112818861157a565b905060008160400151611292575080515b885b8881141580156112a45750848714155b15611319576112b281611c3a565b925082604001516113115782516001600160a01b0316156112d257825191505b8a6001600160a01b0316826001600160a01b03160361131157808488806001019950815181106113045761130461254f565b6020026020010181815250505b600101611294565b50505092835250909150505b9392505050565b3233146113715760405162461bcd60e51b81526020600482015260136024820152723737ba1037b934b3b4b730b61039b2b73232b960691b6044820152606401610bb1565b611379611a1c565b60006113848261169f565b600e5490915060ff166113aa576040516317efbd6b60e01b815260040160405180910390fd5b6011546113b89060016124f6565b8211156113d85760405163162d230560e11b815260040160405180910390fd5b6012546113e69060016124f6565b826113f0336119f3565b6113fa91906124f6565b11156114195760405163c0e54d7360e01b815260040160405180910390fd5b6013546114279060016124f6565b826114356000546000190190565b61143f91906124f6565b111561145e5760405163704d6bf960e11b815260040160405180910390fd5b6114683383611a8b565b61147181611b89565b50610ed26001600855565b336001600160a01b038316036114a55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115196117f8565b61108a6000600955565b61152b6117f8565b600d55565b61153b8484846109cd565b6001600160a01b0383163b156115745761155784848484611c76565b611574576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806115d357506000548310155b156115de5792915050565b6115e783611c3a565b90508060400151156115f95792915050565b61132583611d61565b61160a6117f8565b601155565b606061161a8261194f565b61163757604051630a14c4b560e41b815260040160405180910390fd5b6000611641611d96565b905080516000036116615760405180602001604052806000815250611325565b8061166b84611da5565b60405160200161167c929190612565565b6040516020818303038152906040529392505050565b61169a6117f8565b601255565b6000806116ab336119f3565b9050600060105482106116bf5760006116cd565b816010546116cd9190612594565b90508084106116f5576116e08185612594565b600f546116ed919061250e565b949350505050565b5060009392505050565b6117076117f8565b6001600160a01b03811661176c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb1565b610ed281611be8565b60006301ffc9a760e01b6001600160e01b0319831614806117a657506380ac58cd60e01b6001600160e01b03198316145b8061083b5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061083b57506301ffc9a760e01b6001600160e01b031983161461083b565b600b546001600160a01b0316331461108a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb1565b6127106001600160601b03821611156118c05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610bb1565b6001600160a01b0382166119165760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610bb1565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015611963575060005482105b801561083b575050600090815260046020526040902054600160e01b161590565b600081806001116119da576000548110156119da5760008181526004602052604081205490600160e01b821690036119d8575b806000036113255750600019016000818152600460205260409020546119b7565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b600260085403611a6e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bb1565b6002600855565b600082611a828584611ddd565b14949350505050565b6000805490829003611ab05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b5f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b27565b5081600003611b8057604051622e076360e81b815260040160405180910390fd5b60005550505050565b80341015611baa5760405163f14a42b760e01b815260040160405180910390fd5b80341115610ed257336108fc611bc08334612594565b6040518115909202916000818181858888f19350505050158015610853573d6000803e3d6000fd5b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461083b90611e2a565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cab9033908990889088906004016125ab565b6020604051808303816000875af1925050508015611ce6575060408051601f3d908101601f19168201909252611ce3918101906125e8565b60015b611d44573d808015611d14576040519150601f19603f3d011682016040523d82523d6000602084013e611d19565b606091505b508051600003611d3c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261083b611d9183611984565b611e2a565b6060600c8054610866906124a6565b604080516080019081905280825b600183039250600a81066030018353600a900480611db35750819003601f19909101908152919050565b600081815b8451811015611e2257611e0e82868381518110611e0157611e0161254f565b6020026020010151611e72565b915080611e1a81612605565b915050611de2565b509392505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000818310611e8e576000828152602084905260409020611325565b5060009182526020526040902090565b828054611eaa906124a6565b90600052602060002090601f016020900481019282611ecc5760008555611f12565b82601f10611ee55782800160ff19823516178555611f12565b82800160010185558215611f12579182015b82811115611f12578235825591602001919060010190611ef7565b50611f1e929150611f22565b5090565b5b80821115611f1e5760008155600101611f23565b6001600160e01b031981168114610ed257600080fd5b600060208284031215611f5f57600080fd5b813561132581611f37565b80356001600160a01b0381168114611f8157600080fd5b919050565b60008060408385031215611f9957600080fd5b611fa283611f6a565b915060208301356001600160601b0381168114611fbe57600080fd5b809150509250929050565b60005b83811015611fe4578181015183820152602001611fcc565b838111156115745750506000910152565b6000815180845261200d816020860160208601611fc9565b601f01601f19169290920160200192915050565b6020815260006113256020830184611ff5565b60006020828403121561204657600080fd5b5035919050565b6000806040838503121561206057600080fd5b61206983611f6a565b946020939093013593505050565b60008060006060848603121561208c57600080fd5b61209584611f6a565b92506120a360208501611f6a565b9150604084013590509250925092565b6000602082840312156120c557600080fd5b61132582611f6a565b60008083601f8401126120e057600080fd5b50813567ffffffffffffffff8111156120f857600080fd5b6020830191508360208260051b8501011115610ddf57600080fd5b60008060006040848603121561212857600080fd5b833567ffffffffffffffff81111561213f57600080fd5b61214b868287016120ce565b909790965060209590950135949350505050565b6000806040838503121561217257600080fd5b50508035926020909101359150565b6000806040838503121561219457600080fd5b823591506121a460208401611f6a565b90509250929050565b600080602083850312156121c057600080fd5b823567ffffffffffffffff808211156121d857600080fd5b818501915085601f8301126121ec57600080fd5b8135818111156121fb57600080fd5b86602082850101111561220d57600080fd5b60209290920196919550909350505050565b6000806020838503121561223257600080fd5b823567ffffffffffffffff81111561224957600080fd5b612255858286016120ce565b90969095509350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611189576122cd838551612261565b92840192608092909201916001016122ba565b6020808252825182820181905260009190848201906040850190845b81811015611189578351835292840192918401916001016122fc565b60008060006060848603121561232d57600080fd5b61233684611f6a565b95602085013595506040909401359392505050565b6000806040838503121561235e57600080fd5b61236783611f6a565b915060208301358015158114611fbe57600080fd5b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156123a857600080fd5b6123b185611f6a565b93506123bf60208601611f6a565b925060408501359150606085013567ffffffffffffffff808211156123e357600080fd5b818701915087601f8301126123f757600080fd5b8135818111156124095761240961237c565b604051601f8201601f19908116603f011681019083821181831017156124315761243161237c565b816040528281528a602084870101111561244a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161083b8284612261565b6000806040838503121561248f57600080fd5b61249883611f6a565b91506121a460208401611f6a565b600181811c908216806124ba57607f821691505b6020821081036124da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612509576125096124e0565b500190565b6000816000190483118215151615612528576125286124e0565b500290565b60008261254a57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60008351612577818460208801611fc9565b83519083019061258b818360208801611fc9565b01949350505050565b6000828210156125a6576125a66124e0565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125de90830184611ff5565b9695505050505050565b6000602082840312156125fa57600080fd5b815161132581611f37565b600060018201612617576126176124e0565b506001019056fea264697066735822122039f0345339f58d0d0d8dacae9c39cb49ac2c48ec6fa96a04193e406497bfea3464736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102725760003560e01c80636f8b44b01161014f578063aa1b103f116100c1578063c87b56dd1161007a578063c87b56dd14610742578063d85d7f5b14610762578063e268e4d314610778578063e757223014610798578063e985e9c5146107b8578063f2fde38b1461080157600080fd5b8063aa1b103f14610686578063b658b60f1461069b578063b88d4fde146106bb578063beb9716d146106db578063c23dc68f146106f5578063c6f6f2161461072257600080fd5b80638da5cb5b116101135780638da5cb5b146105e157806395d89b41146105ff57806399a2557a14610614578063a0712d6814610634578063a22cb46514610647578063a23c4a961461066757600080fd5b80636f8b44b01461054957806370a0823114610569578063715018a6146105895780638462151c1461059e57806385449697146105cb57600080fd5b80632d1a12f6116101e857806346b253e4116101ac57806346b253e41461049b5780634b980d67146104b057806355f804b3146104c65780635b74efcf146104e65780635bbb2177146104fc5780636352211e1461052957600080fd5b80632d1a12f61461041b5780633ccfd60b1461043b57806342842e0e146104505780634382352614610470578063453c23101461048557600080fd5b806313faede61161023a57806313faede61461034857806318160ddd1461036c57806323b872dd1461038957806325eb7f09146103a957806327ed3dce146103c95780632a55205a146103dc57600080fd5b806301ffc9a71461027757806304634d8d146102ac57806306fdde03146102ce578063081812fc146102f0578063095ea7b314610328575b600080fd5b34801561028357600080fd5b50610297610292366004611f4d565b610821565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102cc6102c7366004611f86565b610841565b005b3480156102da57600080fd5b506102e3610857565b6040516102a39190612021565b3480156102fc57600080fd5b5061031061030b366004612034565b6108e9565b6040516001600160a01b0390911681526020016102a3565b34801561033457600080fd5b506102cc61034336600461204d565b61092d565b34801561035457600080fd5b5061035e600f5481565b6040519081526020016102a3565b34801561037857600080fd5b50600154600054036000190161035e565b34801561039557600080fd5b506102cc6103a4366004612077565b6109cd565b3480156103b557600080fd5b5061035e6103c43660046120b3565b610b65565b6102cc6103d7366004612113565b610b70565b3480156103e857600080fd5b506103fc6103f736600461215f565b610d38565b604080516001600160a01b0390931683526020830191909152016102a3565b34801561042757600080fd5b506102cc610436366004612181565b610de6565b34801561044757600080fd5b506102cc610e61565b34801561045c57600080fd5b506102cc61046b366004612077565b610ed5565b34801561047c57600080fd5b506102cc610ef0565b34801561049157600080fd5b5061035e60125481565b3480156104a757600080fd5b506102cc610f15565b3480156104bc57600080fd5b5061035e60115481565b3480156104d257600080fd5b506102cc6104e13660046121ad565b610f31565b3480156104f257600080fd5b5061035e60105481565b34801561050857600080fd5b5061051c61051736600461221f565b610f45565b6040516102a3919061229e565b34801561053557600080fd5b50610310610544366004612034565b611011565b34801561055557600080fd5b506102cc610564366004612034565b61101c565b34801561057557600080fd5b5061035e6105843660046120b3565b611029565b34801561059557600080fd5b506102cc611078565b3480156105aa57600080fd5b506105be6105b93660046120b3565b61108c565b6040516102a391906122e0565b3480156105d757600080fd5b5061035e600d5481565b3480156105ed57600080fd5b50600b546001600160a01b0316610310565b34801561060b57600080fd5b506102e3611195565b34801561062057600080fd5b506105be61062f366004612318565b6111a4565b6102cc610642366004612034565b61132c565b34801561065357600080fd5b506102cc61066236600461234b565b61147c565b34801561067357600080fd5b50600e5461029790610100900460ff1681565b34801561069257600080fd5b506102cc611511565b3480156106a757600080fd5b506102cc6106b6366004612034565b611523565b3480156106c757600080fd5b506102cc6106d6366004612392565b611530565b3480156106e757600080fd5b50600e546102979060ff1681565b34801561070157600080fd5b50610715610710366004612034565b61157a565b6040516102a3919061246e565b34801561072e57600080fd5b506102cc61073d366004612034565b611602565b34801561074e57600080fd5b506102e361075d366004612034565b61160f565b34801561076e57600080fd5b5061035e60135481565b34801561078457600080fd5b506102cc610793366004612034565b611692565b3480156107a457600080fd5b5061035e6107b3366004612034565b61169f565b3480156107c457600080fd5b506102976107d336600461247c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561080d57600080fd5b506102cc61081c3660046120b3565b6116ff565b600061082c82611775565b8061083b575061083b826117c3565b92915050565b6108496117f8565b6108538282611852565b5050565b606060028054610866906124a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610892906124a6565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b5050505050905090565b60006108f48261194f565b610911576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061093882611011565b9050336001600160a01b038216146109715761095481336107d3565b610971576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109d882611984565b9050836001600160a01b0316816001600160a01b031614610a0b5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a5857610a3b86336107d3565b610a5857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a7f57604051633a954ecd60e21b815260040160405180910390fd5b8015610a8a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b1c57600184016000818152600460205260408120549003610b1a576000548114610b1a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600061083b826119f3565b323314610bba5760405162461bcd60e51b81526020600482015260136024820152723737ba1037b934b3b4b730b61039b2b73232b960691b60448201526064015b60405180910390fd5b610bc2611a1c565b600e54610100900460ff16610bea5760405163743ffa5f60e11b815260040160405180910390fd5b601354610bf89060016124f6565b81610c066000546000190190565b610c1091906124f6565b1115610c2f5760405163704d6bf960e11b815260040160405180910390fd5b601254610c3d9060016124f6565b81610c47336119f3565b610c5191906124f6565b1115610c705760405163c0e54d7360e01b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610cea84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611a75565b610d075760405163900b48eb60e01b815260040160405180910390fd5b6000610d128361169f565b9050610d1e3384611a8b565b610d2781611b89565b5050610d336001600855565b505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610dad5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610dcc906001600160601b03168761250e565b610dd6919061252d565b91519350909150505b9250929050565b610dee6117f8565b6013546001546000548491900360001901610e0991906124f6565b1115610e575760405162461bcd60e51b815260206004820152601a60248201527f64657620796f752073686f756c64206b6e6f77206265747465720000000000006044820152606401610bb1565b6108538183611a8b565b610e696117f8565b604051600090339047908381818185875af1925050503d8060008114610eab576040519150601f19603f3d011682016040523d82523d6000602084013e610eb0565b606091505b5050905080610ed257604051631d42c86760e21b815260040160405180910390fd5b50565b610d3383838360405180602001604052806000815250611530565b610ef86117f8565b600e805461ff001981166101009182900460ff1615909102179055565b610f1d6117f8565b600e805460ff19811660ff90911615179055565b610f396117f8565b610d33600c8383611e9e565b60608160008167ffffffffffffffff811115610f6357610f6361237c565b604051908082528060200260200182016040528015610fb557816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610f815790505b50905060005b82811461100857610fe3868683818110610fd757610fd761254f565b9050602002013561157a565b828281518110610ff557610ff561254f565b6020908102919091010152600101610fbb565b50949350505050565b600061083b82611984565b6110246117f8565b601355565b60006001600160a01b038216611052576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6110806117f8565b61108a6000611be8565b565b6060600080600061109c85611029565b905060008167ffffffffffffffff8111156110b9576110b961237c565b6040519080825280602002602001820160405280156110e2578160200160208202803683370190505b50905061110f60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146111895761112281611c3a565b915081604001516111815781516001600160a01b03161561114257815194505b876001600160a01b0316856001600160a01b03160361118157808387806001019850815181106111745761117461254f565b6020026020010181815250505b600101611112565b50909695505050505050565b606060038054610866906124a6565b60608183106111c657604051631960ccad60e11b815260040160405180910390fd5b6000806111d260005490565b905060018510156111e257600194505b808411156111ee578093505b60006111f987611029565b9050848610156112185785850381811015611212578091505b5061121c565b5060005b60008167ffffffffffffffff8111156112375761123761237c565b604051908082528060200260200182016040528015611260578160200160208202803683370190505b5090508160000361127657935061132592505050565b60006112818861157a565b905060008160400151611292575080515b885b8881141580156112a45750848714155b15611319576112b281611c3a565b925082604001516113115782516001600160a01b0316156112d257825191505b8a6001600160a01b0316826001600160a01b03160361131157808488806001019950815181106113045761130461254f565b6020026020010181815250505b600101611294565b50505092835250909150505b9392505050565b3233146113715760405162461bcd60e51b81526020600482015260136024820152723737ba1037b934b3b4b730b61039b2b73232b960691b6044820152606401610bb1565b611379611a1c565b60006113848261169f565b600e5490915060ff166113aa576040516317efbd6b60e01b815260040160405180910390fd5b6011546113b89060016124f6565b8211156113d85760405163162d230560e11b815260040160405180910390fd5b6012546113e69060016124f6565b826113f0336119f3565b6113fa91906124f6565b11156114195760405163c0e54d7360e01b815260040160405180910390fd5b6013546114279060016124f6565b826114356000546000190190565b61143f91906124f6565b111561145e5760405163704d6bf960e11b815260040160405180910390fd5b6114683383611a8b565b61147181611b89565b50610ed26001600855565b336001600160a01b038316036114a55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115196117f8565b61108a6000600955565b61152b6117f8565b600d55565b61153b8484846109cd565b6001600160a01b0383163b156115745761155784848484611c76565b611574576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806115d357506000548310155b156115de5792915050565b6115e783611c3a565b90508060400151156115f95792915050565b61132583611d61565b61160a6117f8565b601155565b606061161a8261194f565b61163757604051630a14c4b560e41b815260040160405180910390fd5b6000611641611d96565b905080516000036116615760405180602001604052806000815250611325565b8061166b84611da5565b60405160200161167c929190612565565b6040516020818303038152906040529392505050565b61169a6117f8565b601255565b6000806116ab336119f3565b9050600060105482106116bf5760006116cd565b816010546116cd9190612594565b90508084106116f5576116e08185612594565b600f546116ed919061250e565b949350505050565b5060009392505050565b6117076117f8565b6001600160a01b03811661176c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb1565b610ed281611be8565b60006301ffc9a760e01b6001600160e01b0319831614806117a657506380ac58cd60e01b6001600160e01b03198316145b8061083b5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061083b57506301ffc9a760e01b6001600160e01b031983161461083b565b600b546001600160a01b0316331461108a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb1565b6127106001600160601b03821611156118c05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610bb1565b6001600160a01b0382166119165760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610bb1565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015611963575060005482105b801561083b575050600090815260046020526040902054600160e01b161590565b600081806001116119da576000548110156119da5760008181526004602052604081205490600160e01b821690036119d8575b806000036113255750600019016000818152600460205260409020546119b7565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b600260085403611a6e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bb1565b6002600855565b600082611a828584611ddd565b14949350505050565b6000805490829003611ab05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b5f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b27565b5081600003611b8057604051622e076360e81b815260040160405180910390fd5b60005550505050565b80341015611baa5760405163f14a42b760e01b815260040160405180910390fd5b80341115610ed257336108fc611bc08334612594565b6040518115909202916000818181858888f19350505050158015610853573d6000803e3d6000fd5b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461083b90611e2a565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cab9033908990889088906004016125ab565b6020604051808303816000875af1925050508015611ce6575060408051601f3d908101601f19168201909252611ce3918101906125e8565b60015b611d44573d808015611d14576040519150601f19603f3d011682016040523d82523d6000602084013e611d19565b606091505b508051600003611d3c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261083b611d9183611984565b611e2a565b6060600c8054610866906124a6565b604080516080019081905280825b600183039250600a81066030018353600a900480611db35750819003601f19909101908152919050565b600081815b8451811015611e2257611e0e82868381518110611e0157611e0161254f565b6020026020010151611e72565b915080611e1a81612605565b915050611de2565b509392505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000818310611e8e576000828152602084905260409020611325565b5060009182526020526040902090565b828054611eaa906124a6565b90600052602060002090601f016020900481019282611ecc5760008555611f12565b82601f10611ee55782800160ff19823516178555611f12565b82800160010185558215611f12579182015b82811115611f12578235825591602001919060010190611ef7565b50611f1e929150611f22565b5090565b5b80821115611f1e5760008155600101611f23565b6001600160e01b031981168114610ed257600080fd5b600060208284031215611f5f57600080fd5b813561132581611f37565b80356001600160a01b0381168114611f8157600080fd5b919050565b60008060408385031215611f9957600080fd5b611fa283611f6a565b915060208301356001600160601b0381168114611fbe57600080fd5b809150509250929050565b60005b83811015611fe4578181015183820152602001611fcc565b838111156115745750506000910152565b6000815180845261200d816020860160208601611fc9565b601f01601f19169290920160200192915050565b6020815260006113256020830184611ff5565b60006020828403121561204657600080fd5b5035919050565b6000806040838503121561206057600080fd5b61206983611f6a565b946020939093013593505050565b60008060006060848603121561208c57600080fd5b61209584611f6a565b92506120a360208501611f6a565b9150604084013590509250925092565b6000602082840312156120c557600080fd5b61132582611f6a565b60008083601f8401126120e057600080fd5b50813567ffffffffffffffff8111156120f857600080fd5b6020830191508360208260051b8501011115610ddf57600080fd5b60008060006040848603121561212857600080fd5b833567ffffffffffffffff81111561213f57600080fd5b61214b868287016120ce565b909790965060209590950135949350505050565b6000806040838503121561217257600080fd5b50508035926020909101359150565b6000806040838503121561219457600080fd5b823591506121a460208401611f6a565b90509250929050565b600080602083850312156121c057600080fd5b823567ffffffffffffffff808211156121d857600080fd5b818501915085601f8301126121ec57600080fd5b8135818111156121fb57600080fd5b86602082850101111561220d57600080fd5b60209290920196919550909350505050565b6000806020838503121561223257600080fd5b823567ffffffffffffffff81111561224957600080fd5b612255858286016120ce565b90969095509350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611189576122cd838551612261565b92840192608092909201916001016122ba565b6020808252825182820181905260009190848201906040850190845b81811015611189578351835292840192918401916001016122fc565b60008060006060848603121561232d57600080fd5b61233684611f6a565b95602085013595506040909401359392505050565b6000806040838503121561235e57600080fd5b61236783611f6a565b915060208301358015158114611fbe57600080fd5b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156123a857600080fd5b6123b185611f6a565b93506123bf60208601611f6a565b925060408501359150606085013567ffffffffffffffff808211156123e357600080fd5b818701915087601f8301126123f757600080fd5b8135818111156124095761240961237c565b604051601f8201601f19908116603f011681019083821181831017156124315761243161237c565b816040528281528a602084870101111561244a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161083b8284612261565b6000806040838503121561248f57600080fd5b61249883611f6a565b91506121a460208401611f6a565b600181811c908216806124ba57607f821691505b6020821081036124da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612509576125096124e0565b500190565b6000816000190483118215151615612528576125286124e0565b500290565b60008261254a57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60008351612577818460208801611fc9565b83519083019061258b818360208801611fc9565b01949350505050565b6000828210156125a6576125a66124e0565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125de90830184611ff5565b9695505050505050565b6000602082840312156125fa57600080fd5b815161132581611f37565b600060018201612617576126176124e0565b506001019056fea264697066735822122039f0345339f58d0d0d8dacae9c39cb49ac2c48ec6fa96a04193e406497bfea3464736f6c634300080d0033

Deployed Bytecode Sourcemap

83585:4586:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87719:447;;;;;;;;;;-1:-1:-1;87719:447:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;87719:447:0;;;;;;;;86263:146;;;;;;;;;;-1:-1:-1;86263:146:0;;;;;:::i;:::-;;:::i;:::-;;42483:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;48966:218::-;;;;;;;;;;-1:-1:-1;48966:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2241:32:1;;;2223:51;;2211:2;2196:18;48966:218:0;2077:203:1;48407:400:0;;;;;;;;;;-1:-1:-1;48407:400:0;;;;;:::i;:::-;;:::i;83814:31::-;;;;;;;;;;;;;;;;;;;2690:25:1;;;2678:2;2663:18;83814:31:0;2544:177:1;38234:323:0;;;;;;;;;;-1:-1:-1;86610:1:0;38508:12;38295:7;38492:13;:28;-1:-1:-1;;38492:46:0;38234:323;;52679:2817;;;;;;;;;;-1:-1:-1;52679:2817:0;;;;;:::i;:::-;;:::i;87112:114::-;;;;;;;;;;-1:-1:-1;87112:114:0;;;;;:::i;:::-;;:::i;84710:657::-;;;;;;:::i;:::-;;:::i;8150:442::-;;;;;;;;;;-1:-1:-1;8150:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4577:32:1;;;4559:51;;4641:2;4626:18;;4619:34;;;;4532:18;8150:442:0;4385:274:1;85900:233:0;;;;;;;;;;-1:-1:-1;85900:233:0;;;;;:::i;:::-;;:::i;87537:174::-;;;;;;;;;;;;;:::i;55592:185::-;;;;;;;;;;-1:-1:-1;55592:185:0;;;;;:::i;:::-;;:::i;87234:90::-;;;;;;;;;;;;;:::i;83928:28::-;;;;;;;;;;;;;;;;87332:81;;;;;;;;;;;;;:::i;83888:33::-;;;;;;;;;;;;;;;;87421:108;;;;;;;;;;-1:-1:-1;87421:108:0;;;;;:::i;:::-;;:::i;83852:29::-;;;;;;;;;;;;;;;;78413:528;;;;;;;;;;-1:-1:-1;78413:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43876:152::-;;;;;;;;;;-1:-1:-1;43876:152:0;;;;;:::i;:::-;;:::i;86882:105::-;;;;;;;;;;-1:-1:-1;86882:105:0;;;;;:::i;:::-;;:::i;39418:233::-;;;;;;;;;;-1:-1:-1;39418:233:0;;;;;:::i;:::-;;:::i;2815:103::-;;;;;;;;;;;;;:::i;82289:900::-;;;;;;;;;;-1:-1:-1;82289:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;83710:26::-;;;;;;;;;;;;;;;;2167:87;;;;;;;;;;-1:-1:-1;2240:6:0;;-1:-1:-1;;;;;2240:6:0;2167:87;;42659:104;;;;;;;;;;;;;:::i;79329:2513::-;;;;;;;;;;-1:-1:-1;79329:2513:0;;;;;:::i;:::-;;:::i;84186:516::-;;;;;;:::i;:::-;;:::i;49524:308::-;;;;;;;;;;-1:-1:-1;49524:308:0;;;;;:::i;:::-;;:::i;83777:30::-;;;;;;;;;;-1:-1:-1;83777:30:0;;;;;;;;;;;86417:93;;;;;;;;;;;;;:::i;86995:109::-;;;;;;;;;;-1:-1:-1;86995:109:0;;;;;:::i;:::-;;:::i;56375:399::-;;;;;;;;;;-1:-1:-1;56375:399:0;;;;;:::i;:::-;;:::i;83743:27::-;;;;;;;;;;-1:-1:-1;83743:27:0;;;;;;;;77826:428;;;;;;;;;;-1:-1:-1;77826:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86627:125::-;;;;;;;;;;-1:-1:-1;86627:125:0;;;;;:::i;:::-;;:::i;42869:318::-;;;;;;;;;;-1:-1:-1;42869:318:0;;;;;:::i;:::-;;:::i;83963:33::-;;;;;;;;;;;;;;;;86760:114;;;;;;;;;;-1:-1:-1;86760:114:0;;;;;:::i;:::-;;:::i;85375:283::-;;;;;;;;;;-1:-1:-1;85375:283:0;;;;;:::i;:::-;;:::i;49989:164::-;;;;;;;;;;-1:-1:-1;49989:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50110:25:0;;;50086:4;50110:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;49989:164;3073:201;;;;;;;;;;-1:-1:-1;3073:201:0;;;;;:::i;:::-;;:::i;87719:447::-;87832:4;88065:38;88091:11;88065:25;:38::i;:::-;:93;;;;88120:38;88146:11;88120:25;:38::i;:::-;88045:113;87719:447;-1:-1:-1;;87719:447:0:o;86263:146::-;2053:13;:11;:13::i;:::-;86359:42:::1;86378:8;86388:12;86359:18;:42::i;:::-;86263:146:::0;;:::o;42483:100::-;42537:13;42570:5;42563:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42483:100;:::o;48966:218::-;49042:7;49067:16;49075:7;49067;:16::i;:::-;49062:64;;49092:34;;-1:-1:-1;;;49092:34:0;;;;;;;;;;;49062:64;-1:-1:-1;49146:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;49146:30:0;;48966:218::o;48407:400::-;48488:13;48504:16;48512:7;48504;:16::i;:::-;48488:32;-1:-1:-1;72536:10:0;-1:-1:-1;;;;;48537:28:0;;;48533:175;;48585:44;48602:5;72536:10;49989:164;:::i;48585:44::-;48580:128;;48657:35;;-1:-1:-1;;;48657:35:0;;;;;;;;;;;48580:128;48720:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;48720:35:0;-1:-1:-1;;;;;48720:35:0;;;;;;;;;48771:28;;48720:24;;48771:28;;;;;;;48477:330;48407:400;;:::o;52679:2817::-;52813:27;52843;52862:7;52843:18;:27::i;:::-;52813:57;;52928:4;-1:-1:-1;;;;;52887:45:0;52903:19;-1:-1:-1;;;;;52887:45:0;;52883:86;;52941:28;;-1:-1:-1;;;52941:28:0;;;;;;;;;;;52883:86;52983:27;51787:24;;;:15;:24;;;;;52015:26;;72536:10;51412:30;;;-1:-1:-1;;;;;51105:28:0;;51390:20;;;51387:56;53169:180;;53262:43;53279:4;72536:10;49989:164;:::i;53262:43::-;53257:92;;53314:35;;-1:-1:-1;;;53314:35:0;;;;;;;;;;;53257:92;-1:-1:-1;;;;;53366:16:0;;53362:52;;53391:23;;-1:-1:-1;;;53391:23:0;;;;;;;;;;;53362:52;53563:15;53560:160;;;53703:1;53682:19;53675:30;53560:160;-1:-1:-1;;;;;54100:24:0;;;;;;;:18;:24;;;;;;54098:26;;-1:-1:-1;;54098:26:0;;;54169:22;;;;;;;;;54167:24;;-1:-1:-1;54167:24:0;;;47265:11;47240:23;47236:41;47223:63;-1:-1:-1;;;47223:63:0;54462:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;54757:47:0;;:52;;54753:627;;54862:1;54852:11;;54830:19;54985:30;;;:17;:30;;;;;;:35;;54981:384;;55123:13;;55108:11;:28;55104:242;;55270:30;;;;:17;:30;;;;;:52;;;55104:242;54811:569;54753:627;55427:7;55423:2;-1:-1:-1;;;;;55408:27:0;55417:4;-1:-1:-1;;;;;55408:27:0;;;;;;;;;;;52802:2694;;;52679:2817;;;:::o;87112:114::-;87171:7;87198:20;87212:5;87198:13;:20::i;84710:657::-;84111:9;84124:10;84111:23;84103:55;;;;-1:-1:-1;;;84103:55:0;;11124:2:1;84103:55:0;;;11106:21:1;11163:2;11143:18;;;11136:30;-1:-1:-1;;;11182:18:1;;;11175:49;11241:18;;84103:55:0;;;;;;;;;12998:21:::1;:19;:21::i;:::-;84878:10:::2;::::0;::::2;::::0;::::2;;;84873:41;;84897:17;;-1:-1:-1::0;;;84897:17:0::2;;;;;;;;;;;84873:41;84952:14;::::0;:18:::2;::::0;84969:1:::2;84952:18;:::i;:::-;84946:3;84929:14;38710:7:::0;38901:13;-1:-1:-1;;38901:31:0;;38655:296;84929:14:::2;:20;;;;:::i;:::-;:41;84925:74;;;84979:20;;-1:-1:-1::0;;;84979:20:0::2;;;;;;;;;;;84925:74;85048:12;::::0;:16:::2;::::0;85063:1:::2;85048:16;:::i;:::-;85042:3;85014:25;85028:10;85014:13;:25::i;:::-;:31;;;;:::i;:::-;:50;85010:84;;;85073:21;;-1:-1:-1::0;;;85073:21:0::2;;;;;;;;;;;85010:84;85132:28;::::0;-1:-1:-1;;85149:10:0::2;11684:2:1::0;11680:15;11676:53;85132:28:0::2;::::0;::::2;11664:66:1::0;85107:12:0::2;::::0;11746::1;;85132:28:0::2;;;;;;;;;;;;85122:39;;;;;;85107:54;;85179:44;85198:5;;85179:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;85205:11:0::2;::::0;;-1:-1:-1;85218:4:0;;-1:-1:-1;85179:18:0::2;:44::i;:::-;85174:75;;85232:17;;-1:-1:-1::0;;;85232:17:0::2;;;;;;;;;;;85174:75;85262:10;85275:13;85284:3;85275:8;:13::i;:::-;85262:26;;85301:22;85307:10;85319:3;85301:5;:22::i;:::-;85334:25;85353:5;85334:18;:25::i;:::-;84862:505;;13042:20:::1;12436:1:::0;13562:7;:22;13379:213;13042:20:::1;84710:657:::0;;;:::o;8150:442::-;8247:7;8305:27;;;:17;:27;;;;;;;;8276:56;;;;;;;;;-1:-1:-1;;;;;8276:56:0;;;;;-1:-1:-1;;;8276:56:0;;;-1:-1:-1;;;;;8276:56:0;;;;;;;;8247:7;;8345:92;;-1:-1:-1;8396:29:0;;;;;;;;;8406:19;8396:29;-1:-1:-1;;;;;8396:29:0;;;;-1:-1:-1;;;8396:29:0;;-1:-1:-1;;;;;8396:29:0;;;;;8345:92;8487:23;;;;8449:21;;8958:5;;8474:36;;-1:-1:-1;;;;;8474:36:0;:10;:36;:::i;:::-;8473:58;;;;:::i;:::-;8552:16;;;-1:-1:-1;8449:82:0;;-1:-1:-1;;8150:442:0;;;;;;:::o;85900:233::-;2053:13;:11;:13::i;:::-;86027:14:::1;::::0;86610:1;38508:12;38295:7;38492:13;86015:8;;38492:28;;-1:-1:-1;;38492:46:0;85999:24:::1;;;;:::i;:::-;:42;;85977:118;;;::::0;-1:-1:-1;;;85977:118:0;;12366:2:1;85977:118:0::1;::::0;::::1;12348:21:1::0;12405:2;12385:18;;;12378:30;12444:28;12424:18;;;12417:56;12490:18;;85977:118:0::1;12164:350:1::0;85977:118:0::1;86106:19;86112:2;86116:8;86106:5;:19::i;87537:174::-:0;2053:13;:11;:13::i;:::-;87606:49:::1;::::0;87588:12:::1;::::0;87606:10:::1;::::0;87629:21:::1;::::0;87588:12;87606:49;87588:12;87606:49;87629:21;87606:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87587:68;;;87671:7;87666:37;;87687:16;;-1:-1:-1::0;;;87687:16:0::1;;;;;;;;;;;87666:37;87576:135;87537:174::o:0;55592:185::-;55730:39;55747:4;55753:2;55757:7;55730:39;;;;;;;;;;;;:16;:39::i;87234:90::-;2053:13;:11;:13::i;:::-;87306:10:::1;::::0;;-1:-1:-1;;87292:24:0;::::1;87306:10;::::0;;;::::1;;;87305:11;87292:24:::0;;::::1;;::::0;;87234:90::o;87332:81::-;2053:13;:11;:13::i;:::-;87398:7:::1;::::0;;-1:-1:-1;;87387:18:0;::::1;87398:7;::::0;;::::1;87397:8;87387:18;::::0;;87332:81::o;87421:108::-;2053:13;:11;:13::i;:::-;87497:24:::1;:13;87513:8:::0;;87497:24:::1;:::i;78413:528::-:0;78557:23;78648:8;78623:22;78648:8;78715:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78715:36:0;;-1:-1:-1;;78715:36:0;;;;;;;;;;;;78678:73;;78771:9;78766:125;78787:14;78782:1;:19;78766:125;;78843:32;78863:8;;78872:1;78863:11;;;;;;;:::i;:::-;;;;;;;78843:19;:32::i;:::-;78827:10;78838:1;78827:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;78803:3;;78766:125;;;-1:-1:-1;78912:10:0;78413:528;-1:-1:-1;;;;78413:528:0:o;43876:152::-;43948:7;43991:27;44010:7;43991:18;:27::i;86882:105::-;2053:13;:11;:13::i;:::-;86952:14:::1;:27:::0;86882:105::o;39418:233::-;39490:7;-1:-1:-1;;;;;39514:19:0;;39510:60;;39542:28;;-1:-1:-1;;;39542:28:0;;;;;;;;;;;39510:60;-1:-1:-1;;;;;;39588:25:0;;;;;:18;:25;;;;;;33577:13;39588:55;;39418:233::o;2815:103::-;2053:13;:11;:13::i;:::-;2880:30:::1;2907:1;2880:18;:30::i;:::-;2815:103::o:0;82289:900::-;82367:16;82421:19;82455:25;82495:22;82520:16;82530:5;82520:9;:16::i;:::-;82495:41;;82551:25;82593:14;82579:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82579:29:0;;82551:57;;82623:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82623:31:0;86610:1;82669:472;82718:14;82703:11;:29;82669:472;;82770:15;82783:1;82770:12;:15::i;:::-;82758:27;;82808:9;:16;;;82849:8;82804:73;82899:14;;-1:-1:-1;;;;;82899:28:0;;82895:111;;82972:14;;;-1:-1:-1;82895:111:0;83049:5;-1:-1:-1;;;;;83028:26:0;:17;-1:-1:-1;;;;;83028:26:0;;83024:102;;83105:1;83079:8;83088:13;;;;;;83079:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;83024:102;82734:3;;82669:472;;;-1:-1:-1;83162:8:0;;82289:900;-1:-1:-1;;;;;;82289:900:0:o;42659:104::-;42715:13;42748:7;42741:14;;;;;:::i;79329:2513::-;79472:16;79539:4;79530:5;:13;79526:45;;79552:19;;-1:-1:-1;;;79552:19:0;;;;;;;;;;;79526:45;79586:19;79620:17;79640:14;37976:7;38003:13;;37921:103;79640:14;79620:34;-1:-1:-1;86610:1:0;79732:5;:23;79728:87;;;86610:1;79776:23;;79728:87;79891:9;79884:4;:16;79880:73;;;79928:9;79921:16;;79880:73;79967:25;79995:16;80005:5;79995:9;:16::i;:::-;79967:44;;80189:4;80181:5;:12;80177:278;;;80236:12;;;80271:31;;;80267:111;;;80347:11;80327:31;;80267:111;80195:198;80177:278;;;-1:-1:-1;80438:1:0;80177:278;80469:25;80511:17;80497:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80497:32:0;;80469:60;;80548:17;80569:1;80548:22;80544:78;;80598:8;-1:-1:-1;80591:15:0;;-1:-1:-1;;;80591:15:0;80544:78;80766:31;80800:26;80820:5;80800:19;:26::i;:::-;80766:60;;80841:25;81086:9;:16;;;81081:92;;-1:-1:-1;81143:14:0;;81081:92;81204:5;81187:478;81216:4;81211:1;:9;;:45;;;;;81239:17;81224:11;:32;;81211:45;81187:478;;;81294:15;81307:1;81294:12;:15::i;:::-;81282:27;;81332:9;:16;;;81373:8;81328:73;81423:14;;-1:-1:-1;;;;;81423:28:0;;81419:111;;81496:14;;;-1:-1:-1;81419:111:0;81573:5;-1:-1:-1;;;;;81552:26:0;:17;-1:-1:-1;;;;;81552:26:0;;81548:102;;81629:1;81603:8;81612:13;;;;;;81603:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;81548:102;81258:3;;81187:478;;;-1:-1:-1;;;81750:29:0;;;-1:-1:-1;81757:8:0;;-1:-1:-1;;79329:2513:0;;;;;;:::o;84186:516::-;84111:9;84124:10;84111:23;84103:55;;;;-1:-1:-1;;;84103:55:0;;11124:2:1;84103:55:0;;;11106:21:1;11163:2;11143:18;;;11136:30;-1:-1:-1;;;11182:18:1;;;11175:49;11241:18;;84103:55:0;10922:343:1;84103:55:0;12998:21:::1;:19;:21::i;:::-;84292:10:::2;84305:13;84314:3;84305:8;:13::i;:::-;84336:7;::::0;84292:26;;-1:-1:-1;84336:7:0::2;;84331:35;;84352:14;;-1:-1:-1::0;;;84352:14:0::2;;;;;;;;;;;84331:35;84387:17;::::0;:21:::2;::::0;84407:1:::2;84387:21;:::i;:::-;84381:3;:27;84377:66;;;84417:26;;-1:-1:-1::0;;;84417:26:0::2;;;;;;;;;;;84377:66;84492:12;::::0;:16:::2;::::0;84507:1:::2;84492:16;:::i;:::-;84486:3;84458:25;84472:10;84458:13;:25::i;:::-;:31;;;;:::i;:::-;:50;84454:84;;;84517:21;;-1:-1:-1::0;;;84517:21:0::2;;;;;;;;;;;84454:84;84576:14;::::0;:18:::2;::::0;84593:1:::2;84576:18;:::i;:::-;84570:3;84553:14;38710:7:::0;38901:13;-1:-1:-1;;38901:31:0;;38655:296;84553:14:::2;:20;;;;:::i;:::-;:41;84549:74;;;84603:20;;-1:-1:-1::0;;;84603:20:0::2;;;;;;;;;;;84549:74;84636:22;84642:10;84654:3;84636:5;:22::i;:::-;84669:25;84688:5;84669:18;:25::i;:::-;84281:421;13042:20:::1;12436:1:::0;13562:7;:22;13379:213;49524:308;72536:10;-1:-1:-1;;;;;49623:31:0;;;49619:61;;49663:17;;-1:-1:-1;;;49663:17:0;;;;;;;;;;;49619:61;72536:10;49693:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;49693:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;49693:60:0;;;;;;;;;;49769:55;;540:41:1;;;49693:49:0;;72536:10;49769:55;;513:18:1;49769:55:0;;;;;;;49524:308;;:::o;86417:93::-;2053:13;:11;:13::i;:::-;86479:23:::1;9718:19:::0;;9711:26;9650:95;86995:109;2053:13;:11;:13::i;:::-;87070:11:::1;:26:::0;86995:109::o;56375:399::-;56542:31;56555:4;56561:2;56565:7;56542:12;:31::i;:::-;-1:-1:-1;;;;;56588:14:0;;;:19;56584:183;;56627:56;56658:4;56664:2;56668:7;56677:5;56627:30;:56::i;:::-;56622:145;;56711:40;;-1:-1:-1;;;56711:40:0;;;;;;;;;;;56622:145;56375:399;;;;:::o;77826:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86610:1:0;77990:7;:25;:54;;;-1:-1:-1;37976:7:0;38003:13;78019:7;:25;;77990:54;77986:103;;;78068:9;77826:428;-1:-1:-1;;77826:428:0:o;77986:103::-;78111:21;78124:7;78111:12;:21::i;:::-;78099:33;;78147:9;:16;;;78143:65;;;78187:9;77826:428;-1:-1:-1;;77826:428:0:o;78143:65::-;78225:21;78238:7;78225:12;:21::i;86627:125::-;2053:13;:11;:13::i;:::-;86706:17:::1;:38:::0;86627:125::o;42869:318::-;42942:13;42973:16;42981:7;42973;:16::i;:::-;42968:59;;42998:29;;-1:-1:-1;;;42998:29:0;;;;;;;;;;;42968:59;43040:21;43064:10;:8;:10::i;:::-;43040:34;;43098:7;43092:21;43117:1;43092:26;:87;;;;;;;;;;;;;;;;;43145:7;43154:18;43164:7;43154:9;:18::i;:::-;43128:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43085:94;42869:318;-1:-1:-1;;;42869:318:0:o;86760:114::-;2053:13;:11;:13::i;:::-;86838:12:::1;:28:::0;86760:114::o;85375:283::-;85424:4;85439:14;85456:25;85470:10;85456:13;:25::i;:::-;85439:42;;85490:9;85514:13;;85502:9;:25;:57;;85558:1;85502:57;;;85546:9;85530:13;;:25;;;;:::i;:::-;85490:69;;85579:4;85572:3;:11;85568:66;;85613:10;85619:4;85613:3;:10;:::i;:::-;85604:4;;85603:21;;;;:::i;:::-;85596:28;85375:283;-1:-1:-1;;;;85375:283:0:o;85568:66::-;-1:-1:-1;85649:1:0;;85375:283;-1:-1:-1;;;85375:283:0:o;3073:201::-;2053:13;:11;:13::i;:::-;-1:-1:-1;;;;;3162:22:0;::::1;3154:73;;;::::0;-1:-1:-1;;;3154:73:0;;13668:2:1;3154:73:0::1;::::0;::::1;13650:21:1::0;13707:2;13687:18;;;13680:30;13746:34;13726:18;;;13719:62;-1:-1:-1;;;13797:18:1;;;13790:36;13843:19;;3154:73:0::1;13466:402:1::0;3154:73:0::1;3238:28;3257:8;3238:18;:28::i;41581:639::-:0;41666:4;-1:-1:-1;;;;;;;;;41990:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;42067:25:0;;;41990:102;:179;;;-1:-1:-1;;;;;;;;42144:25:0;-1:-1:-1;;;42144:25:0;;41581:639::o;7880:215::-;7982:4;-1:-1:-1;;;;;;8006:41:0;;-1:-1:-1;;;8006:41:0;;:81;;-1:-1:-1;;;;;;;;;;6435:40:0;;;8051:36;6326:157;2332:132;2240:6;;-1:-1:-1;;;;;2240:6:0;72536:10;2396:23;2388:68;;;;-1:-1:-1;;;2388:68:0;;14075:2:1;2388:68:0;;;14057:21:1;;;14094:18;;;14087:30;14153:34;14133:18;;;14126:62;14205:18;;2388:68:0;13873:356:1;9242:332:0;8958:5;-1:-1:-1;;;;;9345:33:0;;;;9337:88;;;;-1:-1:-1;;;9337:88:0;;14436:2:1;9337:88:0;;;14418:21:1;14475:2;14455:18;;;14448:30;14514:34;14494:18;;;14487:62;-1:-1:-1;;;14565:18:1;;;14558:40;14615:19;;9337:88:0;14234:406:1;9337:88:0;-1:-1:-1;;;;;9444:22:0;;9436:60;;;;-1:-1:-1;;;9436:60:0;;14847:2:1;9436:60:0;;;14829:21:1;14886:2;14866:18;;;14859:30;14925:27;14905:18;;;14898:55;14970:18;;9436:60:0;14645:349:1;9436:60:0;9531:35;;;;;;;;;-1:-1:-1;;;;;9531:35:0;;;;;;-1:-1:-1;;;;;9531:35:0;;;;;;;;;;-1:-1:-1;;;9509:57:0;;;;:19;:57;9242:332::o;50411:282::-;50476:4;50532:7;86610:1;50513:26;;:66;;;;;50566:13;;50556:7;:23;50513:66;:153;;;;-1:-1:-1;;50617:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;50617:44:0;:49;;50411:282::o;45031:1275::-;45098:7;45133;;86610:1;45182:23;45178:1061;;45235:13;;45228:4;:20;45224:1015;;;45273:14;45290:23;;;:17;:23;;;;;;;-1:-1:-1;;;45379:24:0;;:29;;45375:845;;46044:113;46051:6;46061:1;46051:11;46044:113;;-1:-1:-1;;;46122:6:0;46104:25;;;;:17;:25;;;;;;46044:113;;45375:845;45250:989;45224:1015;46267:31;;-1:-1:-1;;;46267:31:0;;;;;;;;;;;39733:178;-1:-1:-1;;;;;39822:25:0;39794:7;39822:25;;;:18;:25;;33715:2;39822:25;;;;;:50;;33577:13;39821:82;;39733:178::o;13078:293::-;12480:1;13212:7;;:19;13204:63;;;;-1:-1:-1;;;13204:63:0;;15201:2:1;13204:63:0;;;15183:21:1;15240:2;15220:18;;;15213:30;15279:33;15259:18;;;15252:61;15330:18;;13204:63:0;14999:355:1;13204:63:0;12480:1;13345:7;:18;13078:293::o;14827:190::-;14952:4;15005;14976:25;14989:5;14996:4;14976:12;:25::i;:::-;:33;;14827:190;-1:-1:-1;;;;14827:190:0:o;60036:2720::-;60109:20;60132:13;;;60160;;;60156:44;;60182:18;;-1:-1:-1;;;60182:18:0;;;;;;;;;;;60156:44;-1:-1:-1;;;;;60688:22:0;;;;;;:18;:22;;;;33715:2;60688:22;;;:71;;60726:32;60714:45;;60688:71;;;61002:31;;;:17;:31;;;;;-1:-1:-1;47696:15:0;;47670:24;47666:46;47265:11;47240:23;47236:41;47233:52;47223:63;;61002:173;;61237:23;;;;61002:31;;60688:22;;62002:25;60688:22;;61855:335;62270:1;62256:12;62252:20;62210:346;62311:3;62302:7;62299:16;62210:346;;62529:7;62519:8;62516:1;62489:25;62486:1;62483;62478:59;62364:1;62351:15;62210:346;;;62214:77;62589:8;62601:1;62589:13;62585:45;;62611:19;;-1:-1:-1;;;62611:19:0;;;;;;;;;;;62585:45;62647:13;:19;-1:-1:-1;84710:657:0;;;:::o;85666:226::-;85746:6;85734:9;:18;85730:45;;;85761:14;;-1:-1:-1;;;85761:14:0;;;;;;;;;;;85730:45;85802:6;85790:9;:18;85786:99;;;85833:10;85825:48;85854:18;85866:6;85854:9;:18;:::i;:::-;85825:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3434:191;3527:6;;;-1:-1:-1;;;;;3544:17:0;;;-1:-1:-1;;;;;;3544:17:0;;;;;;;3577:40;;3527:6;;;3544:17;3527:6;;3577:40;;3508:16;;3577:40;3497:128;3434:191;:::o;44479:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44607:24:0;;;;:17;:24;;;;;;44588:44;;:18;:44::i;58858:716::-;59042:88;;-1:-1:-1;;;59042:88:0;;59021:4;;-1:-1:-1;;;;;59042:45:0;;;;;:88;;72536:10;;59109:4;;59115:7;;59124:5;;59042:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59042:88:0;;;;;;;;-1:-1:-1;;59042:88:0;;;;;;;;;;;;:::i;:::-;;;59038:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59325:6;:13;59342:1;59325:18;59321:235;;59371:40;;-1:-1:-1;;;59371:40:0;;;;;;;;;;;59321:235;59514:6;59508:13;59499:6;59495:2;59491:15;59484:38;59038:529;-1:-1:-1;;;;;;59201:64:0;-1:-1:-1;;;59201:64:0;;-1:-1:-1;58858:716:0;;;;;;:::o;44217:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44328:47:0;44347:27;44366:7;44347:18;:27::i;:::-;44328:18;:47::i;86141:114::-;86201:13;86234;86227:20;;;;;:::i;72656:1582::-;73140:4;73134:11;;73147:4;73130:22;73226:17;;;;73130:22;73584:5;73566:428;73632:1;73627:3;73623:11;73616:18;;73803:2;73797:4;73793:13;73789:2;73785:22;73780:3;73772:36;73897:2;73887:13;;73954:25;73566:428;73954:25;-1:-1:-1;74024:13:0;;;-1:-1:-1;;74139:14:0;;;74201:19;;;74139:14;72656:1582;-1:-1:-1;72656:1582:0:o;15694:296::-;15777:7;15820:4;15777:7;15835:118;15859:5;:12;15855:1;:16;15835:118;;;15908:33;15918:12;15932:5;15938:1;15932:8;;;;;;;;:::i;:::-;;;;;;;15908:9;:33::i;:::-;15893:48;-1:-1:-1;15873:3:0;;;;:::i;:::-;;;;15835:118;;;-1:-1:-1;15970:12:0;15694:296;-1:-1:-1;;;15694:296:0:o;46405:366::-;-1:-1:-1;;;;;;;;;;;;;46515:41:0;;;;34236:3;46601:33;;;46567:68;;-1:-1:-1;;;46567:68:0;-1:-1:-1;;;46665:24:0;;:29;;-1:-1:-1;;;46646:48:0;;;;34757:3;46734:28;;;;-1:-1:-1;;;46705:58:0;-1:-1:-1;46405:366:0:o;22734:149::-;22797:7;22828:1;22824;:5;:51;;22959:13;23053:15;;;23089:4;23082:15;;;23136:4;23120:21;;22824:51;;;-1:-1:-1;22959:13:0;23053:15;;;23089:4;23082:15;23136:4;23120:21;;;22734:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:258::-;1213:1;1223:113;1237:6;1234:1;1231:13;1223:113;;;1313:11;;;1307:18;1294:11;;;1287:39;1259:2;1252:10;1223:113;;;1354:6;1351:1;1348:13;1345:48;;;-1:-1:-1;;1389:1:1;1371:16;;1364:27;1141:258::o;1404:::-;1446:3;1484:5;1478:12;1511:6;1506:3;1499:19;1527:63;1583:6;1576:4;1571:3;1567:14;1560:4;1553:5;1549:16;1527:63;:::i;:::-;1644:2;1623:15;-1:-1:-1;;1619:29:1;1610:39;;;;1651:4;1606:50;;1404:258;-1:-1:-1;;1404:258:1:o;1667:220::-;1816:2;1805:9;1798:21;1779:4;1836:45;1877:2;1866:9;1862:18;1854:6;1836:45;:::i;1892:180::-;1951:6;2004:2;1992:9;1983:7;1979:23;1975:32;1972:52;;;2020:1;2017;2010:12;1972:52;-1:-1:-1;2043:23:1;;1892:180;-1:-1:-1;1892:180:1:o;2285:254::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;2529:2;2514:18;;;;2501:32;;-1:-1:-1;;;2285:254:1:o;2726:328::-;2803:6;2811;2819;2872:2;2860:9;2851:7;2847:23;2843:32;2840:52;;;2888:1;2885;2878:12;2840:52;2911:29;2930:9;2911:29;:::i;:::-;2901:39;;2959:38;2993:2;2982:9;2978:18;2959:38;:::i;:::-;2949:48;;3044:2;3033:9;3029:18;3016:32;3006:42;;2726:328;;;;;:::o;3059:186::-;3118:6;3171:2;3159:9;3150:7;3146:23;3142:32;3139:52;;;3187:1;3184;3177:12;3139:52;3210:29;3229:9;3210:29;:::i;3250:367::-;3313:8;3323:6;3377:3;3370:4;3362:6;3358:17;3354:27;3344:55;;3395:1;3392;3385:12;3344:55;-1:-1:-1;3418:20:1;;3461:18;3450:30;;3447:50;;;3493:1;3490;3483:12;3447:50;3530:4;3522:6;3518:17;3506:29;;3590:3;3583:4;3573:6;3570:1;3566:14;3558:6;3554:27;3550:38;3547:47;3544:67;;;3607:1;3604;3597:12;3622:505;3717:6;3725;3733;3786:2;3774:9;3765:7;3761:23;3757:32;3754:52;;;3802:1;3799;3792:12;3754:52;3842:9;3829:23;3875:18;3867:6;3864:30;3861:50;;;3907:1;3904;3897:12;3861:50;3946:70;4008:7;3999:6;3988:9;3984:22;3946:70;:::i;:::-;4035:8;;3920:96;;-1:-1:-1;4117:2:1;4102:18;;;;4089:32;;3622:505;-1:-1:-1;;;;3622:505:1:o;4132:248::-;4200:6;4208;4261:2;4249:9;4240:7;4236:23;4232:32;4229:52;;;4277:1;4274;4267:12;4229:52;-1:-1:-1;;4300:23:1;;;4370:2;4355:18;;;4342:32;;-1:-1:-1;4132:248:1:o;4664:254::-;4732:6;4740;4793:2;4781:9;4772:7;4768:23;4764:32;4761:52;;;4809:1;4806;4799:12;4761:52;4845:9;4832:23;4822:33;;4874:38;4908:2;4897:9;4893:18;4874:38;:::i;:::-;4864:48;;4664:254;;;;;:::o;4923:592::-;4994:6;5002;5055:2;5043:9;5034:7;5030:23;5026:32;5023:52;;;5071:1;5068;5061:12;5023:52;5111:9;5098:23;5140:18;5181:2;5173:6;5170:14;5167:34;;;5197:1;5194;5187:12;5167:34;5235:6;5224:9;5220:22;5210:32;;5280:7;5273:4;5269:2;5265:13;5261:27;5251:55;;5302:1;5299;5292:12;5251:55;5342:2;5329:16;5368:2;5360:6;5357:14;5354:34;;;5384:1;5381;5374:12;5354:34;5429:7;5424:2;5415:6;5411:2;5407:15;5403:24;5400:37;5397:57;;;5450:1;5447;5440:12;5397:57;5481:2;5473:11;;;;;5503:6;;-1:-1:-1;4923:592:1;;-1:-1:-1;;;;4923:592:1:o;5520:437::-;5606:6;5614;5667:2;5655:9;5646:7;5642:23;5638:32;5635:52;;;5683:1;5680;5673:12;5635:52;5723:9;5710:23;5756:18;5748:6;5745:30;5742:50;;;5788:1;5785;5778:12;5742:50;5827:70;5889:7;5880:6;5869:9;5865:22;5827:70;:::i;:::-;5916:8;;5801:96;;-1:-1:-1;5520:437:1;-1:-1:-1;;;;5520:437:1:o;5962:349::-;6046:12;;-1:-1:-1;;;;;6042:38:1;6030:51;;6134:4;6123:16;;;6117:23;6142:18;6113:48;6097:14;;;6090:72;6225:4;6214:16;;;6208:23;6201:31;6194:39;6178:14;;;6171:63;6287:4;6276:16;;;6270:23;6295:8;6266:38;6250:14;;6243:62;5962:349::o;6316:722::-;6549:2;6601:21;;;6671:13;;6574:18;;;6693:22;;;6520:4;;6549:2;6772:15;;;;6746:2;6731:18;;;6520:4;6815:197;6829:6;6826:1;6823:13;6815:197;;;6878:52;6926:3;6917:6;6911:13;6878:52;:::i;:::-;6987:15;;;;6959:4;6950:14;;;;;6851:1;6844:9;6815:197;;7043:632;7214:2;7266:21;;;7336:13;;7239:18;;;7358:22;;;7185:4;;7214:2;7437:15;;;;7411:2;7396:18;;;7185:4;7480:169;7494:6;7491:1;7488:13;7480:169;;;7555:13;;7543:26;;7624:15;;;;7589:12;;;;7516:1;7509:9;7480:169;;7862:322;7939:6;7947;7955;8008:2;7996:9;7987:7;7983:23;7979:32;7976:52;;;8024:1;8021;8014:12;7976:52;8047:29;8066:9;8047:29;:::i;:::-;8037:39;8123:2;8108:18;;8095:32;;-1:-1:-1;8174:2:1;8159:18;;;8146:32;;7862:322;-1:-1:-1;;;7862:322:1:o;8189:347::-;8254:6;8262;8315:2;8303:9;8294:7;8290:23;8286:32;8283:52;;;8331:1;8328;8321:12;8283:52;8354:29;8373:9;8354:29;:::i;:::-;8344:39;;8433:2;8422:9;8418:18;8405:32;8480:5;8473:13;8466:21;8459:5;8456:32;8446:60;;8502:1;8499;8492:12;8726:127;8787:10;8782:3;8778:20;8775:1;8768:31;8818:4;8815:1;8808:15;8842:4;8839:1;8832:15;8858:1138;8953:6;8961;8969;8977;9030:3;9018:9;9009:7;9005:23;9001:33;8998:53;;;9047:1;9044;9037:12;8998:53;9070:29;9089:9;9070:29;:::i;:::-;9060:39;;9118:38;9152:2;9141:9;9137:18;9118:38;:::i;:::-;9108:48;;9203:2;9192:9;9188:18;9175:32;9165:42;;9258:2;9247:9;9243:18;9230:32;9281:18;9322:2;9314:6;9311:14;9308:34;;;9338:1;9335;9328:12;9308:34;9376:6;9365:9;9361:22;9351:32;;9421:7;9414:4;9410:2;9406:13;9402:27;9392:55;;9443:1;9440;9433:12;9392:55;9479:2;9466:16;9501:2;9497;9494:10;9491:36;;;9507:18;;:::i;:::-;9582:2;9576:9;9550:2;9636:13;;-1:-1:-1;;9632:22:1;;;9656:2;9628:31;9624:40;9612:53;;;9680:18;;;9700:22;;;9677:46;9674:72;;;9726:18;;:::i;:::-;9766:10;9762:2;9755:22;9801:2;9793:6;9786:18;9841:7;9836:2;9831;9827;9823:11;9819:20;9816:33;9813:53;;;9862:1;9859;9852:12;9813:53;9918:2;9913;9909;9905:11;9900:2;9892:6;9888:15;9875:46;9963:1;9958:2;9953;9945:6;9941:15;9937:24;9930:35;9984:6;9974:16;;;;;;;8858:1138;;;;;;;:::o;10001:266::-;10197:3;10182:19;;10210:51;10186:9;10243:6;10210:51;:::i;10272:260::-;10340:6;10348;10401:2;10389:9;10380:7;10376:23;10372:32;10369:52;;;10417:1;10414;10407:12;10369:52;10440:29;10459:9;10440:29;:::i;:::-;10430:39;;10488:38;10522:2;10511:9;10507:18;10488:38;:::i;10537:380::-;10616:1;10612:12;;;;10659;;;10680:61;;10734:4;10726:6;10722:17;10712:27;;10680:61;10787:2;10779:6;10776:14;10756:18;10753:38;10750:161;;10833:10;10828:3;10824:20;10821:1;10814:31;10868:4;10865:1;10858:15;10896:4;10893:1;10886:15;10750:161;;10537:380;;;:::o;11270:127::-;11331:10;11326:3;11322:20;11319:1;11312:31;11362:4;11359:1;11352:15;11386:4;11383:1;11376:15;11402:128;11442:3;11473:1;11469:6;11466:1;11463:13;11460:39;;;11479:18;;:::i;:::-;-1:-1:-1;11515:9:1;;11402:128::o;11769:168::-;11809:7;11875:1;11871;11867:6;11863:14;11860:1;11857:21;11852:1;11845:9;11838:17;11834:45;11831:71;;;11882:18;;:::i;:::-;-1:-1:-1;11922:9:1;;11769:168::o;11942:217::-;11982:1;12008;11998:132;;12052:10;12047:3;12043:20;12040:1;12033:31;12087:4;12084:1;12077:15;12115:4;12112:1;12105:15;11998:132;-1:-1:-1;12144:9:1;;11942:217::o;12729:127::-;12790:10;12785:3;12781:20;12778:1;12771:31;12821:4;12818:1;12811:15;12845:4;12842:1;12835:15;12861:470;13040:3;13078:6;13072:13;13094:53;13140:6;13135:3;13128:4;13120:6;13116:17;13094:53;:::i;:::-;13210:13;;13169:16;;;;13232:57;13210:13;13169:16;13266:4;13254:17;;13232:57;:::i;:::-;13305:20;;12861:470;-1:-1:-1;;;;12861:470:1:o;13336:125::-;13376:4;13404:1;13401;13398:8;13395:34;;;13409:18;;:::i;:::-;-1:-1:-1;13446:9:1;;13336:125::o;15359:489::-;-1:-1:-1;;;;;15628:15:1;;;15610:34;;15680:15;;15675:2;15660:18;;15653:43;15727:2;15712:18;;15705:34;;;15775:3;15770:2;15755:18;;15748:31;;;15553:4;;15796:46;;15822:19;;15814:6;15796:46;:::i;:::-;15788:54;15359:489;-1:-1:-1;;;;;;15359:489:1:o;15853:249::-;15922:6;15975:2;15963:9;15954:7;15950:23;15946:32;15943:52;;;15991:1;15988;15981:12;15943:52;16023:9;16017:16;16042:30;16066:5;16042:30;:::i;16107:135::-;16146:3;16167:17;;;16164:43;;16187:18;;:::i;:::-;-1:-1:-1;16234:1:1;16223:13;;16107:135::o

Swarm Source

ipfs://39f0345339f58d0d0d8dacae9c39cb49ac2c48ec6fa96a04193e406497bfea34
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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