APE Price: $0.95 (+4.07%)

Token

apezilla (APEZILLA)

Overview

Max Total Supply

41 APEZILLA

Holders

11

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 APEZILLA
0xf68449dd9f09945360da6e529d1ef46dba0eb86c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
TockableRegularDropFromFactoryV1

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2025-01-23
*/

// Sources flattened with hardhat v2.18.2 https://hardhat.org

// SPDX-License-Identifier: MIT

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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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/cryptography/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.20;

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

    /**
     * @dev The signature derives the `address(0)`.
     */
    error ECDSAInvalidSignature();

    /**
     * @dev The signature has an invalid length.
     */
    error ECDSAInvalidSignatureLength(uint256 length);

    /**
     * @dev The signature has an S value that is in the upper half order.
     */
    error ECDSAInvalidSignatureS(bytes32 s);

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

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError, bytes32) {
        unchecked {
            bytes32 s = vs &
                bytes32(
                    0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
                );
            // We do not check for an overflow here since the shift operation results in 0 or 1.
            uint8 v = uint8((uint256(vs) >> 255) + 27);
            return tryRecover(hash, v, r, s);
        }
    }

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

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

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

        return (signer, RecoverError.NoError, bytes32(0));
    }

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

    /**
     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
     */
    function _throwError(RecoverError error, bytes32 errorArg) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert ECDSAInvalidSignature();
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert ECDSAInvalidSignatureLength(uint256(errorArg));
        } else if (error == RecoverError.InvalidSignatureS) {
            revert ECDSAInvalidSignatureS(errorArg);
        }
    }
}

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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    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
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

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

// File erc721a/contracts/[email protected]

// Original license: SPDX_License_Identifier: MIT
// ERC721A Contracts v4.2.3
// 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();

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

    // =============================================================
    //                            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 payable;

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

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

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

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

// Original license: SPDX_License_Identifier: MIT
// ERC721A Contracts v4.2.3
// 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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    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 payable 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 {
        _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 payable 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 payable 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 payable 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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                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 OwnershipNotInitialazeddForExtraData();
        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 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // 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 erc721a/contracts/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// ERC721A Contracts v4.2.3
// 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 erc721a/contracts/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// ERC721A Contracts v4.2.3
// 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;
        }
    }
}

// File contracts/RegularDrop.sol

// Original license: SPDX_License_Identifier: MIT
// Tockable drop v1

pragma solidity ^0.8.0;

contract TockableRegularDropFromFactoryV1 is
    ERC721AQueryable,
    Ownable(msg.sender),
    ReentrancyGuard
{
    /**
     ************
     * Contract *
     ************
     */
    uint256 public constant TOCKABLE_CONTRACT_VERSION = 1;

    /**
     * **ERC-721s:**
     * Tock drop = 0
     * Regular drop = 1
     * Mono drop = 2
     * Selectable drop = 3
     *
     * TockFromFactory = 4
     * RegularFromFactory = 5
     * MonoFromFactory = 6
     * SelectableFromFactory = 7
     */
    uint256 public constant DROP_TYPE = 5;

    /**
     **********
     * Errors *
     **********
     */
    error InvalidArgs();
    error NotInitialazed();
    error MintIsNotLive();
    error MoreThanAllowed();
    error MoreThanAvailable();
    error NotElligible();
    error NotEnoughEth();
    error UnAuthorized();
    error WithdrawFailed();
    error MetadataIsFrozen();
    error TokenIsNotExisted();

    /**
     ***********
     * Structs *
     ***********
     */
    struct Role {
        uint256 id;
        uint256 price;
        uint256 maxAllowedMint;
    }

    struct Session {
        uint256 id;
        uint256[] allowedRoles;
        uint256 allocation;
    }

    /**
     *************
     * Variables *
     *************
     */
    string private CONTRACT_NAME;
    string private TOKEN_NAME;
    string private TOKEN_SYMBOL;
    uint256 public TOTAL_SUPPLY;
    uint256 private constant FIRST_TOKEN_ID = 1;
    uint256 private BASE_FEE;

    address private tockableAddress;
    address private signerAddress;
    bool public isMintLive = false;
    bool public isMetadataFrozen = false;
    uint256 public activeSession;
    uint256 private existingRolesLength;
    uint256 private exisitngSessionsLength;
    string private tokenBaseURI;
    bool private hasExtension;

    /**
     ************
     * Mappings *
     ************
     */
    mapping(uint256 => uint256) private mintedInSessionById;
    mapping(address => mapping(uint256 => mapping(uint256 => uint256)))
        private mintedByAddressInRoleInSessionId;
    mapping(uint256 => Role) private getRoleById;
    mapping(uint256 => Session) private getSessionById;

    /**
     ***********
     * Setters *
     ***********
     */
    function setRoles(Role[] calldata _roles) external onlyOwner {
        if (_roles.length == 0) revert InvalidArgs();
        if (existingRolesLength > 0) {
            if (_roles.length < existingRolesLength) revert InvalidArgs();
        }

        unchecked {
            for (uint256 i = 0; i < _roles.length; i++) {
                getRoleById[i] = _roles[i];
            }
        }

        if (existingRolesLength < _roles.length)
            existingRolesLength = _roles.length;
    }

    function setSessions(Session[] calldata _sessions) external onlyOwner {
        if (_sessions.length == 0) revert InvalidArgs();
        if (exisitngSessionsLength > 0) {
            if (_sessions.length < exisitngSessionsLength) revert InvalidArgs();
        }

        unchecked {
            for (uint256 i = 0; i < _sessions.length; i++) {
                getSessionById[i] = _sessions[i];
            }
        }

        if (exisitngSessionsLength < _sessions.length)
            exisitngSessionsLength = _sessions.length;
    }

    function setMintIsLive(bool _status) public onlyOwner {
        isMintLive = _status;
    }

    function setActiveSession(uint256 _activeSession) external onlyOwner {
        if (!isMintLive) setMintIsLive(true);
        activeSession = _activeSession;
    }

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

    /**
     ********
     * Mint *
     ********
     */
    function mint(
        uint256 _quantity,
        bytes calldata _signature,
        uint256 _roleId
    ) external payable nonReentrant {
        if (!isMintLive) revert MintIsNotLive();

        isElligible(_roleId);
        isSignatureValid(msg.sender, _roleId, _signature);
        isTokenLeftInTotal(_quantity);
        isTokenLeftInActiveSession(_quantity);
        isTokenLeftForAddressInRoleInSession(msg.sender, _roleId, _quantity);

        uint256 payAmount = (getRoleById[_roleId].price + BASE_FEE) * _quantity;
        if (msg.value < payAmount) revert NotEnoughEth();

        _safeMint(msg.sender, _quantity);

        mintedInSessionById[activeSession] =
            mintedInSessionById[activeSession] +
            _quantity;

        mintedByAddressInRoleInSessionId[msg.sender][_roleId][activeSession] =
            mintedByAddressInRoleInSessionId[msg.sender][_roleId][
                activeSession
            ] +
            _quantity;

        uint256 tockableFee = _quantity * BASE_FEE;
        withdrawEth(payable(tockableAddress), tockableFee);
    }

    function publicMint(uint256 _quantity) external payable nonReentrant {
        if (!isMintLive) revert MintIsNotLive();
        require(activeSession == 0, "Can't mint at this session");

        isTokenLeftInTotal(_quantity);
        isTokenLeftInActiveSession(_quantity);
        isTokenLeftForAddressInRoleInSession(msg.sender, 0, _quantity);

        uint256 payAmount = (getRoleById[0].price + BASE_FEE) * _quantity;
        if (msg.value < payAmount) revert NotEnoughEth();

        _safeMint(msg.sender, _quantity);

        mintedInSessionById[0] = mintedInSessionById[0] + _quantity;

        mintedByAddressInRoleInSessionId[msg.sender][0][0] =
            mintedByAddressInRoleInSessionId[msg.sender][0][0] +
            _quantity;

        uint256 tockableFee = _quantity * BASE_FEE;
        withdrawEth(payable(tockableAddress), tockableFee);
    }

    function ownerMint(
        address _to,
        uint256 _quantity
    ) external nonReentrant onlyOwner {
        isTokenLeftInTotal(_quantity);
        _safeMint(_to, _quantity);
    }

    /**
     **************
     * Validators *
     **************
     */
    function isTokenLeftInTotal(uint256 _quantity) private view {
        if (tokensLeft() < _quantity) revert MoreThanAvailable();
    }

    function isTokenLeftInActiveSession(uint256 _quantity) private view {
        if (tokensLeftInSession(activeSession) < _quantity)
            revert MoreThanAvailable();
    }

    function isTokenLeftForAddressInRoleInSession(
        address _address,
        uint256 _roleId,
        uint256 _quantity
    ) private view {
        if (
            tokensLeftForAddressInRoleInActiveSession(_address, _roleId) <
            _quantity
        ) revert MoreThanAllowed();
    }

    function isSignatureValid(
        address _address,
        uint256 _roleId,
        bytes memory _signature
    ) private view {
        if (recoverSigner(_address, _roleId, _signature) != signerAddress)
            revert UnAuthorized();
    }

    function isElligible(uint256 _roleId) private view {
        uint256[] memory allowedRolesIdsInCurrentSession = getSessionById[
            activeSession
        ].allowedRoles;
        if (!isInArray(allowedRolesIdsInCurrentSession, _roleId))
            revert NotElligible();
    }

    /**
     ************
     * Metadata *
     ************
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return string(abi.encodePacked("ipfs://", tokenBaseURI, "/"));
    }

    function getBaseURI() public view returns (string memory) {
        return _baseURI();
    }

    function setMetadataHasExtension(bool _hasExtension) public onlyOwner {
        hasExtension = _hasExtension;
    }

    function setBaseURI(
        string memory _newBaseURI,
        bool _hasExtension
    ) external onlyOwner {
        if (isMetadataFrozen) revert MetadataIsFrozen();
        tokenBaseURI = _newBaseURI;
        setMetadataHasExtension(_hasExtension);
    }

    function freezeMetadata() external onlyOwner {
        if (!isMetadataFrozen) isMetadataFrozen = true;
    }

    function tokenURI(
        uint256 tokenId
    ) public view virtual override(ERC721A, IERC721A) returns (string memory) {
        if (!_exists(tokenId)) revert TokenIsNotExisted();

        string memory baseURI = _baseURI();
        if (bytes(baseURI).length == 0) return "";

        string memory ext = hasExtension ? ".json" : "";
        return string(abi.encodePacked(baseURI, _toString(tokenId), ext));
    }

    /**
     ************
     * Transfer *
     ************
     */
    function transfersFrom(
        address from,
        address to,
        uint256[] memory tokenIds
    ) public virtual {
        for (uint i = 0; i < tokenIds.length; i++)
            transferFrom(from, to, tokenIds[i]);
    }

    function safeTransfersFrom(
        address from,
        address to,
        uint256[] memory tokenIds,
        bytes memory _data
    ) public virtual {
        for (uint i = 0; i < tokenIds.length; i++)
            safeTransferFrom(from, to, tokenIds[i], _data);
    }

    /**
     ************
     * Withdraw *
     ************
     */
    function withdraw() public onlyOwner {
        withdrawEth(payable(msg.sender), address(this).balance);
    }

    function withdrawEth(address payable to, uint256 amount) private {
        if (amount == 0) return;
        (bool ow, ) = to.call{value: amount}("");
        if (!ow) revert WithdrawFailed();
    }

    receive() external payable {}

    /**
     *********
     * Utils *
     *********
     */
    function tokensLeft() public view returns (uint256) {
        return TOTAL_SUPPLY - _totalMinted();
    }

    function tokensLeftInSession(uint256 _id) public view returns (uint256) {
        return getSessionById[_id].allocation - mintedInSessionById[_id];
    }

    function tokensLeftForAddressInRoleInActiveSession(
        address _address,
        uint256 _roleId
    ) private view returns (uint256) {
        uint256 minted = mintedByAddressInRoleInSessionId[_address][_roleId][
            activeSession
        ];
        uint256 maxMintable = getRoleById[_roleId].maxAllowedMint;
        return maxMintable - minted;
    }

    function recoverSigner(
        address _address,
        uint256 _roleId,
        bytes memory _signature
    ) private view returns (address) {
        bytes32 hash = keccak256(
            abi.encodePacked(_address, _roleId, activeSession)
        );
        bytes32 messageDigest = keccak256(
            abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)
        );
        return ECDSA.recover(messageDigest, _signature);
    }

    function getContractData()
        external
        view
        returns (
            uint256,
            uint256,
            string memory,
            string memory,
            string memory,
            uint256,
            bool,
            bool,
            bool,
            string memory
        )
    {
        return (
            TOCKABLE_CONTRACT_VERSION,
            DROP_TYPE,
            CONTRACT_NAME,
            TOKEN_NAME,
            TOKEN_SYMBOL,
            TOTAL_SUPPLY,
            isMintLive,
            isMetadataFrozen,
            hasExtension,
            tokenBaseURI
        );
    }

    function getSupplyData(
        address _address,
        uint256 _roleId
    ) external view returns (uint256, uint256, uint256) {
        uint256 tokensLeftInTotal = tokensLeft();
        uint256 tokensLeftInActiveSession = tokensLeftInSession(activeSession);
        uint256 tokensLeftForAddress = tokensLeftForAddressInRoleInActiveSession(
                _address,
                _roleId
            );

        return (
            tokensLeftInTotal,
            tokensLeftInActiveSession,
            tokensLeftForAddress
        );
    }

    function isInArray(
        uint256[] memory _arr,
        uint256 _val
    ) private pure returns (bool) {
        uint256 len = _arr.length;
        for (uint256 i = 0; i < len; i++) if (_arr[i] == _val) return true;
        return false;
    }

    /**
     ***************
     * Constructor *
     ***************
     */
    constructor(
        address _tockableAddress,
        address _signerAddress,
        string memory _contractName,
        string memory _tokenName,
        string memory _tokenSymbol,
        uint256 _baseFee,
        uint256 _totalSupply
    ) ERC721A(_contractName, _tokenSymbol) {
        tockableAddress = _tockableAddress;
        signerAddress = _signerAddress;
        CONTRACT_NAME = _contractName;
        TOKEN_NAME = _tokenName;
        TOKEN_SYMBOL = _tokenSymbol;
        BASE_FEE = _baseFee;
        TOTAL_SUPPLY = _totalSupply;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tockableAddress","type":"address"},{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"string","name":"_contractName","type":"string"},{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_baseFee","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[],"name":"InvalidArgs","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MetadataIsFrozen","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintIsNotLive","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MoreThanAllowed","type":"error"},{"inputs":[],"name":"MoreThanAvailable","type":"error"},{"inputs":[],"name":"NotElligible","type":"error"},{"inputs":[],"name":"NotEnoughEth","type":"error"},{"inputs":[],"name":"NotInitialazed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitialazeddForExtraData","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"TokenIsNotExisted","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":"UnAuthorized","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":[],"name":"DROP_TYPE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOCKABLE_CONTRACT_VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activeSession","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractData","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_roleId","type":"uint256"}],"name":"getSupplyData","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"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":"isMetadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"_roleId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransfersFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_activeSession","type":"uint256"}],"name":"setActiveSession","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"},{"internalType":"bool","name":"_hasExtension","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasExtension","type":"bool"}],"name":"setMetadataHasExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setMintIsLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxAllowedMint","type":"uint256"}],"internalType":"struct TockableRegularDropFromFactoryV1.Role[]","name":"_roles","type":"tuple[]"}],"name":"setRoles","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256[]","name":"allowedRoles","type":"uint256[]"},{"internalType":"uint256","name":"allocation","type":"uint256"}],"internalType":"struct TockableRegularDropFromFactoryV1.Session[]","name":"_sessions","type":"tuple[]"}],"name":"setSessions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokensLeftInSession","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"transfersFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526010805461ffff60a01b1916905534801561001d575f80fd5b506040516133e03803806133e083398101604081905261003c9161020f565b338584600261004b8382610359565b5060036100588282610359565b5060015f5550506001600160a01b03811661008c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61009581610106565b506001600955600f80546001600160a01b03808a166001600160a01b0319928316179092556010805492891692909116919091179055600a6100d78682610359565b50600b6100e48582610359565b50600c6100f18482610359565b50600e91909155600d55506104139350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b80516001600160a01b038116811461016d575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610195575f80fd5b81516001600160401b038111156101ae576101ae610172565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101dc576101dc610172565b6040528181528382016020018510156101f3575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f805f805f805f60e0888a031215610225575f80fd5b61022e88610157565b965061023c60208901610157565b60408901519096506001600160401b03811115610257575f80fd5b6102638a828b01610186565b60608a015190965090506001600160401b03811115610280575f80fd5b61028c8a828b01610186565b60808a015190955090506001600160401b038111156102a9575f80fd5b6102b58a828b01610186565b60a08a015160c0909a0151989b979a509598949795969495949350505050565b600181811c908216806102e957607f821691505b60208210810361030757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561035457805f5260205f20601f840160051c810160208510156103325750805b601f840160051c820191505b81811015610351575f815560010161033e565b50505b505050565b81516001600160401b0381111561037257610372610172565b6103868161038084546102d5565b8461030d565b6020601f8211600181146103b8575f83156103a15750848201515b5f19600385901b1c1916600184901b178455610351565b5f84815260208120601f198516915b828110156103e757878501518255602094850194600190920191016103c7565b508482101561040457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b612fc0806104205f395ff3fe60806040526004361061026d575f3560e01c806370a082311161014a578063a68b91ab116100be578063d111515d11610078578063d111515d146106fd578063d50c408714610711578063e8c0656614610726578063e985e9c514610760578063f2fde38b146107a7578063fdfc7aae146107c6575f80fd5b8063a68b91ab14610642578063b31f8f931461066c578063b64b21ca14610680578063b88d4fde1461069f578063c23dc68f146106b2578063c87b56dd146106de575f80fd5b806389b5a8c21161010f57806389b5a8c21461059f5780638da5cb5b146105be578063902d55a5146105db57806395d89b41146105f057806399a2557a14610604578063a22cb46514610623575f80fd5b806370a082311461050d578063714c53981461052c578063715018a614610540578063733c88d2146105545780638462151c14610573575f80fd5b80633ccfd60b116101e1578063518bd980116101a6578063518bd98014610451578063596b7300146104705780635bbb2177146104845780636352211e146104b05780636d16a801146104cf5780636e453d62146104ee575f80fd5b80633ccfd60b146103cd57806342842e0e146103e1578063484b973c146103f45780634f4edd74146104135780634f6b45df14610432575f80fd5b80630e24495e116102325780630e24495e1461033b57806318160ddd1461035b57806323b872dd146103755780632db11544146103885780632e87871d1461039b57806332ab9bbe146103ae575f80fd5b806301ffc9a71461027857806306fdde03146102ac578063081812fc146102cd578063095ea7b3146103045780630d472c6514610319575f80fd5b3661027457005b5f80fd5b348015610283575f80fd5b506102976102923660046124b0565b6107e6565b60405190151581526020015b60405180910390f35b3480156102b7575f80fd5b506102c0610837565b6040516102a391906124f9565b3480156102d8575f80fd5b506102ec6102e736600461250b565b6108c7565b6040516001600160a01b0390911681526020016102a3565b61031761031236600461253d565b610909565b005b348015610324575f80fd5b5061032d600581565b6040519081526020016102a3565b348015610346575f80fd5b5060105461029790600160a81b900460ff1681565b348015610366575f80fd5b506001545f54035f190161032d565b610317610383366004612565565b6109a7565b61031761039636600461250b565b610b36565b6103176103a936600461259f565b610d25565b3480156103b9575f80fd5b506103176103c836600461274a565b610ed0565b3480156103d8575f80fd5b50610317610f0f565b6103176103ef366004612565565b610f23565b3480156103ff575f80fd5b5061031761040e36600461253d565b610f42565b34801561041e575f80fd5b5061031761042d366004612814565b610f73565b34801561043d575f80fd5b5061031761044c36600461250b565b611027565b34801561045c575f80fd5b5061032d61046b36600461250b565b61104f565b34801561047b575f80fd5b5061032d600181565b34801561048f575f80fd5b506104a361049e366004612814565b611075565b6040516102a3919061288e565b3480156104bb575f80fd5b506102ec6104ca36600461250b565b61113c565b3480156104da575f80fd5b506103176104e93660046128ea565b611146565b3480156104f9575f80fd5b506103176105083660046128ea565b61116c565b348015610518575f80fd5b5061032d610527366004612903565b611187565b348015610537575f80fd5b506102c06111d3565b34801561054b575f80fd5b506103176111e2565b34801561055f575f80fd5b5061031761056e36600461291c565b6111f3565b34801561057e575f80fd5b5061059261058d366004612903565b6112af565b6040516102a3919061298b565b3480156105aa575f80fd5b506103176105b93660046129c2565b6113b3565b3480156105c9575f80fd5b506008546001600160a01b03166102ec565b3480156105e6575f80fd5b5061032d600d5481565b3480156105fb575f80fd5b506102c06113ea565b34801561060f575f80fd5b5061059261061e366004612a1b565b6113f9565b34801561062e575f80fd5b5061031761063d366004612a4b565b611578565b34801561064d575f80fd5b506106566115e3565b6040516102a39a99989796959493929190612a7c565b348015610677575f80fd5b5061032d611876565b34801561068b575f80fd5b5061031761069a366004612b07565b611889565b6103176106ad366004612b5b565b6118d2565b3480156106bd575f80fd5b506106d16106cc36600461250b565b611916565b6040516102a39190612ba6565b3480156106e9575f80fd5b506102c06106f836600461250b565b61199b565b348015610708575f80fd5b50610317611a61565b34801561071c575f80fd5b5061032d60115481565b348015610731575f80fd5b5061074561074036600461253d565b611a8f565b604080519384526020840192909252908201526060016102a3565b34801561076b575f80fd5b5061029761077a366004612bb4565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156107b2575f80fd5b506103176107c1366004612903565b611ac8565b3480156107d1575f80fd5b5060105461029790600160a01b900460ff1681565b5f6301ffc9a760e01b6001600160e01b03198316148061081657506380ac58cd60e01b6001600160e01b03198316145b806108315750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461084690612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461087290612bdc565b80156108bd5780601f10610894576101008083540402835291602001916108bd565b820191905f5260205f20905b8154815290600101906020018083116108a057829003601f168201915b5050505050905090565b5f6108d182611b02565b6108ee576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6109138261113c565b9050336001600160a01b0382161461094c5761092f813361077a565b61094c576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6109b182611b34565b9050836001600160a01b0316816001600160a01b0316146109e45760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610a3057610a13863361077a565b610a3057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5757604051633a954ecd60e21b815260040160405180910390fd5b8015610a61575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610aed57600184015f818152600460205260408120549003610aeb575f548114610aeb575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b3e611b9d565b601054600160a01b900460ff16610b68576040516303eaac9360e01b815260040160405180910390fd5b60115415610bbd5760405162461bcd60e51b815260206004820152601a60248201527f43616e2774206d696e7420617420746869732073657373696f6e00000000000060448201526064015b60405180910390fd5b610bc681611bc7565b610bcf81611bef565b610bda335f83611bfb565b600e545f80805260186020527f999d26de3473317ead3eeaf34ca78057f1439db67b6953469c3c96ce9caf6bd85490918391610c169190612c28565b610c209190612c3b565b905080341015610c435760405163f14a42b760e01b815260040160405180910390fd5b610c4d3383611c25565b5f805260166020527f0263c2b778d062355049effc2dece97bc6547ff8a88a3258daa512061c2153dd54610c82908390612c28565b7f0263c2b778d062355049effc2dece97bc6547ff8a88a3258daa512061c2153dd55335f9081526017602090815260408083208380528252808320909152902054610cce908390612c28565b335f9081526017602090815260408083208380528252808320909152812091909155600e54610cfd9084612c3b565b600f54909150610d16906001600160a01b031682611c3e565b5050610d226001600955565b50565b610d2d611b9d565b601054600160a01b900460ff16610d57576040516303eaac9360e01b815260040160405180910390fd5b610d6081611cb9565b610da0338285858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611d4092505050565b610da984611bc7565b610db284611bef565b610dbd338286611bfb565b600e545f8281526018602052604081206001015490918691610ddf9190612c28565b610de99190612c3b565b905080341015610e0c5760405163f14a42b760e01b815260040160405180910390fd5b610e163386611c25565b6011545f90815260166020526040902054610e32908690612c28565b601180545f9081526016602090815260408083209490945533825260178152838220868352815283822092548252919091522054610e71908690612c28565b335f90815260176020908152604080832086845282528083206011548452909152812091909155600e54610ea59087612c3b565b600f54909150610ebe906001600160a01b031682611c3e565b5050610eca6001600955565b50505050565b5f5b8251811015610f0857610f008585858481518110610ef257610ef2612c52565b6020026020010151856118d2565b600101610ed2565b5050505050565b610f17611d7e565b610f213347611c3e565b565b610f3d83838360405180602001604052805f8152506118d2565b505050565b610f4a611b9d565b610f52611d7e565b610f5b81611bc7565b610f658282611c25565b610f6f6001600955565b5050565b610f7b611d7e565b5f819003610f9c576040516350dd03f760e11b815260040160405180910390fd5b60135415610fc757601354811015610fc7576040516350dd03f760e11b815260040160405180910390fd5b5f5b8181101561101657828282818110610fe357610fe3612c52565b9050602002810190610ff59190612c66565b5f82815260196020526040902061100c8282612c98565b5050600101610fc9565b50601354811115610f6f5760135550565b61102f611d7e565b601054600160a01b900460ff1661104a5761104a6001611146565b601155565b5f8181526016602090815260408083205460199092528220600201546108319190612d5e565b6060815f816001600160401b038111156110915761109161261b565b6040519080825280602002602001820160405280156110e157816020015b604080516080810182525f8082526020808301829052928201819052606082015282525f199092019101816110af5790505b5090505f5b8281146111335761110e86868381811061110257611102612c52565b90506020020135611916565b82828151811061112057611120612c52565b60209081029190910101526001016110e6565b50949350505050565b5f61083182611b34565b61114e611d7e565b60108054911515600160a01b0260ff60a01b19909216919091179055565b611174611d7e565b6015805460ff1916911515919091179055565b5f6001600160a01b0382166111af576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b60606111dd611dab565b905090565b6111ea611d7e565b610f215f611dd3565b6111fb611d7e565b5f81900361121c576040516350dd03f760e11b815260040160405180910390fd5b6012541561124757601254811015611247576040516350dd03f760e11b815260040160405180910390fd5b5f5b8181101561129e5782828281811061126357611263612c52565b5f8481526018602090815260409182902060609093029490940180358355938401356001830155830135600282015590505050600101611249565b50601254811115610f6f5760125550565b60605f805f6112bd85611187565b90505f816001600160401b038111156112d8576112d861261b565b604051908082528060200260200182016040528015611301578160200160208202803683370190505b50905061132d604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b8386146113a75761134081611e24565b9150816040015161139f5781516001600160a01b03161561136057815194505b876001600160a01b0316856001600160a01b03160361139f578083878060010198508151811061139257611392612c52565b6020026020010181815250505b600101611330565b50909695505050505050565b5f5b8151811015610eca576113e284848484815181106113d5576113d5612c52565b60200260200101516109a7565b6001016113b5565b60606003805461084690612bdc565b606081831061141b57604051631960ccad60e11b815260040160405180910390fd5b5f806114255f5490565b9050600185101561143557600194505b80841115611441578093505b5f61144b87611187565b90508486101561146a5785850381811015611464578091505b5061146d565b505f5b5f816001600160401b038111156114865761148661261b565b6040519080825280602002602001820160405280156114af578160200160208202803683370190505b509050815f036114c457935061157192505050565b5f6114ce88611916565b90505f81604001516114de575080515b885b8881141580156114f05750848714155b15611565576114fe81611e24565b9250826040015161155d5782516001600160a01b03161561151e57825191505b8a6001600160a01b0316826001600160a01b03160361155d578084888060010199508151811061155057611550612c52565b6020026020010181815250505b6001016114e0565b50505092835250909150505b9392505050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f8060608060605f805f80606060016005600a600b600c600d54601060149054906101000a900460ff16601060159054906101000a900460ff1660155f9054906101000a900460ff16601487805461163a90612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461166690612bdc565b80156116b15780601f10611688576101008083540402835291602001916116b1565b820191905f5260205f20905b81548152906001019060200180831161169457829003601f168201915b505050505097508680546116c490612bdc565b80601f01602080910402602001604051908101604052809291908181526020018280546116f090612bdc565b801561173b5780601f106117125761010080835404028352916020019161173b565b820191905f5260205f20905b81548152906001019060200180831161171e57829003601f168201915b5050505050965085805461174e90612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461177a90612bdc565b80156117c55780601f1061179c576101008083540402835291602001916117c5565b820191905f5260205f20905b8154815290600101906020018083116117a857829003601f168201915b505050505095508080546117d890612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461180490612bdc565b801561184f5780601f106118265761010080835404028352916020019161184f565b820191905f5260205f20905b81548152906001019060200180831161183257829003601f168201915b50505050509050995099509950995099509950995099509950995090919293949596979899565b5f80545f1901600d546111dd9190612d5e565b611891611d7e565b601054600160a81b900460ff16156118bc5760405163b087bbf360e01b815260040160405180910390fd5b60146118c88382612da8565b50610f6f8161116c565b6118dd8484846109a7565b6001600160a01b0383163b15610eca576118f984848484611e5e565b610eca576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182525f808252602082018190529181018290526060810191909152604080516080810182525f808252602082018190529181018290526060810191909152600183108061196c57505f548310155b156119775792915050565b61198083611e24565b90508060400151156119925792915050565b61157183611f45565b60606119a682611b02565b6119c357604051630f0b822560e21b815260040160405180910390fd5b5f6119cc611dab565b905080515f036119eb57505060408051602081019091525f8152919050565b6015545f9060ff16611a0b5760405180602001604052805f815250611a2a565b60405180604001604052806005815260200164173539b7b760d91b8152505b905081611a3685611f79565b82604051602001611a4993929190612e79565b60405160208183030381529060405292505050919050565b611a69611d7e565b601054600160a81b900460ff16610f21576010805460ff60a81b1916600160a81b179055565b5f805f80611a9b611876565b90505f611aa960115461104f565b90505f611ab68888611fbc565b929550909350909150505b9250925092565b611ad0611d7e565b6001600160a01b038116611af957604051631e4fbdf760e01b81525f6004820152602401610bb4565b610d2281611dd3565b5f81600111158015611b1457505f5482105b80156108315750505f90815260046020526040902054600160e01b161590565b5f8180600111611b84575f54811015611b84575f8181526004602052604081205490600160e01b82169003611b82575b805f0361157157505f19015f81815260046020526040902054611b64565b505b604051636f96cda160e11b815260040160405180910390fd5b600260095403611bc057604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b80611bd0611876565b1015610d22576040516362f4c29160e01b815260040160405180910390fd5b80611bd060115461104f565b80611c068484611fbc565b1015610f3d57604051636913512f60e01b815260040160405180910390fd5b610f6f828260405180602001604052805f81525061200a565b805f03611c49575050565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611c92576040519150601f19603f3d011682016040523d82523d5f602084013e611c97565b606091505b5050905080610f3d57604051631d42c86760e21b815260040160405180910390fd5b6011545f90815260196020908152604080832060010180548251818502810185019093528083529192909190830182828015611d1257602002820191905f5260205f20905b815481526020019060010190808311611cfe575b50505050509050611d23818361206c565b610f6f5760405163d727bd3760e01b815260040160405180910390fd5b6010546001600160a01b0316611d578484846120b7565b6001600160a01b031614610f3d5760405163be24598360e01b815260040160405180910390fd5b6008546001600160a01b03163314610f215760405163118cdaa760e01b8152336004820152602401610bb4565b60606014604051602001611dbf9190612e96565b604051602081830303815290604052905090565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f828152600460205260409020546108319061216e565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611e92903390899088908890600401612f29565b6020604051808303815f875af1925050508015611ecc575060408051601f3d908101601f19168201909252611ec991810190612f5b565b60015b611f28573d808015611ef9576040519150601f19603f3d011682016040523d82523d5f602084013e611efe565b606091505b5080515f03611f20576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182525f808252602082018190529181018290526060810191909152610831611f7483611b34565b61216e565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a900480611f925750819003601f19909101908152919050565b6001600160a01b0382165f9081526017602090815260408083208484528252808320601154845282528083205484845260189092528220600201546120018282612d5e565b95945050505050565b61201483836121b5565b6001600160a01b0383163b15610f3d575f548281035b61203c5f868380600101945086611e5e565b612059576040516368d2bf6b60e11b815260040160405180910390fd5b81811061202a57815f5414610f08575f80fd5b81515f90815b818110156120ad578385828151811061208d5761208d612c52565b6020026020010151036120a557600192505050610831565b600101612072565b505f949350505050565b6011546040516bffffffffffffffffffffffff19606086901b1660208201526034810184905260548101919091525f9081906074016040516020818303038152906040528051906020012090505f8160405160200161214291907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60405160208183030381529060405280519060200120905061216481856122ad565b9695505050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b5f8054908290036121d95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122855780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460010161224f565b50815f036122a557604051622e076360e81b815260040160405180910390fd5b5f5550505050565b5f805f806122bb86866122d5565b9250925092506122cb828261231b565b5090949350505050565b5f805f835160410361230c576020840151604085015160608601515f1a6122fe888285856123d3565b955095509550505050611ac1565b505081515f9150600290611ac1565b5f82600381111561232e5761232e612f76565b03612337575050565b600182600381111561234b5761234b612f76565b036123695760405163f645eedf60e01b815260040160405180910390fd5b600282600381111561237d5761237d612f76565b0361239e5760405163fce698f760e01b815260048101829052602401610bb4565b60038260038111156123b2576123b2612f76565b03610f6f576040516335e2f38360e21b815260048101829052602401610bb4565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561240c57505f91506003905082612491565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa15801561245d573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b03811661248857505f925060019150829050612491565b92505f91508190505b9450945094915050565b6001600160e01b031981168114610d22575f80fd5b5f602082840312156124c0575f80fd5b81356115718161249b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61157160208301846124cb565b5f6020828403121561251b575f80fd5b5035919050565b80356001600160a01b0381168114612538575f80fd5b919050565b5f806040838503121561254e575f80fd5b61255783612522565b946020939093013593505050565b5f805f60608486031215612577575f80fd5b61258084612522565b925061258e60208501612522565b929592945050506040919091013590565b5f805f80606085870312156125b2575f80fd5b8435935060208501356001600160401b038111156125ce575f80fd5b8501601f810187136125de575f80fd5b80356001600160401b038111156125f3575f80fd5b876020828401011115612604575f80fd5b949760209190910196509394604001359392505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156126575761265761261b565b604052919050565b5f82601f83011261266e575f80fd5b81356001600160401b038111156126875761268761261b565b8060051b6126976020820161262f565b918252602081850181019290810190868411156126b2575f80fd5b6020860192505b838310156121645782358252602092830192909101906126b9565b5f806001600160401b038411156126ed576126ed61261b565b50601f8301601f19166020016127028161262f565b915050828152838383011115612716575f80fd5b828260208301375f602084830101529392505050565b5f82601f83011261273b575f80fd5b611571838335602085016126d4565b5f805f806080858703121561275d575f80fd5b61276685612522565b935061277460208601612522565b925060408501356001600160401b0381111561278e575f80fd5b61279a8782880161265f565b92505060608501356001600160401b038111156127b5575f80fd5b6127c18782880161272c565b91505092959194509250565b5f8083601f8401126127dd575f80fd5b5081356001600160401b038111156127f3575f80fd5b6020830191508360208260051b850101111561280d575f80fd5b9250929050565b5f8060208385031215612825575f80fd5b82356001600160401b0381111561283a575f80fd5b612846858286016127cd565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b602080825282518282018190525f918401906040840190835b818110156128d0576128ba838551612852565b60209390930192608092909201916001016128a7565b509095945050505050565b80358015158114612538575f80fd5b5f602082840312156128fa575f80fd5b611571826128db565b5f60208284031215612913575f80fd5b61157182612522565b5f806020838503121561292d575f80fd5b82356001600160401b03811115612942575f80fd5b8301601f81018513612952575f80fd5b80356001600160401b03811115612967575f80fd5b85602060608302840101111561297b575f80fd5b6020919091019590945092505050565b602080825282518282018190525f918401906040840190835b818110156128d05783518352602093840193909201916001016129a4565b5f805f606084860312156129d4575f80fd5b6129dd84612522565b92506129eb60208501612522565b915060408401356001600160401b03811115612a05575f80fd5b612a118682870161265f565b9150509250925092565b5f805f60608486031215612a2d575f80fd5b612a3684612522565b95602085013595506040909401359392505050565b5f8060408385031215612a5c575f80fd5b612a6583612522565b9150612a73602084016128db565b90509250929050565b8a815289602082015261014060408201525f612a9c61014083018b6124cb565b8281036060840152612aae818b6124cb565b90508281036080840152612ac2818a6124cb565b90508760a084015286151560c084015285151560e0840152841515610100840152828103610120840152612af681856124cb565b9d9c50505050505050505050505050565b5f8060408385031215612b18575f80fd5b82356001600160401b03811115612b2d575f80fd5b8301601f81018513612b3d575f80fd5b612b4c858235602084016126d4565b925050612a73602084016128db565b5f805f8060808587031215612b6e575f80fd5b612b7785612522565b9350612b8560208601612522565b92506040850135915060608501356001600160401b038111156127b5575f80fd5b608081016108318284612852565b5f8060408385031215612bc5575f80fd5b612bce83612522565b9150612a7360208401612522565b600181811c90821680612bf057607f821691505b602082108103612c0e57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561083157610831612c14565b808202811582820484141761083157610831612c14565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e19833603018112612c7a575f80fd5b9190910192915050565b5b81811015610f6f575f8155600101612c85565b8135815560018101602083013536849003601e19018112612cb7575f80fd5b830180356001600160401b0381118015612ccf575f80fd5b6020830192508160051b3603831315612ce6575f80fd5b5068010000000000000000811115612d0057612d0061261b565b825481845580821015612d2457835f5260205f20612d22828201848301612c84565b505b505f92835260208320925b81811015612d4b57823584820155602090920191600101612d2f565b5050505060409190910135600290910155565b8181038181111561083157610831612c14565b601f821115610f3d57805f5260205f20601f840160051c81016020851015612d965750805b610f08601f850160051c830182612c84565b81516001600160401b03811115612dc157612dc161261b565b612dd581612dcf8454612bdc565b84612d71565b6020601f821160018114612e07575f8315612df05750848201515b5f19600385901b1c1916600184901b178455610f08565b5f84815260208120601f198516915b82811015612e365787850151825560209485019460019092019101612e16565b5084821015612e5357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f612001612e90612e8a8488612e62565b86612e62565b84612e62565b66697066733a2f2f60c81b81525f808354612eb081612bdc565b600182168015612ec75760018114612ee257612f15565b60ff1983166007870152600782151583028701019350612f15565b865f5260205f205f5b83811015612f0a57815488820160070152600190910190602001612eeb565b505060078287010193505b5050602f60f81b8252506001019392505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612164908301846124cb565b5f60208284031215612f6b575f80fd5b81516115718161249b565b634e487b7160e01b5f52602160045260245ffdfea26469706673582212200d872db2df5063a17649654df757aa7a2dd55ffcfee6e0133c15a8362aa488e864736f6c634300081a003300000000000000000000000038a4118936dd9f7d5d2b7ed9b04333e129a95d97000000000000000000000000ce9d3bf27c1928c4ce79621b77eb456cb5d1ed1f00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000000000000000007b00000000000000000000000000000000000000000000000000000000000000086170657a696c6c6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084170657a696c6c6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084150455a494c4c41000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061026d575f3560e01c806370a082311161014a578063a68b91ab116100be578063d111515d11610078578063d111515d146106fd578063d50c408714610711578063e8c0656614610726578063e985e9c514610760578063f2fde38b146107a7578063fdfc7aae146107c6575f80fd5b8063a68b91ab14610642578063b31f8f931461066c578063b64b21ca14610680578063b88d4fde1461069f578063c23dc68f146106b2578063c87b56dd146106de575f80fd5b806389b5a8c21161010f57806389b5a8c21461059f5780638da5cb5b146105be578063902d55a5146105db57806395d89b41146105f057806399a2557a14610604578063a22cb46514610623575f80fd5b806370a082311461050d578063714c53981461052c578063715018a614610540578063733c88d2146105545780638462151c14610573575f80fd5b80633ccfd60b116101e1578063518bd980116101a6578063518bd98014610451578063596b7300146104705780635bbb2177146104845780636352211e146104b05780636d16a801146104cf5780636e453d62146104ee575f80fd5b80633ccfd60b146103cd57806342842e0e146103e1578063484b973c146103f45780634f4edd74146104135780634f6b45df14610432575f80fd5b80630e24495e116102325780630e24495e1461033b57806318160ddd1461035b57806323b872dd146103755780632db11544146103885780632e87871d1461039b57806332ab9bbe146103ae575f80fd5b806301ffc9a71461027857806306fdde03146102ac578063081812fc146102cd578063095ea7b3146103045780630d472c6514610319575f80fd5b3661027457005b5f80fd5b348015610283575f80fd5b506102976102923660046124b0565b6107e6565b60405190151581526020015b60405180910390f35b3480156102b7575f80fd5b506102c0610837565b6040516102a391906124f9565b3480156102d8575f80fd5b506102ec6102e736600461250b565b6108c7565b6040516001600160a01b0390911681526020016102a3565b61031761031236600461253d565b610909565b005b348015610324575f80fd5b5061032d600581565b6040519081526020016102a3565b348015610346575f80fd5b5060105461029790600160a81b900460ff1681565b348015610366575f80fd5b506001545f54035f190161032d565b610317610383366004612565565b6109a7565b61031761039636600461250b565b610b36565b6103176103a936600461259f565b610d25565b3480156103b9575f80fd5b506103176103c836600461274a565b610ed0565b3480156103d8575f80fd5b50610317610f0f565b6103176103ef366004612565565b610f23565b3480156103ff575f80fd5b5061031761040e36600461253d565b610f42565b34801561041e575f80fd5b5061031761042d366004612814565b610f73565b34801561043d575f80fd5b5061031761044c36600461250b565b611027565b34801561045c575f80fd5b5061032d61046b36600461250b565b61104f565b34801561047b575f80fd5b5061032d600181565b34801561048f575f80fd5b506104a361049e366004612814565b611075565b6040516102a3919061288e565b3480156104bb575f80fd5b506102ec6104ca36600461250b565b61113c565b3480156104da575f80fd5b506103176104e93660046128ea565b611146565b3480156104f9575f80fd5b506103176105083660046128ea565b61116c565b348015610518575f80fd5b5061032d610527366004612903565b611187565b348015610537575f80fd5b506102c06111d3565b34801561054b575f80fd5b506103176111e2565b34801561055f575f80fd5b5061031761056e36600461291c565b6111f3565b34801561057e575f80fd5b5061059261058d366004612903565b6112af565b6040516102a3919061298b565b3480156105aa575f80fd5b506103176105b93660046129c2565b6113b3565b3480156105c9575f80fd5b506008546001600160a01b03166102ec565b3480156105e6575f80fd5b5061032d600d5481565b3480156105fb575f80fd5b506102c06113ea565b34801561060f575f80fd5b5061059261061e366004612a1b565b6113f9565b34801561062e575f80fd5b5061031761063d366004612a4b565b611578565b34801561064d575f80fd5b506106566115e3565b6040516102a39a99989796959493929190612a7c565b348015610677575f80fd5b5061032d611876565b34801561068b575f80fd5b5061031761069a366004612b07565b611889565b6103176106ad366004612b5b565b6118d2565b3480156106bd575f80fd5b506106d16106cc36600461250b565b611916565b6040516102a39190612ba6565b3480156106e9575f80fd5b506102c06106f836600461250b565b61199b565b348015610708575f80fd5b50610317611a61565b34801561071c575f80fd5b5061032d60115481565b348015610731575f80fd5b5061074561074036600461253d565b611a8f565b604080519384526020840192909252908201526060016102a3565b34801561076b575f80fd5b5061029761077a366004612bb4565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156107b2575f80fd5b506103176107c1366004612903565b611ac8565b3480156107d1575f80fd5b5060105461029790600160a01b900460ff1681565b5f6301ffc9a760e01b6001600160e01b03198316148061081657506380ac58cd60e01b6001600160e01b03198316145b806108315750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461084690612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461087290612bdc565b80156108bd5780601f10610894576101008083540402835291602001916108bd565b820191905f5260205f20905b8154815290600101906020018083116108a057829003601f168201915b5050505050905090565b5f6108d182611b02565b6108ee576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6109138261113c565b9050336001600160a01b0382161461094c5761092f813361077a565b61094c576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6109b182611b34565b9050836001600160a01b0316816001600160a01b0316146109e45760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610a3057610a13863361077a565b610a3057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5757604051633a954ecd60e21b815260040160405180910390fd5b8015610a61575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610aed57600184015f818152600460205260408120549003610aeb575f548114610aeb575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b3e611b9d565b601054600160a01b900460ff16610b68576040516303eaac9360e01b815260040160405180910390fd5b60115415610bbd5760405162461bcd60e51b815260206004820152601a60248201527f43616e2774206d696e7420617420746869732073657373696f6e00000000000060448201526064015b60405180910390fd5b610bc681611bc7565b610bcf81611bef565b610bda335f83611bfb565b600e545f80805260186020527f999d26de3473317ead3eeaf34ca78057f1439db67b6953469c3c96ce9caf6bd85490918391610c169190612c28565b610c209190612c3b565b905080341015610c435760405163f14a42b760e01b815260040160405180910390fd5b610c4d3383611c25565b5f805260166020527f0263c2b778d062355049effc2dece97bc6547ff8a88a3258daa512061c2153dd54610c82908390612c28565b7f0263c2b778d062355049effc2dece97bc6547ff8a88a3258daa512061c2153dd55335f9081526017602090815260408083208380528252808320909152902054610cce908390612c28565b335f9081526017602090815260408083208380528252808320909152812091909155600e54610cfd9084612c3b565b600f54909150610d16906001600160a01b031682611c3e565b5050610d226001600955565b50565b610d2d611b9d565b601054600160a01b900460ff16610d57576040516303eaac9360e01b815260040160405180910390fd5b610d6081611cb9565b610da0338285858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611d4092505050565b610da984611bc7565b610db284611bef565b610dbd338286611bfb565b600e545f8281526018602052604081206001015490918691610ddf9190612c28565b610de99190612c3b565b905080341015610e0c5760405163f14a42b760e01b815260040160405180910390fd5b610e163386611c25565b6011545f90815260166020526040902054610e32908690612c28565b601180545f9081526016602090815260408083209490945533825260178152838220868352815283822092548252919091522054610e71908690612c28565b335f90815260176020908152604080832086845282528083206011548452909152812091909155600e54610ea59087612c3b565b600f54909150610ebe906001600160a01b031682611c3e565b5050610eca6001600955565b50505050565b5f5b8251811015610f0857610f008585858481518110610ef257610ef2612c52565b6020026020010151856118d2565b600101610ed2565b5050505050565b610f17611d7e565b610f213347611c3e565b565b610f3d83838360405180602001604052805f8152506118d2565b505050565b610f4a611b9d565b610f52611d7e565b610f5b81611bc7565b610f658282611c25565b610f6f6001600955565b5050565b610f7b611d7e565b5f819003610f9c576040516350dd03f760e11b815260040160405180910390fd5b60135415610fc757601354811015610fc7576040516350dd03f760e11b815260040160405180910390fd5b5f5b8181101561101657828282818110610fe357610fe3612c52565b9050602002810190610ff59190612c66565b5f82815260196020526040902061100c8282612c98565b5050600101610fc9565b50601354811115610f6f5760135550565b61102f611d7e565b601054600160a01b900460ff1661104a5761104a6001611146565b601155565b5f8181526016602090815260408083205460199092528220600201546108319190612d5e565b6060815f816001600160401b038111156110915761109161261b565b6040519080825280602002602001820160405280156110e157816020015b604080516080810182525f8082526020808301829052928201819052606082015282525f199092019101816110af5790505b5090505f5b8281146111335761110e86868381811061110257611102612c52565b90506020020135611916565b82828151811061112057611120612c52565b60209081029190910101526001016110e6565b50949350505050565b5f61083182611b34565b61114e611d7e565b60108054911515600160a01b0260ff60a01b19909216919091179055565b611174611d7e565b6015805460ff1916911515919091179055565b5f6001600160a01b0382166111af576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b60606111dd611dab565b905090565b6111ea611d7e565b610f215f611dd3565b6111fb611d7e565b5f81900361121c576040516350dd03f760e11b815260040160405180910390fd5b6012541561124757601254811015611247576040516350dd03f760e11b815260040160405180910390fd5b5f5b8181101561129e5782828281811061126357611263612c52565b5f8481526018602090815260409182902060609093029490940180358355938401356001830155830135600282015590505050600101611249565b50601254811115610f6f5760125550565b60605f805f6112bd85611187565b90505f816001600160401b038111156112d8576112d861261b565b604051908082528060200260200182016040528015611301578160200160208202803683370190505b50905061132d604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b8386146113a75761134081611e24565b9150816040015161139f5781516001600160a01b03161561136057815194505b876001600160a01b0316856001600160a01b03160361139f578083878060010198508151811061139257611392612c52565b6020026020010181815250505b600101611330565b50909695505050505050565b5f5b8151811015610eca576113e284848484815181106113d5576113d5612c52565b60200260200101516109a7565b6001016113b5565b60606003805461084690612bdc565b606081831061141b57604051631960ccad60e11b815260040160405180910390fd5b5f806114255f5490565b9050600185101561143557600194505b80841115611441578093505b5f61144b87611187565b90508486101561146a5785850381811015611464578091505b5061146d565b505f5b5f816001600160401b038111156114865761148661261b565b6040519080825280602002602001820160405280156114af578160200160208202803683370190505b509050815f036114c457935061157192505050565b5f6114ce88611916565b90505f81604001516114de575080515b885b8881141580156114f05750848714155b15611565576114fe81611e24565b9250826040015161155d5782516001600160a01b03161561151e57825191505b8a6001600160a01b0316826001600160a01b03160361155d578084888060010199508151811061155057611550612c52565b6020026020010181815250505b6001016114e0565b50505092835250909150505b9392505050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f8060608060605f805f80606060016005600a600b600c600d54601060149054906101000a900460ff16601060159054906101000a900460ff1660155f9054906101000a900460ff16601487805461163a90612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461166690612bdc565b80156116b15780601f10611688576101008083540402835291602001916116b1565b820191905f5260205f20905b81548152906001019060200180831161169457829003601f168201915b505050505097508680546116c490612bdc565b80601f01602080910402602001604051908101604052809291908181526020018280546116f090612bdc565b801561173b5780601f106117125761010080835404028352916020019161173b565b820191905f5260205f20905b81548152906001019060200180831161171e57829003601f168201915b5050505050965085805461174e90612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461177a90612bdc565b80156117c55780601f1061179c576101008083540402835291602001916117c5565b820191905f5260205f20905b8154815290600101906020018083116117a857829003601f168201915b505050505095508080546117d890612bdc565b80601f016020809104026020016040519081016040528092919081815260200182805461180490612bdc565b801561184f5780601f106118265761010080835404028352916020019161184f565b820191905f5260205f20905b81548152906001019060200180831161183257829003601f168201915b50505050509050995099509950995099509950995099509950995090919293949596979899565b5f80545f1901600d546111dd9190612d5e565b611891611d7e565b601054600160a81b900460ff16156118bc5760405163b087bbf360e01b815260040160405180910390fd5b60146118c88382612da8565b50610f6f8161116c565b6118dd8484846109a7565b6001600160a01b0383163b15610eca576118f984848484611e5e565b610eca576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182525f808252602082018190529181018290526060810191909152604080516080810182525f808252602082018190529181018290526060810191909152600183108061196c57505f548310155b156119775792915050565b61198083611e24565b90508060400151156119925792915050565b61157183611f45565b60606119a682611b02565b6119c357604051630f0b822560e21b815260040160405180910390fd5b5f6119cc611dab565b905080515f036119eb57505060408051602081019091525f8152919050565b6015545f9060ff16611a0b5760405180602001604052805f815250611a2a565b60405180604001604052806005815260200164173539b7b760d91b8152505b905081611a3685611f79565b82604051602001611a4993929190612e79565b60405160208183030381529060405292505050919050565b611a69611d7e565b601054600160a81b900460ff16610f21576010805460ff60a81b1916600160a81b179055565b5f805f80611a9b611876565b90505f611aa960115461104f565b90505f611ab68888611fbc565b929550909350909150505b9250925092565b611ad0611d7e565b6001600160a01b038116611af957604051631e4fbdf760e01b81525f6004820152602401610bb4565b610d2281611dd3565b5f81600111158015611b1457505f5482105b80156108315750505f90815260046020526040902054600160e01b161590565b5f8180600111611b84575f54811015611b84575f8181526004602052604081205490600160e01b82169003611b82575b805f0361157157505f19015f81815260046020526040902054611b64565b505b604051636f96cda160e11b815260040160405180910390fd5b600260095403611bc057604051633ee5aeb560e01b815260040160405180910390fd5b6002600955565b80611bd0611876565b1015610d22576040516362f4c29160e01b815260040160405180910390fd5b80611bd060115461104f565b80611c068484611fbc565b1015610f3d57604051636913512f60e01b815260040160405180910390fd5b610f6f828260405180602001604052805f81525061200a565b805f03611c49575050565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611c92576040519150601f19603f3d011682016040523d82523d5f602084013e611c97565b606091505b5050905080610f3d57604051631d42c86760e21b815260040160405180910390fd5b6011545f90815260196020908152604080832060010180548251818502810185019093528083529192909190830182828015611d1257602002820191905f5260205f20905b815481526020019060010190808311611cfe575b50505050509050611d23818361206c565b610f6f5760405163d727bd3760e01b815260040160405180910390fd5b6010546001600160a01b0316611d578484846120b7565b6001600160a01b031614610f3d5760405163be24598360e01b815260040160405180910390fd5b6008546001600160a01b03163314610f215760405163118cdaa760e01b8152336004820152602401610bb4565b60606014604051602001611dbf9190612e96565b604051602081830303815290604052905090565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f828152600460205260409020546108319061216e565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611e92903390899088908890600401612f29565b6020604051808303815f875af1925050508015611ecc575060408051601f3d908101601f19168201909252611ec991810190612f5b565b60015b611f28573d808015611ef9576040519150601f19603f3d011682016040523d82523d5f602084013e611efe565b606091505b5080515f03611f20576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182525f808252602082018190529181018290526060810191909152610831611f7483611b34565b61216e565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a900480611f925750819003601f19909101908152919050565b6001600160a01b0382165f9081526017602090815260408083208484528252808320601154845282528083205484845260189092528220600201546120018282612d5e565b95945050505050565b61201483836121b5565b6001600160a01b0383163b15610f3d575f548281035b61203c5f868380600101945086611e5e565b612059576040516368d2bf6b60e11b815260040160405180910390fd5b81811061202a57815f5414610f08575f80fd5b81515f90815b818110156120ad578385828151811061208d5761208d612c52565b6020026020010151036120a557600192505050610831565b600101612072565b505f949350505050565b6011546040516bffffffffffffffffffffffff19606086901b1660208201526034810184905260548101919091525f9081906074016040516020818303038152906040528051906020012090505f8160405160200161214291907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60405160208183030381529060405280519060200120905061216481856122ad565b9695505050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b5f8054908290036121d95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122855780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460010161224f565b50815f036122a557604051622e076360e81b815260040160405180910390fd5b5f5550505050565b5f805f806122bb86866122d5565b9250925092506122cb828261231b565b5090949350505050565b5f805f835160410361230c576020840151604085015160608601515f1a6122fe888285856123d3565b955095509550505050611ac1565b505081515f9150600290611ac1565b5f82600381111561232e5761232e612f76565b03612337575050565b600182600381111561234b5761234b612f76565b036123695760405163f645eedf60e01b815260040160405180910390fd5b600282600381111561237d5761237d612f76565b0361239e5760405163fce698f760e01b815260048101829052602401610bb4565b60038260038111156123b2576123b2612f76565b03610f6f576040516335e2f38360e21b815260048101829052602401610bb4565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561240c57505f91506003905082612491565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa15801561245d573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b03811661248857505f925060019150829050612491565b92505f91508190505b9450945094915050565b6001600160e01b031981168114610d22575f80fd5b5f602082840312156124c0575f80fd5b81356115718161249b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61157160208301846124cb565b5f6020828403121561251b575f80fd5b5035919050565b80356001600160a01b0381168114612538575f80fd5b919050565b5f806040838503121561254e575f80fd5b61255783612522565b946020939093013593505050565b5f805f60608486031215612577575f80fd5b61258084612522565b925061258e60208501612522565b929592945050506040919091013590565b5f805f80606085870312156125b2575f80fd5b8435935060208501356001600160401b038111156125ce575f80fd5b8501601f810187136125de575f80fd5b80356001600160401b038111156125f3575f80fd5b876020828401011115612604575f80fd5b949760209190910196509394604001359392505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156126575761265761261b565b604052919050565b5f82601f83011261266e575f80fd5b81356001600160401b038111156126875761268761261b565b8060051b6126976020820161262f565b918252602081850181019290810190868411156126b2575f80fd5b6020860192505b838310156121645782358252602092830192909101906126b9565b5f806001600160401b038411156126ed576126ed61261b565b50601f8301601f19166020016127028161262f565b915050828152838383011115612716575f80fd5b828260208301375f602084830101529392505050565b5f82601f83011261273b575f80fd5b611571838335602085016126d4565b5f805f806080858703121561275d575f80fd5b61276685612522565b935061277460208601612522565b925060408501356001600160401b0381111561278e575f80fd5b61279a8782880161265f565b92505060608501356001600160401b038111156127b5575f80fd5b6127c18782880161272c565b91505092959194509250565b5f8083601f8401126127dd575f80fd5b5081356001600160401b038111156127f3575f80fd5b6020830191508360208260051b850101111561280d575f80fd5b9250929050565b5f8060208385031215612825575f80fd5b82356001600160401b0381111561283a575f80fd5b612846858286016127cd565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b602080825282518282018190525f918401906040840190835b818110156128d0576128ba838551612852565b60209390930192608092909201916001016128a7565b509095945050505050565b80358015158114612538575f80fd5b5f602082840312156128fa575f80fd5b611571826128db565b5f60208284031215612913575f80fd5b61157182612522565b5f806020838503121561292d575f80fd5b82356001600160401b03811115612942575f80fd5b8301601f81018513612952575f80fd5b80356001600160401b03811115612967575f80fd5b85602060608302840101111561297b575f80fd5b6020919091019590945092505050565b602080825282518282018190525f918401906040840190835b818110156128d05783518352602093840193909201916001016129a4565b5f805f606084860312156129d4575f80fd5b6129dd84612522565b92506129eb60208501612522565b915060408401356001600160401b03811115612a05575f80fd5b612a118682870161265f565b9150509250925092565b5f805f60608486031215612a2d575f80fd5b612a3684612522565b95602085013595506040909401359392505050565b5f8060408385031215612a5c575f80fd5b612a6583612522565b9150612a73602084016128db565b90509250929050565b8a815289602082015261014060408201525f612a9c61014083018b6124cb565b8281036060840152612aae818b6124cb565b90508281036080840152612ac2818a6124cb565b90508760a084015286151560c084015285151560e0840152841515610100840152828103610120840152612af681856124cb565b9d9c50505050505050505050505050565b5f8060408385031215612b18575f80fd5b82356001600160401b03811115612b2d575f80fd5b8301601f81018513612b3d575f80fd5b612b4c858235602084016126d4565b925050612a73602084016128db565b5f805f8060808587031215612b6e575f80fd5b612b7785612522565b9350612b8560208601612522565b92506040850135915060608501356001600160401b038111156127b5575f80fd5b608081016108318284612852565b5f8060408385031215612bc5575f80fd5b612bce83612522565b9150612a7360208401612522565b600181811c90821680612bf057607f821691505b602082108103612c0e57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561083157610831612c14565b808202811582820484141761083157610831612c14565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e19833603018112612c7a575f80fd5b9190910192915050565b5b81811015610f6f575f8155600101612c85565b8135815560018101602083013536849003601e19018112612cb7575f80fd5b830180356001600160401b0381118015612ccf575f80fd5b6020830192508160051b3603831315612ce6575f80fd5b5068010000000000000000811115612d0057612d0061261b565b825481845580821015612d2457835f5260205f20612d22828201848301612c84565b505b505f92835260208320925b81811015612d4b57823584820155602090920191600101612d2f565b5050505060409190910135600290910155565b8181038181111561083157610831612c14565b601f821115610f3d57805f5260205f20601f840160051c81016020851015612d965750805b610f08601f850160051c830182612c84565b81516001600160401b03811115612dc157612dc161261b565b612dd581612dcf8454612bdc565b84612d71565b6020601f821160018114612e07575f8315612df05750848201515b5f19600385901b1c1916600184901b178455610f08565b5f84815260208120601f198516915b82811015612e365787850151825560209485019460019092019101612e16565b5084821015612e5357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f612001612e90612e8a8488612e62565b86612e62565b84612e62565b66697066733a2f2f60c81b81525f808354612eb081612bdc565b600182168015612ec75760018114612ee257612f15565b60ff1983166007870152600782151583028701019350612f15565b865f5260205f205f5b83811015612f0a57815488820160070152600190910190602001612eeb565b505060078287010193505b5050602f60f81b8252506001019392505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612164908301846124cb565b5f60208284031215612f6b575f80fd5b81516115718161249b565b634e487b7160e01b5f52602160045260245ffdfea26469706673582212200d872db2df5063a17649654df757aa7a2dd55ffcfee6e0133c15a8362aa488e864736f6c634300081a0033

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

00000000000000000000000038a4118936dd9f7d5d2b7ed9b04333e129a95d97000000000000000000000000ce9d3bf27c1928c4ce79621b77eb456cb5d1ed1f00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000000000000000007b00000000000000000000000000000000000000000000000000000000000000086170657a696c6c6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084170657a696c6c6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084150455a494c4c41000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _tockableAddress (address): 0x38A4118936Dd9F7d5d2b7eD9B04333e129a95d97
Arg [1] : _signerAddress (address): 0xCe9D3Bf27c1928C4cE79621B77eb456cB5d1eD1F
Arg [2] : _contractName (string): apezilla
Arg [3] : _tokenName (string): Apezilla
Arg [4] : _tokenSymbol (string): APEZILLA
Arg [5] : _baseFee (uint256): 50000000000000000
Arg [6] : _totalSupply (uint256): 123

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000038a4118936dd9f7d5d2b7ed9b04333e129a95d97
Arg [1] : 000000000000000000000000ce9d3bf27c1928c4ce79621b77eb456cb5d1ed1f
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [5] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000007b
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [8] : 6170657a696c6c61000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [10] : 4170657a696c6c61000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [12] : 4150455a494c4c41000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

78735:13010:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34995:655;;;;;;;;;;-1:-1:-1;34995:655:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;34995:655:0;;;;;;;;35913:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;42662:234::-;;;;;;;;;;-1:-1:-1;42662:234:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1528:32:1;;;1510:51;;1498:2;1483:18;42662:234:0;1364:203:1;42070:433:0;;;;;;:::i;:::-;;:::i;:::-;;79261:37;;;;;;;;;;;;79297:1;79261:37;;;;;2201:25:1;;;2189:2;2174:18;79261:37:0;2055:177:1;80395:36:0;;;;;;;;;;-1:-1:-1;80395:36:0;;;;-1:-1:-1;;;80395:36:0;;;;;;31554:323;;;;;;;;;;-1:-1:-1;80243:1:0;31828:12;31615:7;31812:13;:28;-1:-1:-1;;31812:46:0;31554:323;;46383:3003;;;;;;:::i;:::-;;:::i;83715:882::-;;;;;;:::i;:::-;;:::i;82600:1107::-;;;;;;:::i;:::-;;:::i;87693:279::-;;;;;;;;;;-1:-1:-1;87693:279:0;;;;;:::i;:::-;;:::i;88055:111::-;;;;;;;;;;;;;:::i;49482:193::-;;;;;;:::i;:::-;;:::i;84605:192::-;;;;;;;;;;-1:-1:-1;84605:192:0;;;;;:::i;:::-;;:::i;81585:548::-;;;;;;;;;;-1:-1:-1;81585:548:0;;;;;:::i;:::-;;:::i;82242:165::-;;;;;;;;;;-1:-1:-1;82242:165:0;;;;;:::i;:::-;;:::i;88601:155::-;;;;;;;;;;-1:-1:-1;88601:155:0;;;;;:::i;:::-;;:::i;78933:53::-;;;;;;;;;;;;78985:1;78933:53;;73668:526;;;;;;;;;;-1:-1:-1;73668:526:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;37369:168::-;;;;;;;;;;-1:-1:-1;37369:168:0;;;;;:::i;:::-;;:::i;82141:93::-;;;;;;;;;;-1:-1:-1;82141:93:0;;;;;:::i;:::-;;:::i;86427:117::-;;;;;;;;;;-1:-1:-1;86427:117:0;;;;;:::i;:::-;;:::i;32738:249::-;;;;;;;;;;-1:-1:-1;32738:249:0;;;;;:::i;:::-;;:::i;86325:94::-;;;;;;;;;;;;;:::i;3487:103::-;;;;;;;;;;;;;:::i;81071:506::-;;;;;;;;;;-1:-1:-1;81071:506:0;;;;;:::i;:::-;;:::i;77608:982::-;;;;;;;;;;-1:-1:-1;77608:982:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;87450:235::-;;;;;;;;;;-1:-1:-1;87450:235:0;;;;;:::i;:::-;;:::i;2812:87::-;;;;;;;;;;-1:-1:-1;2885:6:0;;-1:-1:-1;;;;;2885:6:0;2812:87;;80167:27;;;;;;;;;;;;;;;;36089:104;;;;;;;;;;;;;:::i;74582:2579::-;;;;;;;;;;-1:-1:-1;74582:2579:0;;;;;:::i;:::-;;:::i;43236:259::-;;;;;;;;;;-1:-1:-1;43236:259:0;;;;;:::i;:::-;;:::i;89607:646::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;88486:107::-;;;;;;;;;;;;;:::i;86552:263::-;;;;;;;;;;-1:-1:-1;86552:263:0;;;;;:::i;:::-;;:::i;50273:407::-;;;;;;:::i;:::-;;:::i;73065:444::-;;;;;;;;;;-1:-1:-1;73065:444:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86941:426::-;;;;;;;;;;-1:-1:-1;86941:426:0;;;;;:::i;:::-;;:::i;86823:110::-;;;;;;;;;;;;;:::i;80438:28::-;;;;;;;;;;;;;;;;90261:562;;;;;;;;;;-1:-1:-1;90261:562:0;;;;;:::i;:::-;;:::i;:::-;;;;14213:25:1;;;14269:2;14254:18;;14247:34;;;;14297:18;;;14290:34;14201:2;14186:18;90261:562:0;14011:319:1;43652:189:0;;;;;;;;;;-1:-1:-1;43652:189:0;;;;;:::i;:::-;-1:-1:-1;;;;;43798:25:0;;;43774:4;43798:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;43652:189;3745:220;;;;;;;;;;-1:-1:-1;3745:220:0;;;;;:::i;:::-;;:::i;80358:30::-;;;;;;;;;;-1:-1:-1;80358:30:0;;;;-1:-1:-1;;;80358:30:0;;;;;;34995:655;35096:4;-1:-1:-1;;;;;;;;;35420:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;35497:25:0;;;35420:102;:179;;;-1:-1:-1;;;;;;;;;;35574:25:0;;;35420:179;35400:199;34995:655;-1:-1:-1;;34995:655:0:o;35913:100::-;35967:13;36000:5;35993:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35913:100;:::o;42662:234::-;42754:7;42779:16;42787:7;42779;:16::i;:::-;42774:64;;42804:34;;-1:-1:-1;;;42804:34:0;;;;;;;;;;;42774:64;-1:-1:-1;42858:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;42858:30:0;;42662:234::o;42070:433::-;42184:13;42200:16;42208:7;42200;:16::i;:::-;42184:32;-1:-1:-1;67420:10:0;-1:-1:-1;;;;;42233:28:0;;;42229:175;;42281:44;42298:5;67420:10;43652:189;:::i;42281:44::-;42276:128;;42353:35;;-1:-1:-1;;;42353:35:0;;;;;;;;;;;42276:128;42416:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;42416:35:0;-1:-1:-1;;;;;42416:35:0;;;;;;;;;42467:28;;42416:24;;42467:28;;;;;;;42173:330;42070:433;;:::o;46383:3003::-;46525:27;46555;46574:7;46555:18;:27::i;:::-;46525:57;;46640:4;-1:-1:-1;;;;;46599:45:0;46615:19;-1:-1:-1;;;;;46599:45:0;;46595:99;;46666:28;;-1:-1:-1;;;46666:28:0;;;;;;;;;;;46595:99;46722:27;45491:24;;;:15;:24;;;;;45719:26;;67420:10;45100:30;;;-1:-1:-1;;;;;44793:28:0;;45078:20;;;45075:56;46931:287;;47114:43;47131:4;67420:10;43652:189;:::i;47114:43::-;47109:109;;47183:35;;-1:-1:-1;;;47183:35:0;;;;;;;;;;;47109:109;-1:-1:-1;;;;;47235:16:0;;47231:52;;47260:23;;-1:-1:-1;;;47260:23:0;;;;;;;;;;;47231:52;47432:15;47429:160;;;47572:1;47551:19;47544:30;47429:160;-1:-1:-1;;;;;47969:24:0;;;;;;;:18;:24;;;;;;47967:26;;-1:-1:-1;;47967:26:0;;;48038:22;;;;;;;;;48036:24;;-1:-1:-1;48036:24:0;;;40898:11;40873:23;40869:41;40821:112;-1:-1:-1;;;40821:112:0;48331:26;;;;:17;:26;;;;;:196;;;;-1:-1:-1;;;48647:47:0;;:52;;48643:627;;48752:1;48742:11;;48720:19;48875:30;;;:17;:30;;;;;;:35;;48871:384;;49013:13;;48998:11;:28;48994:242;;49160:30;;;;:17;:30;;;;;:52;;;48994:242;48701:569;48643:627;49317:7;49313:2;-1:-1:-1;;;;;49298:27:0;49307:4;-1:-1:-1;;;;;49298:27:0;;;;;;;;;;;46514:2872;;;46383:3003;;;:::o;83715:882::-;15287:21;:19;:21::i;:::-;83800:10:::1;::::0;-1:-1:-1;;;83800:10:0;::::1;;;83795:39;;83819:15;;-1:-1:-1::0;;;83819:15:0::1;;;;;;;;;;;83795:39;83853:13;::::0;:18;83845:57:::1;;;::::0;-1:-1:-1;;;83845:57:0;;15187:2:1;83845:57:0::1;::::0;::::1;15169:21:1::0;15226:2;15206:18;;;15199:30;15265:28;15245:18;;;15238:56;15311:18;;83845:57:0::1;;;;;;;;;83915:29;83934:9;83915:18;:29::i;:::-;83955:37;83982:9;83955:26;:37::i;:::-;84003:62;84040:10;84052:1;84055:9;84003:36;:62::i;:::-;84122:8;::::0;84078:17:::1;84099:14:::0;;;:11:::1;:14;::::0;:20;;84078:17;;84134:9;;84099:31:::1;::::0;84122:8;84099:31:::1;:::i;:::-;84098:45;;;;:::i;:::-;84078:65;;84170:9;84158;:21;84154:48;;;84188:14;;-1:-1:-1::0;;;84188:14:0::1;;;;;;;;;;;84154:48;84215:32;84225:10;84237:9;84215;:32::i;:::-;84285:22;::::0;;:19:::1;:22;::::0;;;:34:::1;::::0;84310:9;;84285:34:::1;:::i;:::-;84260:22:::0;:59;84431:10:::1;84260:22;84398:44:::0;;;:32:::1;84260:22;84398:44:::0;;;84260:22;84398:44;;;:47;;;;;;;;:50;;;;;;:75:::1;::::0;84464:9;;84398:75:::1;:::i;:::-;84365:10;84332:44;::::0;;;:32:::1;:44;::::0;;;;;;;:47;;;;;;;;:50;;;;;:141;;;;84520:8:::1;::::0;84508:20:::1;::::0;:9;:20:::1;:::i;:::-;84559:15;::::0;84486:42;;-1:-1:-1;84539:50:0::1;::::0;-1:-1:-1;;;;;84559:15:0::1;84486:42:::0;84539:11:::1;:50::i;:::-;83784:813;;15331:20:::0;14622:1;15873:7;:21;15690:212;15331:20;83715:882;:::o;82600:1107::-;15287:21;:19;:21::i;:::-;82757:10:::1;::::0;-1:-1:-1;;;82757:10:0;::::1;;;82752:39;;82776:15;;-1:-1:-1::0;;;82776:15:0::1;;;;;;;;;;;82752:39;82804:20;82816:7;82804:11;:20::i;:::-;82835:49;82852:10;82864:7;82873:10;;82835:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;82835:16:0::1;::::0;-1:-1:-1;;;82835:49:0:i:1;:::-;82895:29;82914:9;82895:18;:29::i;:::-;82935:37;82962:9;82935:26;:37::i;:::-;82983:68;83020:10;83032:7;83041:9;82983:36;:68::i;:::-;83114:8;::::0;83064:17:::1;83085:20:::0;;;:11:::1;:20;::::0;;;;:26:::1;;::::0;83064:17;;83126:9;;83085:37:::1;::::0;83114:8;83085:37:::1;:::i;:::-;83084:51;;;;:::i;:::-;83064:71;;83162:9;83150;:21;83146:48;;;83180:14;;-1:-1:-1::0;;;83180:14:0::1;;;;;;;;;;;83146:48;83207:32;83217:10;83229:9;83207;:32::i;:::-;83322:13;::::0;83302:34:::1;::::0;;;:19:::1;:34;::::0;;;;;:59:::1;::::0;83352:9;;83302:59:::1;:::i;:::-;83272:13;::::0;;83252:34:::1;::::0;;;:19:::1;:34;::::0;;;;;;;:109;;;;83491:10:::1;83458:44:::0;;:32:::1;:44:::0;;;;;:53;;;;;;;;83530:13;;83458:100;;;;;;;;:125:::1;::::0;83574:9;;83458:125:::1;:::i;:::-;83407:10;83374:44;::::0;;;:32:::1;:44;::::0;;;;;;;:53;;;;;;;;83428:13:::1;::::0;83374:68;;;;;;;:209;;;;83630:8:::1;::::0;83618:20:::1;::::0;:9;:20:::1;:::i;:::-;83669:15;::::0;83596:42;;-1:-1:-1;83649:50:0::1;::::0;-1:-1:-1;;;;;83669:15:0::1;83596:42:::0;83649:11:::1;:50::i;:::-;82741:966;;15331:20:::0;14622:1;15873:7;:21;15690:212;15331:20;82600:1107;;;;:::o;87693:279::-;87867:6;87862:102;87883:8;:15;87879:1;:19;87862:102;;;87918:46;87935:4;87941:2;87945:8;87954:1;87945:11;;;;;;;;:::i;:::-;;;;;;;87958:5;87918:16;:46::i;:::-;87900:3;;87862:102;;;;87693:279;;;;:::o;88055:111::-;2698:13;:11;:13::i;:::-;88103:55:::1;88123:10;88136:21;88103:11;:55::i;:::-;88055:111::o:0;49482:193::-;49628:39;49645:4;49651:2;49655:7;49628:39;;;;;;;;;;;;:16;:39::i;:::-;49482:193;;;:::o;84605:192::-;15287:21;:19;:21::i;:::-;2698:13:::1;:11;:13::i;:::-;84724:29:::2;84743:9;84724:18;:29::i;:::-;84764:25;84774:3;84779:9;84764;:25::i;:::-;15331:20:::0;14622:1;15873:7;:21;15690:212;15331:20;84605:192;;:::o;81585:548::-;2698:13;:11;:13::i;:::-;81690:1:::1;81670:21:::0;;;81666:47:::1;;81700:13;;-1:-1:-1::0;;;81700:13:0::1;;;;;;;;;;;81666:47;81728:22;::::0;:26;81724:126:::1;;81794:22;::::0;81775:41;::::1;81771:67;;;81825:13;;-1:-1:-1::0;;;81825:13:0::1;;;;;;;;;;;81771:67;81892:9;81887:114;81907:20:::0;;::::1;81887:114;;;81973:9;;81983:1;81973:12;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;81953:17;::::0;;;:14:::1;:17;::::0;;;;:32:::1;::::0;:17;:32:::1;:::i;:::-;-1:-1:-1::0;;81929:3:0::1;;81887:114;;;-1:-1:-1::0;82028:22:0::1;::::0;:41;-1:-1:-1;82024:101:0::1;;;82084:22;:41:::0;-1:-1:-1;81585:548:0:o;82242:165::-;2698:13;:11;:13::i;:::-;82327:10:::1;::::0;-1:-1:-1;;;82327:10:0;::::1;;;82322:36;;82339:19;82353:4;82339:13;:19::i;:::-;82369:13;:30:::0;82242:165::o;88601:155::-;88664:7;88724:24;;;:19;:24;;;;;;;;;88691:14;:19;;;;;:30;;;:57;;88724:24;88691:57;:::i;73668:526::-;73783:23;73869:8;73844:22;73869:8;-1:-1:-1;;;;;73936:68:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73936:68:0;;-1:-1:-1;;73936:68:0;;;;;;;;;;;;73899:105;;74024:9;74019:125;74040:14;74035:1;:19;74019:125;;74096:32;74116:8;;74125:1;74116:11;;;;;;;:::i;:::-;;;;;;;74096:19;:32::i;:::-;74080:10;74091:1;74080:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;74056:3;;74019:125;;;-1:-1:-1;74165:10:0;73668:526;-1:-1:-1;;;;73668:526:0:o;37369:168::-;37457:7;37500:27;37519:7;37500:18;:27::i;82141:93::-;2698:13;:11;:13::i;:::-;82206:10:::1;:20:::0;;;::::1;;-1:-1:-1::0;;;82206:20:0::1;-1:-1:-1::0;;;;82206:20:0;;::::1;::::0;;;::::1;::::0;;82141:93::o;86427:117::-;2698:13;:11;:13::i;:::-;86508:12:::1;:28:::0;;-1:-1:-1;;86508:28:0::1;::::0;::::1;;::::0;;;::::1;::::0;;86427:117::o;32738:249::-;32826:7;-1:-1:-1;;;;;32850:19:0;;32846:60;;32878:28;;-1:-1:-1;;;32878:28:0;;;;;;;;;;;32846:60;-1:-1:-1;;;;;;32924:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;32924:55:0;;32738:249::o;86325:94::-;86368:13;86401:10;:8;:10::i;:::-;86394:17;;86325:94;:::o;3487:103::-;2698:13;:11;:13::i;:::-;3552:30:::1;3579:1;3552:18;:30::i;81071:506::-:0;2698:13;:11;:13::i;:::-;81164:1:::1;81147:18:::0;;;81143:44:::1;;81174:13;;-1:-1:-1::0;;;81174:13:0::1;;;;;;;;;;;81143:44;81202:19;::::0;:23;81198:117:::1;;81262:19;::::0;81246:35;::::1;81242:61;;;81290:13;;-1:-1:-1::0;;;81290:13:0::1;;;;;;;;;;;81242:61;81357:9;81352:105;81372:17:::0;;::::1;81352:105;;;81432:6;;81439:1;81432:9;;;;;;;:::i;:::-;81415:14;::::0;;;:11:::1;:14;::::0;;;;;;;;81432:9:::1;::::0;;::::1;::::0;;;::::1;18360:19:1::0;;18388:21;;18467:14;;;18454:28;18508:1;18498:12;;18491:29;18578:14;;18565:28;18619:1;18609:12;;18602:29;81415:14:0;-1:-1:-1;;;81391:3:0::1;;81352:105;;;-1:-1:-1::0;81484:19:0::1;::::0;:35;-1:-1:-1;81480:89:0::1;;;81534:19;:35:::0;-1:-1:-1;81071:506:0:o;77608:982::-;77702:16;77756:19;77790:25;77830:22;77855:16;77865:5;77855:9;:16::i;:::-;77830:41;;77886:25;77928:14;-1:-1:-1;;;;;77914:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77914:29:0;;77886:57;;77958:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77958:31:0;80243:1;78004:538;78088:14;78073:11;:29;78004:538;;78171:15;78184:1;78171:12;:15::i;:::-;78159:27;;78209:9;:16;;;78250:8;78205:73;78300:14;;-1:-1:-1;;;;;78300:28:0;;78296:111;;78373:14;;;-1:-1:-1;78296:111:0;78450:5;-1:-1:-1;;;;;78429:26:0;:17;-1:-1:-1;;;;;78429:26:0;;78425:102;;78506:1;78480:8;78489:13;;;;;;78480:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;78425:102;78121:3;;78004:538;;;-1:-1:-1;78563:8:0;;77608:982;-1:-1:-1;;;;;;77608:982:0:o;87450:235::-;87591:6;87586:91;87607:8;:15;87603:1;:19;87586:91;;;87642:35;87655:4;87661:2;87665:8;87674:1;87665:11;;;;;;;;:::i;:::-;;;;;;;87642:12;:35::i;:::-;87624:3;;87586:91;;36089:104;36145:13;36178:7;36171:14;;;;;:::i;74582:2579::-;74725:16;74792:4;74783:5;:13;74779:45;;74805:19;;-1:-1:-1;;;74805:19:0;;;;;;;;;;;74779:45;74839:19;74873:17;74893:14;31296:7;31323:13;;31241:103;74893:14;74873:34;-1:-1:-1;80243:1:0;74985:5;:23;74981:87;;;80243:1;75029:23;;74981:87;75144:9;75137:4;:16;75133:73;;;75181:9;75174:16;;75133:73;75220:25;75248:16;75258:5;75248:9;:16::i;:::-;75220:44;;75442:4;75434:5;:12;75430:278;;;75489:12;;;75524:31;;;75520:111;;;75600:11;75580:31;;75520:111;75448:198;75430:278;;;-1:-1:-1;75691:1:0;75430:278;75722:25;75764:17;-1:-1:-1;;;;;75750:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75750:32:0;;75722:60;;75801:17;75822:1;75801:22;75797:78;;75851:8;-1:-1:-1;75844:15:0;;-1:-1:-1;;;75844:15:0;75797:78;76019:31;76053:26;76073:5;76053:19;:26::i;:::-;76019:60;;76094:25;76339:9;:16;;;76334:92;;-1:-1:-1;76396:14:0;;76334:92;76475:5;76440:544;76504:4;76499:1;:9;;:45;;;;;76527:17;76512:11;:32;;76499:45;76440:544;;;76613:15;76626:1;76613:12;:15::i;:::-;76601:27;;76651:9;:16;;;76692:8;76647:73;76742:14;;-1:-1:-1;;;;;76742:28:0;;76738:111;;76815:14;;;-1:-1:-1;76738:111:0;76892:5;-1:-1:-1;;;;;76871:26:0;:17;-1:-1:-1;;;;;76871:26:0;;76867:102;;76948:1;76922:8;76931:13;;;;;;76922:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;76867:102;76563:3;;76440:544;;;-1:-1:-1;;;77069:29:0;;;-1:-1:-1;77076:8:0;;-1:-1:-1;;74582:2579:0;;;;;;:::o;43236:259::-;67420:10;43356:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43356:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43356:60:0;;;;;;;;;;43432:55;;540:41:1;;;43356:49:0;;67420:10;43432:55;;513:18:1;43432:55:0;;;;;;;43236:259;;:::o;89607:646::-;89698:7;89720;89742:13;89770;89798;89826:7;89848:4;89867;89886;89905:13;78985:1;79297;90032:13;90060:10;90085:12;90112;;90139:10;;;;;;;;;;;90164:16;;;;;;;;;;;90195:12;;;;;;;;;;;90222;89946:299;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89607:646;;;;;;;;;;:::o;88486:107::-;88529:7;32221:13;;-1:-1:-1;;32221:31:0;88556:12;;:29;;;;:::i;86552:263::-;2698:13;:11;:13::i;:::-;86678:16:::1;::::0;-1:-1:-1;;;86678:16:0;::::1;;;86674:47;;;86703:18;;-1:-1:-1::0;;;86703:18:0::1;;;;;;;;;;;86674:47;86732:12;:26;86747:11:::0;86732:12;:26:::1;:::i;:::-;;86769:38;86793:13;86769:23;:38::i;50273:407::-:0;50448:31;50461:4;50467:2;50471:7;50448:12;:31::i;:::-;-1:-1:-1;;;;;50494:14:0;;;:19;50490:183;;50533:56;50564:4;50570:2;50574:7;50583:5;50533:30;:56::i;:::-;50528:145;;50617:40;;-1:-1:-1;;;50617:40:0;;;;;;;;;;;73065:444;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80243:1:0;73245:7;:25;:54;;;-1:-1:-1;31296:7:0;31323:13;73274:7;:25;;73245:54;73241:103;;;73323:9;73065:444;-1:-1:-1;;73065:444:0:o;73241:103::-;73366:21;73379:7;73366:12;:21::i;:::-;73354:33;;73402:9;:16;;;73398:65;;;73442:9;73065:444;-1:-1:-1;;73065:444:0:o;73398:65::-;73480:21;73493:7;73480:12;:21::i;86941:426::-;87049:13;87080:16;87088:7;87080;:16::i;:::-;87075:49;;87105:19;;-1:-1:-1;;;87105:19:0;;;;;;;;;;;87075:49;87137:21;87161:10;:8;:10::i;:::-;87137:34;;87192:7;87186:21;87211:1;87186:26;87182:41;;-1:-1:-1;;87214:9:0;;;;;;;;;-1:-1:-1;87214:9:0;;;86941:426;-1:-1:-1;86941:426:0:o;87182:41::-;87256:12;;87236:17;;87256:12;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87256:27:0;;;;87236:47;;87325:7;87334:18;87344:7;87334:9;:18::i;:::-;87354:3;87308:50;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;87294:65;;;;86941:426;;;:::o;86823:110::-;2698:13;:11;:13::i;:::-;86884:16:::1;::::0;-1:-1:-1;;;86884:16:0;::::1;;;86879:46;;86902:16;:23:::0;;-1:-1:-1;;;;86902:23:0::1;-1:-1:-1::0;;;86902:23:0::1;::::0;;86823:110::o;90261:562::-;90367:7;90376;90385;90405:25;90433:12;:10;:12::i;:::-;90405:40;;90456:33;90492:34;90512:13;;90492:19;:34::i;:::-;90456:70;;90537:28;90568:109;90628:8;90655:7;90568:41;:109::i;:::-;90712:17;;-1:-1:-1;90744:25:0;;-1:-1:-1;90537:140:0;;-1:-1:-1;;90261:562:0;;;;;;:::o;3745:220::-;2698:13;:11;:13::i;:::-;-1:-1:-1;;;;;3830:22:0;::::1;3826:93;;3876:31;::::0;-1:-1:-1;;;3876:31:0;;3904:1:::1;3876:31;::::0;::::1;1510:51:1::0;1483:18;;3876:31:0::1;1364:203:1::0;3826:93:0::1;3929:28;3948:8;3929:18;:28::i;44099:282::-:0;44164:4;44220:7;80243:1;44201:26;;:66;;;;;44254:13;;44244:7;:23;44201:66;:153;;;;-1:-1:-1;;44305:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44305:44:0;:49;;44099:282::o;38572:1291::-;38655:7;38690;;80243:1;38739:23;38735:1061;;38792:13;;38785:4;:20;38781:1015;;;38830:14;38847:23;;;:17;:23;;;;;;;-1:-1:-1;;;38936:24:0;;:29;;38932:845;;39601:113;39608:6;39618:1;39608:11;39601:113;;-1:-1:-1;;;39679:6:0;39661:25;;;;:17;:25;;;;;;39601:113;;38932:845;38807:989;38781:1015;39824:31;;-1:-1:-1;;;39824:31:0;;;;;;;;;;;15367:315;14665:1;15496:7;;:18;15492:88;;15538:30;;-1:-1:-1;;;15538:30:0;;;;;;;;;;;15492:88;14665:1;15657:7;:17;15367:315::o;84886:135::-;84976:9;84961:12;:10;:12::i;:::-;:24;84957:56;;;84994:19;;-1:-1:-1;;;84994:19:0;;;;;;;;;;;85029:178;85149:9;85112:34;85132:13;;85112:19;:34::i;85215:305::-;85467:9;85391:60;85433:8;85443:7;85391:41;:60::i;:::-;:85;85373:139;;;85495:17;;-1:-1:-1;;;85495:17:0;;;;;;;;;;;60945:112;61022:27;61032:2;61036:8;61022:27;;;;;;;;;;;;:9;:27::i;88174:201::-;88254:6;88264:1;88254:11;88250:24;;88174:201;;:::o;88250:24::-;88285:7;88298:2;-1:-1:-1;;;;;88298:7:0;88313:6;88298:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88284:40;;;88340:2;88335:32;;88351:16;;-1:-1:-1;;;88351:16:0;;;;;;;;;;;85789:290;85931:13;;85851:48;85902:53;;;:14;:53;;;;;;;;:66;;85851:117;;;;;;;;;;;;;;;;;;;85902:66;;85851:117;;;85902:66;85851:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85984:51;85994:31;86027:7;85984:9;:51::i;:::-;85979:92;;86057:14;;-1:-1:-1;;;86057:14:0;;;;;;;;;;;85528:253;85724:13;;-1:-1:-1;;;;;85724:13:0;85676:44;85690:8;85700:7;85709:10;85676:13;:44::i;:::-;-1:-1:-1;;;;;85676:61:0;;85672:101;;85759:14;;-1:-1:-1;;;85759:14:0;;;;;;;;;;;2977:166;2885:6;;-1:-1:-1;;;;;2885:6:0;67420:10;3037:23;3033:103;;3084:40;;-1:-1:-1;;;3084:40:0;;67420:10;3084:40;;;1510:51:1;1483:18;;3084:40:0;1364:203:1;86162:155:0;86222:13;86290:12;86262:46;;;;;;;;:::i;:::-;;;;;;;;;;;;;86248:61;;86162:155;:::o;4125:191::-;4218:6;;;-1:-1:-1;;;;;4235:17:0;;;-1:-1:-1;;;;;;4235:17:0;;;;;;;4268:40;;4218:6;;;4235:17;4218:6;;4268:40;;4199:16;;4268:40;4188:128;4125:191;:::o;38004:177::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38148:24:0;;;;:17;:24;;;;;;38129:44;;:18;:44::i;52764:831::-;52961:171;;-1:-1:-1;;;52961:171:0;;52927:4;;-1:-1:-1;;;;;52961:45:0;;;;;:171;;67420:10;;53063:4;;53086:7;;53112:5;;52961:171;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52961:171:0;;;;;;;;-1:-1:-1;;52961:171:0;;;;;;;;;;;;:::i;:::-;;;52944:644;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53346:6;:13;53363:1;53346:18;53342:235;;53392:40;;-1:-1:-1;;;53392:40:0;;;;;;;;;;;53342:235;53535:6;53529:13;53520:6;53516:2;53512:15;53505:38;52944:644;-1:-1:-1;;;;;;53205:81:0;-1:-1:-1;;;53205:81:0;;-1:-1:-1;52764:831:0;;;;;;:::o;37726:182::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37853:47:0;37872:27;37891:7;37872:18;:27::i;:::-;37853:18;:47::i;67540:1761::-;67621:17;68055:4;68048;68042:11;68038:22;68147:1;68141:4;68134:15;68222:4;68219:1;68215:12;68208:19;;;68304:1;68299:3;68292:14;68408:3;68647:5;68629:428;68695:1;68690:3;68686:11;68679:18;;68866:2;68860:4;68856:13;68852:2;68848:22;68843:3;68835:36;68960:2;68950:13;;69017:25;68629:428;69017:25;-1:-1:-1;69087:13:0;;;-1:-1:-1;;69202:14:0;;;69264:19;;;69202:14;67540:1761;-1:-1:-1;67540:1761:0:o;88764:374::-;-1:-1:-1;;;;;88934:42:0;;88897:7;88934:42;;;:32;:42;;;;;;;;:51;;;;;;;;89000:13;;88934:90;;;;;;;;89057:20;;;:11;:20;;;;;:35;;;89110:20;88934:90;89057:35;89110:20;:::i;:::-;89103:27;88764:374;-1:-1:-1;;;;;88764:374:0:o;59981:880::-;60112:19;60118:2;60122:8;60112:5;:19::i;:::-;-1:-1:-1;;;;;60173:14:0;;;:19;60169:674;;60213:11;60227:13;60275:14;;;60308:424;60365:205;60434:1;60467:2;60500:7;;;;;;60538:5;60365:30;:205::i;:::-;60334:358;;60628:40;;-1:-1:-1;;;60628:40:0;;;;;;;;;;;60334:358;60727:3;60719:5;:11;60308:424;;60814:3;60797:13;;:20;60793:34;;60819:8;;;90831:253;90965:11;;90934:4;;;90987:66;91011:3;91007:1;:7;90987:66;;;91036:4;91025;91030:1;91025:7;;;;;;;;:::i;:::-;;;;;;;:15;91021:32;;91049:4;91042:11;;;;;;91021:32;91016:3;;90987:66;;;-1:-1:-1;91071:5:0;;90831:253;-1:-1:-1;;;;90831:253:0:o;89146:453::-;89380:13;;89344:50;;-1:-1:-1;;23386:2:1;23382:15;;;23378:53;89344:50:0;;;23366:66:1;23448:12;;;23441:28;;;23485:12;;;23478:28;;;;89285:7:0;;;;23522:12:1;;89344:50:0;;;;;;;;;;;;89320:85;;;;;;89305:100;;89416:21;89517:4;89464:58;;;;;;;23787:66:1;23775:79;;23879:2;23870:12;;23863:28;;;;23916:2;23907:12;;23545:380;89464:58:0;;;;;;;;;;;;;89440:93;;;;;;89416:117;;89551:40;89565:13;89580:10;89551:13;:40::i;:::-;89544:47;89146:453;-1:-1:-1;;;;;;89146:453:0:o;39962:382::-;-1:-1:-1;;;;;;;;;;;;;40088:41:0;;;;27556:3;40174:33;;;-1:-1:-1;;;;;40140:68:0;-1:-1:-1;;;40140:68:0;-1:-1:-1;;;40238:24:0;;:29;;-1:-1:-1;;;40219:48:0;;;;28077:3;40307:28;;;;-1:-1:-1;;;40278:58:0;-1:-1:-1;39962:382:0:o;54057:3021::-;54130:20;54153:13;;;54181;;;54177:44;;54203:18;;-1:-1:-1;;;54203:18:0;;;;;;;;;;;54177:44;-1:-1:-1;;;;;54709:22:0;;;;;;:18;:22;;;;27035:2;54709:22;;;:105;;54781:32;54752:62;;54709:105;;;55057:31;;;:17;:31;;;;;-1:-1:-1;41359:15:0;;41333:24;41329:46;40898:11;40873:23;40869:41;40866:52;40821:112;;55057:194;;55313:23;;;;55057:31;;54709:22;;56078:25;54709:22;;55931:335;56592:1;56578:12;56574:20;56532:346;56633:3;56624:7;56621:16;56532:346;;56851:7;56841:8;56838:1;56811:25;56808:1;56805;56800:59;56686:1;56673:15;56532:346;;;56536:77;56911:8;56923:1;56911:13;56907:45;;56933:19;;-1:-1:-1;;;56933:19:0;;;;;;;;;;;56907:45;56969:13;:19;-1:-1:-1;49482:193:0;;;:::o;8293:321::-;8396:7;8417:17;8436:18;8456:16;8476:64;8501:4;8520:9;8476:10;:64::i;:::-;8416:124;;;;;;8551:28;8563:5;8570:8;8551:11;:28::i;:::-;-1:-1:-1;8597:9:0;;8293:321;-1:-1:-1;;;;8293:321:0:o;6596:874::-;6702:7;6711:12;6725:7;6749:9;:16;6769:2;6749:22;6745:718;;7093:4;7078:20;;7072:27;7143:4;7128:20;;7122:27;7201:4;7186:20;;7180:27;6788:9;7172:36;7244:25;7255:4;7172:36;7072:27;7122;7244:10;:25::i;:::-;7237:32;;;;;;;;;;;6745:718;-1:-1:-1;;7419:16:0;;7336:1;;-1:-1:-1;7357:35:0;;7302:149;;12241:542;12337:20;12328:5;:29;;;;;;;;:::i;:::-;;12324:452;;12241:542;;:::o;12324:452::-;12435:29;12426:5;:38;;;;;;;;:::i;:::-;;12422:354;;12488:23;;-1:-1:-1;;;12488:23:0;;;;;;;;;;;12422:354;12542:35;12533:5;:44;;;;;;;;:::i;:::-;;12529:247;;12601:46;;-1:-1:-1;;;12601:46:0;;;;;2201:25:1;;;2174:18;;12601:46:0;2055:177:1;12529:247:0;12678:30;12669:5;:39;;;;;;;;:::i;:::-;;12665:111;;12732:32;;-1:-1:-1;;;12732:32:0;;;;;2201:25:1;;;2174:18;;12732:32:0;2055:177:1;10001:1593:0;10132:7;;;11102:66;11076:92;;11058:203;;;-1:-1:-1;11211:1:0;;-1:-1:-1;11215:30:0;;-1:-1:-1;11247:1:0;11195:54;;11058:203;11375:24;;;11358:14;11375:24;;;;;;;;;24471:25:1;;;24544:4;24532:17;;24512:18;;;24505:45;;;;24566:18;;;24559:34;;;24609:18;;;24602:34;;;11375:24:0;;24443:19:1;;11375:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11375:24:0;;-1:-1:-1;;11375:24:0;;;-1:-1:-1;;;;;;;11414:20:0;;11410:115;;-1:-1:-1;11467:1:0;;-1:-1:-1;11471:29:0;;-1:-1:-1;11467:1:0;;-1:-1:-1;11451:62:0;;11410:115;11545:6;-1:-1:-1;11553:20:0;;-1:-1:-1;11553:20:0;;-1:-1:-1;10001:1593:0;;;;;;;;;:::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:300::-;645:3;683:5;677:12;710:6;705:3;698:19;766:6;759:4;752:5;748:16;741:4;736:3;732:14;726:47;818:1;811:4;802:6;797:3;793:16;789:27;782:38;881:4;874:2;870:7;865:2;857:6;853:15;849:29;844:3;840:39;836:50;829:57;;;592:300;;;;:::o;897:231::-;1046:2;1035:9;1028:21;1009:4;1066:56;1118:2;1107:9;1103:18;1095:6;1066:56;:::i;1133:226::-;1192:6;1245:2;1233:9;1224:7;1220:23;1216:32;1213:52;;;1261:1;1258;1251:12;1213:52;-1:-1:-1;1306:23:1;;1133:226;-1:-1:-1;1133:226:1:o;1572:173::-;1640:20;;-1:-1:-1;;;;;1689:31:1;;1679:42;;1669:70;;1735:1;1732;1725:12;1669:70;1572:173;;;:::o;1750:300::-;1818:6;1826;1879:2;1867:9;1858:7;1854:23;1850:32;1847:52;;;1895:1;1892;1885:12;1847:52;1918:29;1937:9;1918:29;:::i;:::-;1908:39;2016:2;2001:18;;;;1988:32;;-1:-1:-1;;;1750:300:1:o;2237:374::-;2314:6;2322;2330;2383:2;2371:9;2362:7;2358:23;2354:32;2351:52;;;2399:1;2396;2389:12;2351:52;2422:29;2441:9;2422:29;:::i;:::-;2412:39;;2470:38;2504:2;2493:9;2489:18;2470:38;:::i;:::-;2237:374;;2460:48;;-1:-1:-1;;;2577:2:1;2562:18;;;;2549:32;;2237:374::o;2616:820::-;2704:6;2712;2720;2728;2781:2;2769:9;2760:7;2756:23;2752:32;2749:52;;;2797:1;2794;2787:12;2749:52;2842:23;;;-1:-1:-1;2940:2:1;2925:18;;2912:32;-1:-1:-1;;;;;2956:30:1;;2953:50;;;2999:1;2996;2989:12;2953:50;3022:22;;3075:4;3067:13;;3063:27;-1:-1:-1;3053:55:1;;3104:1;3101;3094:12;3053:55;3144:2;3131:16;-1:-1:-1;;;;;3162:6:1;3159:30;3156:50;;;3202:1;3199;3192:12;3156:50;3247:7;3242:2;3233:6;3229:2;3225:15;3221:24;3218:37;3215:57;;;3268:1;3265;3258:12;3215:57;2616:820;;3299:2;3291:11;;;;;-1:-1:-1;3321:6:1;;3400:2;3385:18;3372:32;;2616:820;-1:-1:-1;;;2616:820:1:o;3441:127::-;3502:10;3497:3;3493:20;3490:1;3483:31;3533:4;3530:1;3523:15;3557:4;3554:1;3547:15;3573:275;3644:2;3638:9;3709:2;3690:13;;-1:-1:-1;;3686:27:1;3674:40;;-1:-1:-1;;;;;3729:34:1;;3765:22;;;3726:62;3723:88;;;3791:18;;:::i;:::-;3827:2;3820:22;3573:275;;-1:-1:-1;3573:275:1:o;3853:775::-;3907:5;3960:3;3953:4;3945:6;3941:17;3937:27;3927:55;;3978:1;3975;3968:12;3927:55;4018:6;4005:20;-1:-1:-1;;;;;4040:6:1;4037:30;4034:56;;;4070:18;;:::i;:::-;4116:6;4113:1;4109:14;4143:30;4167:4;4163:2;4159:13;4143:30;:::i;:::-;4209:19;;;4253:4;4285:15;;;4281:26;;;4244:14;;;;4319:15;;;4316:35;;;4347:1;4344;4337:12;4316:35;4383:4;4375:6;4371:17;4360:28;;4397:200;4413:6;4408:3;4405:15;4397:200;;;4505:17;;4535:18;;4582:4;4430:14;;;;4573;;;;4397:200;;4633:449;4697:5;4729:1;-1:-1:-1;;;;;4745:6:1;4742:30;4739:56;;;4775:18;;:::i;:::-;-1:-1:-1;4841:2:1;4820:15;;-1:-1:-1;;4816:29:1;4847:4;4812:40;4870:21;4812:40;4870:21;:::i;:::-;4861:30;;;4914:6;4907:5;4900:21;4954:3;4945:6;4940:3;4936:16;4933:25;4930:45;;;4971:1;4968;4961:12;4930:45;5020:6;5015:3;5008:4;5001:5;4997:16;4984:43;5074:1;5067:4;5058:6;5051:5;5047:18;5043:29;5036:40;4633:449;;;;;:::o;5087:220::-;5129:5;5182:3;5175:4;5167:6;5163:17;5159:27;5149:55;;5200:1;5197;5190:12;5149:55;5222:79;5297:3;5288:6;5275:20;5268:4;5260:6;5256:17;5222:79;:::i;5312:711::-;5432:6;5440;5448;5456;5509:3;5497:9;5488:7;5484:23;5480:33;5477:53;;;5526:1;5523;5516:12;5477:53;5549:29;5568:9;5549:29;:::i;:::-;5539:39;;5597:38;5631:2;5620:9;5616:18;5597:38;:::i;:::-;5587:48;;5686:2;5675:9;5671:18;5658:32;-1:-1:-1;;;;;5705:6:1;5702:30;5699:50;;;5745:1;5742;5735:12;5699:50;5768:61;5821:7;5812:6;5801:9;5797:22;5768:61;:::i;:::-;5758:71;;;5882:2;5871:9;5867:18;5854:32;-1:-1:-1;;;;;5901:8:1;5898:32;5895:52;;;5943:1;5940;5933:12;5895:52;5966:51;6009:7;5998:8;5987:9;5983:24;5966:51;:::i;:::-;5956:61;;;5312:711;;;;;;;:::o;6028:383::-;6107:8;6117:6;6171:3;6164:4;6156:6;6152:17;6148:27;6138:55;;6189:1;6186;6179:12;6138:55;-1:-1:-1;6212:20:1;;-1:-1:-1;;;;;6244:30:1;;6241:50;;;6287:1;6284;6277:12;6241:50;6324:4;6316:6;6312:17;6300:29;;6384:3;6377:4;6367:6;6364:1;6360:14;6352:6;6348:27;6344:38;6341:47;6338:67;;;6401:1;6398;6391:12;6338:67;6028:383;;;;;:::o;6416:480::-;6529:6;6537;6590:2;6578:9;6569:7;6565:23;6561:32;6558:52;;;6606:1;6603;6596:12;6558:52;6646:9;6633:23;-1:-1:-1;;;;;6671:6:1;6668:30;6665:50;;;6711:1;6708;6701:12;6665:50;6750:86;6828:7;6819:6;6808:9;6804:22;6750:86;:::i;:::-;6855:8;;6724:112;;-1:-1:-1;6416:480:1;-1:-1:-1;;;;6416:480:1:o;7359:349::-;7443:12;;-1:-1:-1;;;;;7439:38:1;7427:51;;7531:4;7520:16;;;7514:23;-1:-1:-1;;;;;7510:48:1;7494:14;;;7487:72;7622:4;7611:16;;;7605:23;7598:31;7591:39;7575:14;;;7568:63;7684:4;7673:16;;;7667:23;7692:8;7663:38;7647:14;;7640:62;7359:349::o;7713:701::-;7965:2;7977:21;;;8047:13;;7950:18;;;8069:22;;;7917:4;;8148:15;;;8122:2;8107:18;;;7917:4;8191:197;8205:6;8202:1;8199:13;8191:197;;;8254:52;8302:3;8293:6;8287:13;8254:52;:::i;:::-;8375:2;8363:15;;;;;8335:4;8326:14;;;;;8227:1;8220:9;8191:197;;;-1:-1:-1;8405:3:1;;7713:701;-1:-1:-1;;;;;7713:701:1:o;8419:160::-;8484:20;;8540:13;;8533:21;8523:32;;8513:60;;8569:1;8566;8559:12;8584:180;8640:6;8693:2;8681:9;8672:7;8668:23;8664:32;8661:52;;;8709:1;8706;8699:12;8661:52;8732:26;8748:9;8732:26;:::i;8769:186::-;8828:6;8881:2;8869:9;8860:7;8856:23;8852:32;8849:52;;;8897:1;8894;8887:12;8849:52;8920:29;8939:9;8920:29;:::i;8960:637::-;9070:6;9078;9131:2;9119:9;9110:7;9106:23;9102:32;9099:52;;;9147:1;9144;9137:12;9099:52;9187:9;9174:23;-1:-1:-1;;;;;9212:6:1;9209:30;9206:50;;;9252:1;9249;9242:12;9206:50;9275:22;;9328:4;9320:13;;9316:27;-1:-1:-1;9306:55:1;;9357:1;9354;9347:12;9306:55;9397:2;9384:16;-1:-1:-1;;;;;9415:6:1;9412:30;9409:50;;;9455:1;9452;9445:12;9409:50;9511:7;9506:2;9498:4;9490:6;9486:17;9482:2;9478:26;9474:35;9471:48;9468:68;;;9532:1;9529;9522:12;9468:68;9563:2;9555:11;;;;;9585:6;;-1:-1:-1;8960:637:1;-1:-1:-1;;;8960:637:1:o;9602:611::-;9792:2;9804:21;;;9874:13;;9777:18;;;9896:22;;;9744:4;;9975:15;;;9949:2;9934:18;;;9744:4;10018:169;10032:6;10029:1;10026:13;10018:169;;;10093:13;;10081:26;;10136:2;10162:15;;;;10127:12;;;;10054:1;10047:9;10018:169;;10218:496;10320:6;10328;10336;10389:2;10377:9;10368:7;10364:23;10360:32;10357:52;;;10405:1;10402;10395:12;10357:52;10428:29;10447:9;10428:29;:::i;:::-;10418:39;;10476:38;10510:2;10499:9;10495:18;10476:38;:::i;:::-;10466:48;;10565:2;10554:9;10550:18;10537:32;-1:-1:-1;;;;;10584:6:1;10581:30;10578:50;;;10624:1;10621;10614:12;10578:50;10647:61;10700:7;10691:6;10680:9;10676:22;10647:61;:::i;:::-;10637:71;;;10218:496;;;;;:::o;10719:420::-;10796:6;10804;10812;10865:2;10853:9;10844:7;10840:23;10836:32;10833:52;;;10881:1;10878;10871:12;10833:52;10904:29;10923:9;10904:29;:::i;:::-;10894:39;11002:2;10987:18;;10974:32;;-1:-1:-1;11103:2:1;11088:18;;;11075:32;;10719:420;-1:-1:-1;;;10719:420:1:o;11144:254::-;11209:6;11217;11270:2;11258:9;11249:7;11245:23;11241:32;11238:52;;;11286:1;11283;11276:12;11238:52;11309:29;11328:9;11309:29;:::i;:::-;11299:39;;11357:35;11388:2;11377:9;11373:18;11357:35;:::i;:::-;11347:45;;11144:254;;;;;:::o;11403:1217::-;11846:6;11835:9;11828:25;11889:6;11884:2;11873:9;11869:18;11862:34;11932:3;11927:2;11916:9;11912:18;11905:31;11809:4;11959:57;12011:3;12000:9;11996:19;11988:6;11959:57;:::i;:::-;12064:9;12056:6;12052:22;12047:2;12036:9;12032:18;12025:50;12098:44;12135:6;12127;12098:44;:::i;:::-;12084:58;;12191:9;12183:6;12179:22;12173:3;12162:9;12158:19;12151:51;12225:44;12262:6;12254;12225:44;:::i;:::-;12211:58;;12306:6;12300:3;12289:9;12285:19;12278:35;12364:6;12357:14;12350:22;12344:3;12333:9;12329:19;12322:51;12424:6;12417:14;12410:22;12404:3;12393:9;12389:19;12382:51;12484:6;12477:14;12470:22;12464:3;12453:9;12449:19;12442:51;12542:9;12534:6;12530:22;12524:3;12513:9;12509:19;12502:51;12570:44;12607:6;12599;12570:44;:::i;:::-;12562:52;11403:1217;-1:-1:-1;;;;;;;;;;;;;11403:1217:1:o;12625:522::-;12700:6;12708;12761:2;12749:9;12740:7;12736:23;12732:32;12729:52;;;12777:1;12774;12767:12;12729:52;12817:9;12804:23;-1:-1:-1;;;;;12842:6:1;12839:30;12836:50;;;12882:1;12879;12872:12;12836:50;12905:22;;12958:4;12950:13;;12946:27;-1:-1:-1;12936:55:1;;12987:1;12984;12977:12;12936:55;13010:75;13077:7;13072:2;13059:16;13052:4;13048:2;13044:13;13010:75;:::i;:::-;13000:85;;;13104:37;13135:4;13124:9;13120:20;13104:37;:::i;13152:583::-;13247:6;13255;13263;13271;13324:3;13312:9;13303:7;13299:23;13295:33;13292:53;;;13341:1;13338;13331:12;13292:53;13364:29;13383:9;13364:29;:::i;:::-;13354:39;;13412:38;13446:2;13435:9;13431:18;13412:38;:::i;:::-;13402:48;-1:-1:-1;13519:2:1;13504:18;;13491:32;;-1:-1:-1;13598:2:1;13583:18;;13570:32;-1:-1:-1;;;;;13614:30:1;;13611:50;;;13657:1;13654;13647:12;13740:266;13936:3;13921:19;;13949:51;13925:9;13982:6;13949:51;:::i;14335:260::-;14403:6;14411;14464:2;14452:9;14443:7;14439:23;14435:32;14432:52;;;14480:1;14477;14470:12;14432:52;14503:29;14522:9;14503:29;:::i;:::-;14493:39;;14551:38;14585:2;14574:9;14570:18;14551:38;:::i;14600:380::-;14679:1;14675:12;;;;14722;;;14743:61;;14797:4;14789:6;14785:17;14775:27;;14743:61;14850:2;14842:6;14839:14;14819:18;14816:38;14813:161;;14896:10;14891:3;14887:20;14884:1;14877:31;14931:4;14928:1;14921:15;14959:4;14956:1;14949:15;14813:161;;14600:380;;;:::o;15340:127::-;15401:10;15396:3;15392:20;15389:1;15382:31;15432:4;15429:1;15422:15;15456:4;15453:1;15446:15;15472:125;15537:9;;;15558:10;;;15555:36;;;15571:18;;:::i;15602:168::-;15675:9;;;15706;;15723:15;;;15717:22;;15703:37;15693:71;;15744:18;;:::i;15775:127::-;15836:10;15831:3;15827:20;15824:1;15817:31;15867:4;15864:1;15857:15;15891:4;15888:1;15881:15;15907:324;16000:4;16058:11;16045:25;16152:2;16148:7;16137:8;16121:14;16117:29;16113:43;16093:18;16089:68;16079:96;;16171:1;16168;16161:12;16079:96;16192:33;;;;;15907:324;-1:-1:-1;;15907:324:1:o;16373:147::-;16436:78;16454:3;16447:5;16444:14;16436:78;;;16510:1;16496:16;;16481:1;16470:13;16436:78;;16525:1530;16698:19;;16726:21;;16784:1;16774:12;;16845:2;16834:14;;16821:28;16900:14;16896:26;;;-1:-1:-1;;16892:40:1;16868:65;;16858:93;;16947:1;16944;16937:12;16858:93;16972:30;;17025:18;;-1:-1:-1;;;;;17062:30:1;;17101:22;;;;17119:1;17116;17109:12;17101:22;17156:2;17150:4;17146:13;17132:27;;17210:6;17207:1;17203:14;17187;17183:35;17175:6;17171:48;17168:68;;;17232:1;17229;17222:12;17168:68;-1:-1:-1;17275:20:1;17264:32;;17261:58;;;17299:18;;:::i;:::-;17348:10;17342:17;17387:6;17375:10;17368:26;17417:6;17409;17406:18;17403:194;;;17457:10;17454:1;17447:21;17506:2;17503:1;17493:16;17522:65;17579:6;17573:4;17569:17;17560:6;17554:4;17550:17;17522:65;:::i;:::-;;17403:194;-1:-1:-1;17642:1:1;17635:21;;;17692:2;17679:16;;;17723:215;17737:6;17734:1;17731:13;17723:215;;;17826:20;;17904:14;;;17897:31;17881:2;17869:15;;;;17759:1;17752:9;17723:215;;;-1:-1:-1;;;;18007:2:1;17996:14;;;;17983:28;18037:1;18027:12;;;18020:29;16525:1530::o;18060:128::-;18127:9;;;18148:11;;;18145:37;;;18162:18;;:::i;18642:419::-;18744:2;18739:3;18736:11;18733:322;;;18780:5;18777:1;18770:16;18824:4;18821:1;18811:18;18894:2;18882:10;18878:19;18875:1;18871:27;18865:4;18861:38;18930:4;18918:10;18915:20;18912:47;;;-1:-1:-1;18953:4:1;18912:47;18972:73;19039:2;19034:3;19030:12;19027:1;19023:20;19017:4;19013:31;19000:11;18972:73;:::i;19237:1310::-;19363:3;19357:10;-1:-1:-1;;;;;19382:6:1;19379:30;19376:56;;;19412:18;;:::i;:::-;19441:97;19531:6;19491:38;19523:4;19517:11;19491:38;:::i;:::-;19485:4;19441:97;:::i;:::-;19587:4;19618:2;19607:14;;19635:1;19630:660;;;;20334:1;20351:6;20348:89;;;-1:-1:-1;20403:19:1;;;20397:26;20348:89;-1:-1:-1;;19194:1:1;19190:11;;;19186:24;19182:29;19172:40;19218:1;19214:11;;;19169:57;20450:81;;19600:941;;19630:660;16320:1;16313:14;;;16357:4;16344:18;;-1:-1:-1;;19666:20:1;;;19795:222;19809:7;19806:1;19803:14;19795:222;;;19891:19;;;19885:26;19870:42;;19998:4;19983:20;;;;19951:1;19939:14;;;;19825:12;19795:222;;;19799:3;20045:6;20036:7;20033:19;20030:201;;;20106:19;;;20100:26;-1:-1:-1;;20189:1:1;20185:14;;;20201:3;20181:24;20177:37;20173:42;20158:58;20143:74;;20030:201;-1:-1:-1;;;;20277:1:1;20261:14;;;20257:22;20244:36;;-1:-1:-1;19237:1310:1:o;20552:212::-;20594:3;20632:5;20626:12;20676:6;20669:4;20662:5;20658:16;20653:3;20647:36;20738:1;20702:16;;20727:13;;;-1:-1:-1;20702:16:1;;20552:212;-1:-1:-1;20552:212:1:o;20769:342::-;20996:3;21021:84;21047:57;21073:30;21099:3;21091:6;21073:30;:::i;:::-;21065:6;21047:57;:::i;:::-;21039:6;21021:84;:::i;21326:1095::-;-1:-1:-1;;;21681:3:1;21674:22;21656:3;21716:1;21749:6;21743:13;21779:36;21805:9;21779:36;:::i;:::-;21846:1;21831:17;;21857:149;;;;22020:1;22015:348;;;;21824:539;;21857:149;21917:3;21913:8;21902:9;21898:24;21894:1;21889:3;21885:11;21878:45;21994:1;21982:6;21975:14;21968:22;21960:6;21956:35;21951:3;21947:45;21943:53;21936:60;;21857:149;;22015:348;22046:6;22043:1;22036:17;22094:4;22091:1;22081:18;22121:1;22135:174;22149:6;22146:1;22143:13;22135:174;;;22237:14;;22220:11;;;22233:1;22216:19;22209:43;22293:1;22280:15;;;;22171:4;22164:12;22135:174;;;22139:3;;22351:1;22342:6;22337:3;22333:16;22329:24;22322:31;;21824:539;-1:-1:-1;;;;;22372:16:1;;-1:-1:-1;22413:1:1;22404:11;;21326:1095;-1:-1:-1;;;21326:1095:1:o;22426:496::-;-1:-1:-1;;;;;22657:32:1;;;22639:51;;22726:32;;22721:2;22706:18;;22699:60;22790:2;22775:18;;22768:34;;;22838:3;22833:2;22818:18;;22811:31;;;-1:-1:-1;;22859:57:1;;22896:19;;22888:6;22859:57;:::i;22927:249::-;22996:6;23049:2;23037:9;23028:7;23024:23;23020:32;23017:52;;;23065:1;23062;23055:12;23017:52;23097:9;23091:16;23116:30;23140:5;23116:30;:::i;23930:127::-;23991:10;23986:3;23982:20;23979:1;23972:31;24022:4;24019:1;24012:15;24046:4;24043:1;24036:15

Swarm Source

ipfs://0d872db2df5063a17649654df757aa7a2dd55ffcfee6e0133c15a8362aa488e8
[ 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.