ETH Price: $2,603.48 (+0.51%)

Token

Gala Grrrls (GG)
 

Overview

Max Total Supply

379 GG

Holders

134

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 GG
0x4D94a5193E0005581C546f63FF12Ef8be977785c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GalaGrrrls

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-24
*/

// SPDX-License-Identifier: MIT

// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

pragma solidity ^0.8.6;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // 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 tokenId of the next token 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`
    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 => address) private _tokenApprovals;

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

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

    /**
     * @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 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 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 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 returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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 auxillary 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 auxillary 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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @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.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // 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 `_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));

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // 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] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // 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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _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))
                }
            }
        }
    }

    /**
     * @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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

// OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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


pragma solidity ^0.8.11;
pragma abicoder v2;

contract GalaGrrrls is ERC721A, Ownable, ReentrancyGuard {
  using SafeMath for uint256;
  
  using MerkleProof for bytes32[];
  bytes32 public whitelistMerkleRoot;
  bool public preSaleIsActive = false;
  bool public saleIsActive = false;
  uint256 public tokenPrice = 40000000000000000;
  
  uint public constant MAX_TOKEN_PER_TXN = 21;
  
  uint256 public constant MAX_TOKENS = 6001;
  
  uint public tokenReserve = 200;
  address public proxyRegistryAddress;
  mapping(address => uint256) private allowance;
  string public baseURI;
    
  constructor() ERC721A("Gala Grrrls", "GG") {
    setBaseURI("https://blam.io/api/gala-grrrls/lm/");
    proxyRegistryAddress = address(0xa5409ec958C83C3f309868babACA7c86DCB077c1);
  }

  function updateTokenPrice(uint256 newPrice) public onlyOwner {
    require(!saleIsActive, "Sale must be inactive to change token price");
    tokenPrice = newPrice;
  }

  
  function withdraw() public onlyOwner {
    uint256 balance = address(this).balance;
    require(balance > 0);

    address owner = payable(_msgSender());
    address payoutAddress1 = payable(0xAc01B61D659bD72b120DB7c5289BBFc020771943);
    uint256 payoutPayment1 = balance.mul(2).div(100);
    address payoutAddress2 = payable(0x8fc1F1F48cBB2e4A0f1dfeB9e6019606b307C3c4);
    uint256 payoutPayment2 = balance.mul(5).div(100);
    address payoutAddress3 = payable(0xc79EFD6C254D28BcFe8701C8c40736a7ce16e4Cb);
    uint256 payoutPayment3 = balance.mul(92).div(100);
    
    (bool success1, ) = payoutAddress1.call{value: payoutPayment1}("");
    require(success1, "Failed to send.");
    
    (bool success2, ) = payoutAddress2.call{value: payoutPayment2}("");
    require(success2, "Failed to send.");
    
    (bool success3, ) = payoutAddress3.call{value: payoutPayment3}("");
    require(success3, "Failed to send.");
    

    (bool ownerSuccess, ) = owner.call{value: address(this).balance}("");
    require(ownerSuccess, "Failed to send to Owner.");
  }
  
  function reserveTokens(address _to, uint256 _reserveAmount) public onlyOwner {        
    require(_reserveAmount > 0 && _reserveAmount <= tokenReserve, "Not enough reserve left for team");
    _safeMint(_to, _reserveAmount);
    tokenReserve = tokenReserve.sub(_reserveAmount);
  }
  
  function setBaseURI(string memory _baseURI) public onlyOwner {
    baseURI = _baseURI;
  }

  function flipSaleState() public onlyOwner {
    saleIsActive = !saleIsActive;
  }
  
  function flipPreSaleState() public onlyOwner {
    preSaleIsActive = !preSaleIsActive;
  }
  
  function whitelistMint(uint256 numberOfTokens, uint256 allowed, bytes32[] memory proof) public payable nonReentrant {
    require(_msgSender() == tx.origin, "No smart contracts allowed.");
    require(preSaleIsActive, "Pre-sale not started or has ended");
    require(
      _verify(_leaf(_msgSender(), allowed), proof),
      "Your address is not whitelisted"
    );
    require(allowance[_msgSender()] + numberOfTokens <= allowed, "Exceeds wallet allowance");
    require(msg.value == tokenPrice.mul(numberOfTokens), "Ether sent is not correct");

    allowance[_msgSender()] += numberOfTokens;
    _safeMint(_msgSender(), numberOfTokens);
  }
  
  function mintToken(uint numberOfTokens) public payable nonReentrant {
    require(saleIsActive, "Sale must be active to mint");
    require(numberOfTokens < MAX_TOKEN_PER_TXN, "The max mint per transaction is 20");
    require(totalSupply().add(numberOfTokens) < MAX_TOKENS, "Purchase would exceed max supply");
    require(msg.value == tokenPrice.mul(numberOfTokens), "Ether value sent is not correct");
    
    _safeMint(_msgSender(), numberOfTokens);
  }
  
  function _leaf(address account, uint256 count) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(account, count));
  }

  function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) {
    return MerkleProof.verify(proof, whitelistMerkleRoot, leaf);
  }

  function setRoot(bytes32 root) external onlyOwner {
    whitelistMerkleRoot = root;
  }
  
  function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
    proxyRegistryAddress = _proxyRegistryAddress;
  }

  function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
    OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
    if (address(proxyRegistry.proxies(_owner)) == operator) return true;

    return super.isApprovedForAll(_owner, operator);
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "Token does not exist.");
    return string(abi.encodePacked(baseURI, Strings.toString(tokenId)));
  }
}

contract OwnableDelegateProxy {}
contract OpenSeaProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_PER_TXN","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintToken","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":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updateTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"allowed","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600b805461ffff19169055668e1bc9bf040000600c5560c8600d553480156200002c57600080fd5b506040518060400160405280600b81526020016a47616c6120477272726c7360a81b81525060405180604001604052806002815260200161474760f01b815250816002908051906020019062000084929190620001ce565b5080516200009a906003906020840190620001ce565b50506000805550620000ac3362000104565b6001600981905550620000d8604051806060016040528060238152602001620027126023913962000156565b600e80546001600160a01b03191673a5409ec958c83c3f309868babaca7c86dcb077c1179055620002b1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001ca906010906020840190620001ce565b5050565b828054620001dc9062000274565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b600181811c908216806200028957607f821691505b60208210811415620002ab57634e487b7160e01b600052602260045260246000fd5b50919050565b61245180620002c16000396000f3fe60806040526004361061020f5760003560e01c80637ff9b59611610118578063cbcb3171116100a0578063e985e9c51161006f578063e985e9c5146105a6578063eb8d2444146105c6578063f0325549146105e5578063f2fde38b146105fa578063f47c84c51461061a57600080fd5b8063cbcb317114610530578063cd7c032614610546578063d26ea6c014610566578063dab5f3401461058657600080fd5b8063aa98e0c6116100e7578063aa98e0c6146104b4578063b88d4fde146104ca578063c4be5b59146104ea578063c634d032146104fd578063c87b56dd1461051057600080fd5b80637ff9b5961461044b5780638da5cb5b1461046157806395d89b411461047f578063a22cb4651461049457600080fd5b806342842e0e1161019b578063676c0d771161016a578063676c0d77146103c15780636c0360eb146103e157806370a08231146103f6578063715018a61461041657806378cf19e91461042b57600080fd5b806342842e0e1461034c57806355f804b31461036c578063634da63a1461038c5780636352211e146103a157600080fd5b806318160ddd116101e257806318160ddd146102c55780631f0234d8146102e857806323b872dd1461030257806334918dfd146103225780633ccfd60b1461033757600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611da6565b610630565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e610682565b6040516102409190611e1b565b34801561027757600080fd5b5061028b610286366004611e2e565b610714565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611e5c565b610758565b005b3480156102d157600080fd5b50600154600054035b604051908152602001610240565b3480156102f457600080fd5b50600b546102349060ff1681565b34801561030e57600080fd5b506102c361031d366004611e88565b61082b565b34801561032e57600080fd5b506102c361083b565b34801561034357600080fd5b506102c361088b565b34801561035857600080fd5b506102c3610367366004611e88565b610b4c565b34801561037857600080fd5b506102c3610387366004611f68565b610b67565b34801561039857600080fd5b506102da601581565b3480156103ad57600080fd5b5061028b6103bc366004611e2e565b610ba8565b3480156103cd57600080fd5b506102c36103dc366004611e2e565b610bb3565b3480156103ed57600080fd5b5061025e610c4e565b34801561040257600080fd5b506102da610411366004611fb1565b610cdc565b34801561042257600080fd5b506102c3610d2b565b34801561043757600080fd5b506102c3610446366004611e5c565b610d61565b34801561045757600080fd5b506102da600c5481565b34801561046d57600080fd5b506008546001600160a01b031661028b565b34801561048b57600080fd5b5061025e610e07565b3480156104a057600080fd5b506102c36104af366004611fce565b610e16565b3480156104c057600080fd5b506102da600a5481565b3480156104d657600080fd5b506102c36104e536600461200c565b610eac565b6102c36104f836600461208c565b610ef6565b6102c361050b366004611e2e565b61118d565b34801561051c57600080fd5b5061025e61052b366004611e2e565b61136b565b34801561053c57600080fd5b506102da600d5481565b34801561055257600080fd5b50600e5461028b906001600160a01b031681565b34801561057257600080fd5b506102c3610581366004611fb1565b6113ec565b34801561059257600080fd5b506102c36105a1366004611e2e565b611438565b3480156105b257600080fd5b506102346105c1366004612147565b611467565b3480156105d257600080fd5b50600b5461023490610100900460ff1681565b3480156105f157600080fd5b506102c3611528565b34801561060657600080fd5b506102c3610615366004611fb1565b611566565b34801561062657600080fd5b506102da61177181565b60006301ffc9a760e01b6001600160e01b03198316148061066157506380ac58cd60e01b6001600160e01b03198316145b8061067c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069190612175565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90612175565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b5050505050905090565b600061071f82611601565b61073c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076382611628565b9050806001600160a01b0316836001600160a01b031614156107985760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107cf576107b28133611467565b6107cf576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610836838383611690565b505050565b6008546001600160a01b0316331461086e5760405162461bcd60e51b8152600401610865906121b0565b60405180910390fd5b600b805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b031633146108b55760405162461bcd60e51b8152600401610865906121b0565b47806108c057600080fd5b3373ac01b61d659bd72b120db7c5289bbfc02077194360006108ee60646108e8866002611833565b9061183f565b9050738fc1f1f48cbb2e4a0f1dfeb9e6019606b307c3c4600061091760646108e8886005611833565b905073c79efd6c254d28bcfe8701c8c40736a7ce16e4cb600061094060646108e88a605c611833565b90506000866001600160a01b03168660405160006040518083038185875af1925050503d806000811461098f576040519150601f19603f3d011682016040523d82523d6000602084013e610994565b606091505b50509050806109b55760405162461bcd60e51b8152600401610865906121e5565b6000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610a02576040519150601f19603f3d011682016040523d82523d6000602084013e610a07565b606091505b5050905080610a285760405162461bcd60e51b8152600401610865906121e5565b6000846001600160a01b03168460405160006040518083038185875af1925050503d8060008114610a75576040519150601f19603f3d011682016040523d82523d6000602084013e610a7a565b606091505b5050905080610a9b5760405162461bcd60e51b8152600401610865906121e5565b60008a6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae8576040519150601f19603f3d011682016040523d82523d6000602084013e610aed565b606091505b5050905080610b3e5760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e00000000000000006044820152606401610865565b505050505050505050505050565b61083683838360405180602001604052806000815250610eac565b6008546001600160a01b03163314610b915760405162461bcd60e51b8152600401610865906121b0565b8051610ba4906010906020840190611cf7565b5050565b600061067c82611628565b6008546001600160a01b03163314610bdd5760405162461bcd60e51b8152600401610865906121b0565b600b54610100900460ff1615610c495760405162461bcd60e51b815260206004820152602b60248201527f53616c65206d75737420626520696e61637469766520746f206368616e67652060448201526a746f6b656e20707269636560a81b6064820152608401610865565b600c55565b60108054610c5b90612175565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8790612175565b8015610cd45780601f10610ca957610100808354040283529160200191610cd4565b820191906000526020600020905b815481529060010190602001808311610cb757829003601f168201915b505050505081565b60006001600160a01b038216610d05576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d555760405162461bcd60e51b8152600401610865906121b0565b610d5f600061184b565b565b6008546001600160a01b03163314610d8b5760405162461bcd60e51b8152600401610865906121b0565b600081118015610d9d5750600d548111155b610de95760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610865565b610df3828261189d565b600d54610e0090826118b7565b600d555050565b60606003805461069190612175565b6001600160a01b038216331415610e405760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eb7848484611690565b6001600160a01b0383163b15610ef057610ed3848484846118c3565b610ef0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60026009541415610f495760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610865565b6002600955333214610f9d5760405162461bcd60e51b815260206004820152601b60248201527f4e6f20736d61727420636f6e74726163747320616c6c6f7765642e00000000006044820152606401610865565b600b5460ff16610ff95760405162461bcd60e51b815260206004820152602160248201527f5072652d73616c65206e6f742073746172746564206f722068617320656e64656044820152601960fa1b6064820152608401610865565b604080513360601b6bffffffffffffffffffffffff19166020808301919091526034808301869052835180840390910181526054909201909252805191012061104290826119ab565b61108e5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f742077686974656c6973746564006044820152606401610865565b336000908152600f602052604090205482906110ab908590612224565b11156110f95760405162461bcd60e51b815260206004820152601860248201527f457863656564732077616c6c657420616c6c6f77616e636500000000000000006044820152606401610865565b600c546111069084611833565b34146111545760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610865565b336000908152600f602052604081208054859290611173908490612224565b909155506111839050338461189d565b5050600160095550565b600260095414156111e05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610865565b6002600955600b54610100900460ff1661123c5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610865565b601581106112975760405162461bcd60e51b815260206004820152602260248201527f546865206d6178206d696e7420706572207472616e73616374696f6e20697320604482015261032360f41b6064820152608401610865565b6117716112b1826112ab6001546000540390565b906119ba565b106112fe5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610865565b600c5461130b9082611833565b34146113595760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610865565b611363338261189d565b506001600955565b606061137682611601565b6113ba5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610865565b60106113c5836119c6565b6040516020016113d6929190612258565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146114165760405162461bcd60e51b8152600401610865906121b0565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146114625760405162461bcd60e51b8152600401610865906121b0565b600a55565b600e5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906122ff565b6001600160a01b031614156114f657600191505061067c565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146115525760405162461bcd60e51b8152600401610865906121b0565b600b805460ff19811660ff90911615179055565b6008546001600160a01b031633146115905760405162461bcd60e51b8152600401610865906121b0565b6001600160a01b0381166115f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610865565b6115fe8161184b565b50565b600080548210801561067c575050600090815260046020526040902054600160e01b161590565b60008160005481101561167757600081815260046020526040902054600160e01b8116611675575b8061166e575060001901600081815260046020526040902054611650565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061169b82611628565b9050836001600160a01b0316816001600160a01b0316146116ce5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806116ec57506116ec8533611467565b806117075750336116fc84610714565b6001600160a01b0316145b90508061172757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661174e57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b8617811790915582166117eb57600183016000818152600460205260409020546117e95760005481146117e95760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600061166e828461231c565b600061166e8284612351565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ba4828260405180602001604052806000815250611ac4565b600061166e8284612365565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118f890339089908890889060040161237c565b6020604051808303816000875af1925050508015611933575060408051601f3d908101601f19168201909252611930918101906123b9565b60015b61198e573d808015611961576040519150601f19603f3d011682016040523d82523d6000602084013e611966565b606091505b508051611986576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600061166e82600a5485611c35565b600061166e8284612224565b6060816119ea5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a1457806119fe816123d6565b9150611a0d9050600a83612351565b91506119ee565b60008167ffffffffffffffff811115611a2f57611a2f611ec9565b6040519080825280601f01601f191660200182016040528015611a59576020820181803683370190505b5090505b841561152057611a6e600183612365565b9150611a7b600a866123f1565b611a86906030612224565b60f81b818381518110611a9b57611a9b612405565b60200101906001600160f81b031916908160001a905350611abd600a86612351565b9450611a5d565b6000546001600160a01b038416611aed57604051622e076360e81b815260040160405180910390fd5b82611b0b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611be0575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611ba960008784806001019550876118c3565b611bc6576040516368d2bf6b60e11b815260040160405180910390fd5b808210611b5e578260005414611bdb57600080fd5b611c25565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611be1575b506000908155610ef09085838684565b600082611c428584611c4b565b14949350505050565b600081815b8451811015611cef576000858281518110611c6d57611c6d612405565b60200260200101519050808311611caf576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611cdc565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ce7816123d6565b915050611c50565b509392505050565b828054611d0390612175565b90600052602060002090601f016020900481019282611d255760008555611d6b565b82601f10611d3e57805160ff1916838001178555611d6b565b82800160010185558215611d6b579182015b82811115611d6b578251825591602001919060010190611d50565b50611d77929150611d7b565b5090565b5b80821115611d775760008155600101611d7c565b6001600160e01b0319811681146115fe57600080fd5b600060208284031215611db857600080fd5b813561166e81611d90565b60005b83811015611dde578181015183820152602001611dc6565b83811115610ef05750506000910152565b60008151808452611e07816020860160208601611dc3565b601f01601f19169290920160200192915050565b60208152600061166e6020830184611def565b600060208284031215611e4057600080fd5b5035919050565b6001600160a01b03811681146115fe57600080fd5b60008060408385031215611e6f57600080fd5b8235611e7a81611e47565b946020939093013593505050565b600080600060608486031215611e9d57600080fd5b8335611ea881611e47565b92506020840135611eb881611e47565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611f0857611f08611ec9565b604052919050565b600067ffffffffffffffff831115611f2a57611f2a611ec9565b611f3d601f8401601f1916602001611edf565b9050828152838383011115611f5157600080fd5b828260208301376000602084830101529392505050565b600060208284031215611f7a57600080fd5b813567ffffffffffffffff811115611f9157600080fd5b8201601f81018413611fa257600080fd5b61152084823560208401611f10565b600060208284031215611fc357600080fd5b813561166e81611e47565b60008060408385031215611fe157600080fd5b8235611fec81611e47565b91506020830135801515811461200157600080fd5b809150509250929050565b6000806000806080858703121561202257600080fd5b843561202d81611e47565b9350602085013561203d81611e47565b925060408501359150606085013567ffffffffffffffff81111561206057600080fd5b8501601f8101871361207157600080fd5b61208087823560208401611f10565b91505092959194509250565b6000806000606084860312156120a157600080fd5b833592506020808501359250604085013567ffffffffffffffff808211156120c857600080fd5b818701915087601f8301126120dc57600080fd5b8135818111156120ee576120ee611ec9565b8060051b91506120ff848301611edf565b818152918301840191848101908a84111561211957600080fd5b938501935b838510156121375784358252938501939085019061211e565b8096505050505050509250925092565b6000806040838503121561215a57600080fd5b823561216581611e47565b9150602083013561200181611e47565b600181811c9082168061218957607f821691505b602082108114156121aa57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e2330b4b632b2103a379039b2b7321760891b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156122375761223761220e565b500190565b6000815161224e818560208601611dc3565b9290920192915050565b600080845481600182811c91508083168061227457607f831692505b602080841082141561229457634e487b7160e01b86526022600452602486fd5b8180156122a857600181146122b9576122e6565b60ff198616895284890196506122e6565b60008b81526020902060005b868110156122de5781548b8201529085019083016122c5565b505084890196505b5050505050506122f6818561223c565b95945050505050565b60006020828403121561231157600080fd5b815161166e81611e47565b60008160001904831182151516156123365761233661220e565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826123605761236061233b565b500490565b6000828210156123775761237761220e565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123af90830184611def565b9695505050505050565b6000602082840312156123cb57600080fd5b815161166e81611d90565b60006000198214156123ea576123ea61220e565b5060010190565b6000826124005761240061233b565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212200b0b60fe50d035045dc6e0aaef2e0a95c133f1767da21acd3593b7262b474ae064736f6c634300080b003368747470733a2f2f626c616d2e696f2f6170692f67616c612d677272726c732f6c6d2f

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80637ff9b59611610118578063cbcb3171116100a0578063e985e9c51161006f578063e985e9c5146105a6578063eb8d2444146105c6578063f0325549146105e5578063f2fde38b146105fa578063f47c84c51461061a57600080fd5b8063cbcb317114610530578063cd7c032614610546578063d26ea6c014610566578063dab5f3401461058657600080fd5b8063aa98e0c6116100e7578063aa98e0c6146104b4578063b88d4fde146104ca578063c4be5b59146104ea578063c634d032146104fd578063c87b56dd1461051057600080fd5b80637ff9b5961461044b5780638da5cb5b1461046157806395d89b411461047f578063a22cb4651461049457600080fd5b806342842e0e1161019b578063676c0d771161016a578063676c0d77146103c15780636c0360eb146103e157806370a08231146103f6578063715018a61461041657806378cf19e91461042b57600080fd5b806342842e0e1461034c57806355f804b31461036c578063634da63a1461038c5780636352211e146103a157600080fd5b806318160ddd116101e257806318160ddd146102c55780631f0234d8146102e857806323b872dd1461030257806334918dfd146103225780633ccfd60b1461033757600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611da6565b610630565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e610682565b6040516102409190611e1b565b34801561027757600080fd5b5061028b610286366004611e2e565b610714565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611e5c565b610758565b005b3480156102d157600080fd5b50600154600054035b604051908152602001610240565b3480156102f457600080fd5b50600b546102349060ff1681565b34801561030e57600080fd5b506102c361031d366004611e88565b61082b565b34801561032e57600080fd5b506102c361083b565b34801561034357600080fd5b506102c361088b565b34801561035857600080fd5b506102c3610367366004611e88565b610b4c565b34801561037857600080fd5b506102c3610387366004611f68565b610b67565b34801561039857600080fd5b506102da601581565b3480156103ad57600080fd5b5061028b6103bc366004611e2e565b610ba8565b3480156103cd57600080fd5b506102c36103dc366004611e2e565b610bb3565b3480156103ed57600080fd5b5061025e610c4e565b34801561040257600080fd5b506102da610411366004611fb1565b610cdc565b34801561042257600080fd5b506102c3610d2b565b34801561043757600080fd5b506102c3610446366004611e5c565b610d61565b34801561045757600080fd5b506102da600c5481565b34801561046d57600080fd5b506008546001600160a01b031661028b565b34801561048b57600080fd5b5061025e610e07565b3480156104a057600080fd5b506102c36104af366004611fce565b610e16565b3480156104c057600080fd5b506102da600a5481565b3480156104d657600080fd5b506102c36104e536600461200c565b610eac565b6102c36104f836600461208c565b610ef6565b6102c361050b366004611e2e565b61118d565b34801561051c57600080fd5b5061025e61052b366004611e2e565b61136b565b34801561053c57600080fd5b506102da600d5481565b34801561055257600080fd5b50600e5461028b906001600160a01b031681565b34801561057257600080fd5b506102c3610581366004611fb1565b6113ec565b34801561059257600080fd5b506102c36105a1366004611e2e565b611438565b3480156105b257600080fd5b506102346105c1366004612147565b611467565b3480156105d257600080fd5b50600b5461023490610100900460ff1681565b3480156105f157600080fd5b506102c3611528565b34801561060657600080fd5b506102c3610615366004611fb1565b611566565b34801561062657600080fd5b506102da61177181565b60006301ffc9a760e01b6001600160e01b03198316148061066157506380ac58cd60e01b6001600160e01b03198316145b8061067c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069190612175565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90612175565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b5050505050905090565b600061071f82611601565b61073c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076382611628565b9050806001600160a01b0316836001600160a01b031614156107985760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107cf576107b28133611467565b6107cf576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610836838383611690565b505050565b6008546001600160a01b0316331461086e5760405162461bcd60e51b8152600401610865906121b0565b60405180910390fd5b600b805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b031633146108b55760405162461bcd60e51b8152600401610865906121b0565b47806108c057600080fd5b3373ac01b61d659bd72b120db7c5289bbfc02077194360006108ee60646108e8866002611833565b9061183f565b9050738fc1f1f48cbb2e4a0f1dfeb9e6019606b307c3c4600061091760646108e8886005611833565b905073c79efd6c254d28bcfe8701c8c40736a7ce16e4cb600061094060646108e88a605c611833565b90506000866001600160a01b03168660405160006040518083038185875af1925050503d806000811461098f576040519150601f19603f3d011682016040523d82523d6000602084013e610994565b606091505b50509050806109b55760405162461bcd60e51b8152600401610865906121e5565b6000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610a02576040519150601f19603f3d011682016040523d82523d6000602084013e610a07565b606091505b5050905080610a285760405162461bcd60e51b8152600401610865906121e5565b6000846001600160a01b03168460405160006040518083038185875af1925050503d8060008114610a75576040519150601f19603f3d011682016040523d82523d6000602084013e610a7a565b606091505b5050905080610a9b5760405162461bcd60e51b8152600401610865906121e5565b60008a6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae8576040519150601f19603f3d011682016040523d82523d6000602084013e610aed565b606091505b5050905080610b3e5760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e00000000000000006044820152606401610865565b505050505050505050505050565b61083683838360405180602001604052806000815250610eac565b6008546001600160a01b03163314610b915760405162461bcd60e51b8152600401610865906121b0565b8051610ba4906010906020840190611cf7565b5050565b600061067c82611628565b6008546001600160a01b03163314610bdd5760405162461bcd60e51b8152600401610865906121b0565b600b54610100900460ff1615610c495760405162461bcd60e51b815260206004820152602b60248201527f53616c65206d75737420626520696e61637469766520746f206368616e67652060448201526a746f6b656e20707269636560a81b6064820152608401610865565b600c55565b60108054610c5b90612175565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8790612175565b8015610cd45780601f10610ca957610100808354040283529160200191610cd4565b820191906000526020600020905b815481529060010190602001808311610cb757829003601f168201915b505050505081565b60006001600160a01b038216610d05576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d555760405162461bcd60e51b8152600401610865906121b0565b610d5f600061184b565b565b6008546001600160a01b03163314610d8b5760405162461bcd60e51b8152600401610865906121b0565b600081118015610d9d5750600d548111155b610de95760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610865565b610df3828261189d565b600d54610e0090826118b7565b600d555050565b60606003805461069190612175565b6001600160a01b038216331415610e405760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eb7848484611690565b6001600160a01b0383163b15610ef057610ed3848484846118c3565b610ef0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60026009541415610f495760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610865565b6002600955333214610f9d5760405162461bcd60e51b815260206004820152601b60248201527f4e6f20736d61727420636f6e74726163747320616c6c6f7765642e00000000006044820152606401610865565b600b5460ff16610ff95760405162461bcd60e51b815260206004820152602160248201527f5072652d73616c65206e6f742073746172746564206f722068617320656e64656044820152601960fa1b6064820152608401610865565b604080513360601b6bffffffffffffffffffffffff19166020808301919091526034808301869052835180840390910181526054909201909252805191012061104290826119ab565b61108e5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f742077686974656c6973746564006044820152606401610865565b336000908152600f602052604090205482906110ab908590612224565b11156110f95760405162461bcd60e51b815260206004820152601860248201527f457863656564732077616c6c657420616c6c6f77616e636500000000000000006044820152606401610865565b600c546111069084611833565b34146111545760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610865565b336000908152600f602052604081208054859290611173908490612224565b909155506111839050338461189d565b5050600160095550565b600260095414156111e05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610865565b6002600955600b54610100900460ff1661123c5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610865565b601581106112975760405162461bcd60e51b815260206004820152602260248201527f546865206d6178206d696e7420706572207472616e73616374696f6e20697320604482015261032360f41b6064820152608401610865565b6117716112b1826112ab6001546000540390565b906119ba565b106112fe5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610865565b600c5461130b9082611833565b34146113595760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610865565b611363338261189d565b506001600955565b606061137682611601565b6113ba5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610865565b60106113c5836119c6565b6040516020016113d6929190612258565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146114165760405162461bcd60e51b8152600401610865906121b0565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146114625760405162461bcd60e51b8152600401610865906121b0565b600a55565b600e5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906122ff565b6001600160a01b031614156114f657600191505061067c565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146115525760405162461bcd60e51b8152600401610865906121b0565b600b805460ff19811660ff90911615179055565b6008546001600160a01b031633146115905760405162461bcd60e51b8152600401610865906121b0565b6001600160a01b0381166115f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610865565b6115fe8161184b565b50565b600080548210801561067c575050600090815260046020526040902054600160e01b161590565b60008160005481101561167757600081815260046020526040902054600160e01b8116611675575b8061166e575060001901600081815260046020526040902054611650565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061169b82611628565b9050836001600160a01b0316816001600160a01b0316146116ce5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806116ec57506116ec8533611467565b806117075750336116fc84610714565b6001600160a01b0316145b90508061172757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661174e57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b8617811790915582166117eb57600183016000818152600460205260409020546117e95760005481146117e95760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600061166e828461231c565b600061166e8284612351565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ba4828260405180602001604052806000815250611ac4565b600061166e8284612365565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118f890339089908890889060040161237c565b6020604051808303816000875af1925050508015611933575060408051601f3d908101601f19168201909252611930918101906123b9565b60015b61198e573d808015611961576040519150601f19603f3d011682016040523d82523d6000602084013e611966565b606091505b508051611986576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600061166e82600a5485611c35565b600061166e8284612224565b6060816119ea5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a1457806119fe816123d6565b9150611a0d9050600a83612351565b91506119ee565b60008167ffffffffffffffff811115611a2f57611a2f611ec9565b6040519080825280601f01601f191660200182016040528015611a59576020820181803683370190505b5090505b841561152057611a6e600183612365565b9150611a7b600a866123f1565b611a86906030612224565b60f81b818381518110611a9b57611a9b612405565b60200101906001600160f81b031916908160001a905350611abd600a86612351565b9450611a5d565b6000546001600160a01b038416611aed57604051622e076360e81b815260040160405180910390fd5b82611b0b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611be0575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611ba960008784806001019550876118c3565b611bc6576040516368d2bf6b60e11b815260040160405180910390fd5b808210611b5e578260005414611bdb57600080fd5b611c25565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611be1575b506000908155610ef09085838684565b600082611c428584611c4b565b14949350505050565b600081815b8451811015611cef576000858281518110611c6d57611c6d612405565b60200260200101519050808311611caf576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611cdc565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ce7816123d6565b915050611c50565b509392505050565b828054611d0390612175565b90600052602060002090601f016020900481019282611d255760008555611d6b565b82601f10611d3e57805160ff1916838001178555611d6b565b82800160010185558215611d6b579182015b82811115611d6b578251825591602001919060010190611d50565b50611d77929150611d7b565b5090565b5b80821115611d775760008155600101611d7c565b6001600160e01b0319811681146115fe57600080fd5b600060208284031215611db857600080fd5b813561166e81611d90565b60005b83811015611dde578181015183820152602001611dc6565b83811115610ef05750506000910152565b60008151808452611e07816020860160208601611dc3565b601f01601f19169290920160200192915050565b60208152600061166e6020830184611def565b600060208284031215611e4057600080fd5b5035919050565b6001600160a01b03811681146115fe57600080fd5b60008060408385031215611e6f57600080fd5b8235611e7a81611e47565b946020939093013593505050565b600080600060608486031215611e9d57600080fd5b8335611ea881611e47565b92506020840135611eb881611e47565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611f0857611f08611ec9565b604052919050565b600067ffffffffffffffff831115611f2a57611f2a611ec9565b611f3d601f8401601f1916602001611edf565b9050828152838383011115611f5157600080fd5b828260208301376000602084830101529392505050565b600060208284031215611f7a57600080fd5b813567ffffffffffffffff811115611f9157600080fd5b8201601f81018413611fa257600080fd5b61152084823560208401611f10565b600060208284031215611fc357600080fd5b813561166e81611e47565b60008060408385031215611fe157600080fd5b8235611fec81611e47565b91506020830135801515811461200157600080fd5b809150509250929050565b6000806000806080858703121561202257600080fd5b843561202d81611e47565b9350602085013561203d81611e47565b925060408501359150606085013567ffffffffffffffff81111561206057600080fd5b8501601f8101871361207157600080fd5b61208087823560208401611f10565b91505092959194509250565b6000806000606084860312156120a157600080fd5b833592506020808501359250604085013567ffffffffffffffff808211156120c857600080fd5b818701915087601f8301126120dc57600080fd5b8135818111156120ee576120ee611ec9565b8060051b91506120ff848301611edf565b818152918301840191848101908a84111561211957600080fd5b938501935b838510156121375784358252938501939085019061211e565b8096505050505050509250925092565b6000806040838503121561215a57600080fd5b823561216581611e47565b9150602083013561200181611e47565b600181811c9082168061218957607f821691505b602082108114156121aa57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e2330b4b632b2103a379039b2b7321760891b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156122375761223761220e565b500190565b6000815161224e818560208601611dc3565b9290920192915050565b600080845481600182811c91508083168061227457607f831692505b602080841082141561229457634e487b7160e01b86526022600452602486fd5b8180156122a857600181146122b9576122e6565b60ff198616895284890196506122e6565b60008b81526020902060005b868110156122de5781548b8201529085019083016122c5565b505084890196505b5050505050506122f6818561223c565b95945050505050565b60006020828403121561231157600080fd5b815161166e81611e47565b60008160001904831182151516156123365761233661220e565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826123605761236061233b565b500490565b6000828210156123775761237761220e565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123af90830184611def565b9695505050505050565b6000602082840312156123cb57600080fd5b815161166e81611d90565b60006000198214156123ea576123ea61220e565b5060010190565b6000826124005761240061233b565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212200b0b60fe50d035045dc6e0aaef2e0a95c133f1767da21acd3593b7262b474ae064736f6c634300080b0033

Deployed Bytecode Sourcemap

55720:4851:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28300:615;;;;;;;;;;-1:-1:-1;28300:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;28300:615:0;;;;;;;;33313:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35381:204::-;;;;;;;;;;-1:-1:-1;35381:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;35381:204:0;1550:203:1;34841:474:0;;;;;;;;;;-1:-1:-1;34841:474:0;;;;;:::i;:::-;;:::i;:::-;;27354:315;;;;;;;;;;-1:-1:-1;27620:12:0;;27407:7;27604:13;:28;27354:315;;;2360:25:1;;;2348:2;2333:18;27354:315:0;2214:177:1;55892:35:0;;;;;;;;;;-1:-1:-1;55892:35:0;;;;;;;;36267:170;;;;;;;;;;-1:-1:-1;36267:170:0;;;;;:::i;:::-;;:::i;58137:83::-;;;;;;;;;;;;;:::i;56655:1082::-;;;;;;;;;;;;;:::i;36508:185::-;;;;;;;;;;-1:-1:-1;36508:185:0;;;;;:::i;:::-;;:::i;58039:92::-;;;;;;;;;;-1:-1:-1;58039:92:0;;;;;:::i;:::-;;:::i;56023:43::-;;;;;;;;;;;;56064:2;56023:43;;33102:144;;;;;;;;;;-1:-1:-1;33102:144:0;;;;;:::i;:::-;;:::i;56474:171::-;;;;;;;;;;-1:-1:-1;56474:171:0;;;;;:::i;:::-;;:::i;56250:21::-;;;;;;;;;;;;;:::i;28979:224::-;;;;;;;;;;-1:-1:-1;28979:224:0;;;;;:::i;:::-;;:::i;22513:103::-;;;;;;;;;;;;;:::i;57745:286::-;;;;;;;;;;-1:-1:-1;57745:286:0;;;;;:::i;:::-;;:::i;55969:45::-;;;;;;;;;;;;;;;;21862:87;;;;;;;;;;-1:-1:-1;21935:6:0;;-1:-1:-1;;;;;21935:6:0;21862:87;;33482:104;;;;;;;;;;;;;:::i;35657:308::-;;;;;;;;;;-1:-1:-1;35657:308:0;;;;;:::i;:::-;;:::i;55853:34::-;;;;;;;;;;;;;;;;36764:396;;;;;;;;;;-1:-1:-1;36764:396:0;;;;;:::i;:::-;;:::i;58328:657::-;;;;;;:::i;:::-;;:::i;58993:465::-;;;;;;:::i;:::-;;:::i;60343:225::-;;;;;;;;;;-1:-1:-1;60343:225:0;;;;;:::i;:::-;;:::i;56125:30::-;;;;;;;;;;;;;;;;56160:35;;;;;;;;;;-1:-1:-1;56160:35:0;;;;-1:-1:-1;;;;;56160:35:0;;;59873:140;;;;;;;;;;-1:-1:-1;59873:140:0;;;;;:::i;:::-;;:::i;59776:89::-;;;;;;;;;;-1:-1:-1;59776:89:0;;;;;:::i;:::-;;:::i;60019:318::-;;;;;;;;;;-1:-1:-1;60019:318:0;;;;;:::i;:::-;;:::i;55932:32::-;;;;;;;;;;-1:-1:-1;55932:32:0;;;;;;;;;;;58228:92;;;;;;;;;;;;;:::i;22771:201::-;;;;;;;;;;-1:-1:-1;22771:201:0;;;;;:::i;:::-;;:::i;56075:41::-;;;;;;;;;;;;56112:4;56075:41;;28300:615;28385:4;-1:-1:-1;;;;;;;;;28685:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;28762:25:0;;;28685:102;:179;;;-1:-1:-1;;;;;;;;;;28839:25:0;;;28685:179;28665:199;28300:615;-1:-1:-1;;28300:615:0:o;33313:100::-;33367:13;33400:5;33393:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33313:100;:::o;35381:204::-;35449:7;35474:16;35482:7;35474;:16::i;:::-;35469:64;;35499:34;;-1:-1:-1;;;35499:34:0;;;;;;;;;;;35469:64;-1:-1:-1;35553:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35553:24:0;;35381:204::o;34841:474::-;34914:13;34946:27;34965:7;34946:18;:27::i;:::-;34914:61;;34996:5;-1:-1:-1;;;;;34990:11:0;:2;-1:-1:-1;;;;;34990:11:0;;34986:48;;;35010:24;;-1:-1:-1;;;35010:24:0;;;;;;;;;;;34986:48;51484:10;-1:-1:-1;;;;;35051:28:0;;;35047:175;;35099:44;35116:5;51484:10;60019:318;:::i;35099:44::-;35094:128;;35171:35;;-1:-1:-1;;;35171:35:0;;;;;;;;;;;35094:128;35234:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;35234:29:0;-1:-1:-1;;;;;35234:29:0;;;;;;;;;35279:28;;35234:24;;35279:28;;;;;;;34903:412;34841:474;;:::o;36267:170::-;36401:28;36411:4;36417:2;36421:7;36401:9;:28::i;:::-;36267:170;;;:::o;58137:83::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;;;;;;;;;58202:12:::1;::::0;;-1:-1:-1;;58186:28:0;::::1;58202:12;::::0;;;::::1;;;58201:13;58186:28:::0;;::::1;;::::0;;58137:83::o;56655:1082::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;56717:21:::1;56753:11:::0;56745:20:::1;;;::::0;::::1;;51484:10:::0;56851:42:::1;56774:13;56926:23;56945:3;56926:14;:7:::0;56938:1:::1;56926:11;:14::i;:::-;:18:::0;::::1;:23::i;:::-;56901:48:::0;-1:-1:-1;56989:42:0::1;56956:22;57064:23;57083:3;57064:14;:7:::0;57076:1:::1;57064:11;:14::i;:23::-;57039:48:::0;-1:-1:-1;57127:42:0::1;57094:22;57202:24;57222:3;57202:15;:7:::0;57214:2:::1;57202:11;:15::i;:24::-;57177:49;;57240:13;57259:14;-1:-1:-1::0;;;;;57259:19:0::1;57286:14;57259:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57239:66;;;57320:8;57312:36;;;;-1:-1:-1::0;;;57312:36:0::1;;;;;;;:::i;:::-;57362:13;57381:14;-1:-1:-1::0;;;;;57381:19:0::1;57408:14;57381:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57361:66;;;57442:8;57434:36;;;;-1:-1:-1::0;;;57434:36:0::1;;;;;;;:::i;:::-;57484:13;57503:14;-1:-1:-1::0;;;;;57503:19:0::1;57530:14;57503:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57483:66;;;57564:8;57556:36;;;;-1:-1:-1::0;;;57556:36:0::1;;;;;;;:::i;:::-;57608:17;57631:5;-1:-1:-1::0;;;;;57631:10:0::1;57649:21;57631:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57607:68;;;57690:12;57682:49;;;::::0;-1:-1:-1;;;57682:49:0;;8959:2:1;57682:49:0::1;::::0;::::1;8941:21:1::0;8998:2;8978:18;;;8971:30;9037:26;9017:18;;;9010:54;9081:18;;57682:49:0::1;8757:348:1::0;57682:49:0::1;56692:1045;;;;;;;;;;;;56655:1082::o:0;36508:185::-;36646:39;36663:4;36669:2;36673:7;36646:39;;;;;;;;;;;;:16;:39::i;58039:92::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;58107:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;58039:92:::0;:::o;33102:144::-;33166:7;33209:27;33228:7;33209:18;:27::i;56474:171::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;56551:12:::1;::::0;::::1;::::0;::::1;;;56550:13;56542:69;;;::::0;-1:-1:-1;;;56542:69:0;;9312:2:1;56542:69:0::1;::::0;::::1;9294:21:1::0;9351:2;9331:18;;;9324:30;9390:34;9370:18;;;9363:62;-1:-1:-1;;;9441:18:1;;;9434:41;9492:19;;56542:69:0::1;9110:407:1::0;56542:69:0::1;56618:10;:21:::0;56474:171::o;56250:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28979:224::-;29043:7;-1:-1:-1;;;;;29067:19:0;;29063:60;;29095:28;;-1:-1:-1;;;29095:28:0;;;;;;;;;;;29063:60;-1:-1:-1;;;;;;29141:25:0;;;;;:18;:25;;;;;;24318:13;29141:54;;28979:224::o;22513:103::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;22578:30:::1;22605:1;22578:18;:30::i;:::-;22513:103::o:0;57745:286::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;57862:1:::1;57845:14;:18;:52;;;;;57885:12;;57867:14;:30;;57845:52;57837:97;;;::::0;-1:-1:-1;;;57837:97:0;;9724:2:1;57837:97:0::1;::::0;::::1;9706:21:1::0;;;9743:18;;;9736:30;9802:34;9782:18;;;9775:62;9854:18;;57837:97:0::1;9522:356:1::0;57837:97:0::1;57941:30;57951:3;57956:14;57941:9;:30::i;:::-;57993:12;::::0;:32:::1;::::0;58010:14;57993:16:::1;:32::i;:::-;57978:12;:47:::0;-1:-1:-1;;57745:286:0:o;33482:104::-;33538:13;33571:7;33564:14;;;;;:::i;35657:308::-;-1:-1:-1;;;;;35756:31:0;;51484:10;35756:31;35752:61;;;35796:17;;-1:-1:-1;;;35796:17:0;;;;;;;;;;;35752:61;51484:10;35826:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35826:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35826:60:0;;;;;;;;;;35902:55;;540:41:1;;;35826:49:0;;51484:10;35902:55;;513:18:1;35902:55:0;;;;;;;35657:308;;:::o;36764:396::-;36931:28;36941:4;36947:2;36951:7;36931:9;:28::i;:::-;-1:-1:-1;;;;;36974:14:0;;;:19;36970:183;;37013:56;37044:4;37050:2;37054:7;37063:5;37013:30;:56::i;:::-;37008:145;;37097:40;;-1:-1:-1;;;37097:40:0;;;;;;;;;;;37008:145;36764:396;;;;:::o;58328:657::-;2617:1;3215:7;;:19;;3207:63;;;;-1:-1:-1;;;3207:63:0;;10085:2:1;3207:63:0;;;10067:21:1;10124:2;10104:18;;;10097:30;10163:33;10143:18;;;10136:61;10214:18;;3207:63:0;9883:355:1;3207:63:0;2617:1;3348:7;:18;51484:10;58475:9:::1;58459:25;58451:65;;;::::0;-1:-1:-1;;;58451:65:0;;10445:2:1;58451:65:0::1;::::0;::::1;10427:21:1::0;10484:2;10464:18;;;10457:30;10523:29;10503:18;;;10496:57;10570:18;;58451:65:0::1;10243:351:1::0;58451:65:0::1;58531:15;::::0;::::1;;58523:61;;;::::0;-1:-1:-1;;;58523:61:0;;10801:2:1;58523:61:0::1;::::0;::::1;10783:21:1::0;10840:2;10820:18;;;10813:30;10879:34;10859:18;;;10852:62;-1:-1:-1;;;10930:18:1;;;10923:31;10971:19;;58523:61:0::1;10599:397:1::0;58523:61:0::1;59569:32:::0;;;51484:10;17846:2:1;17842:15;-1:-1:-1;;17838:53:1;59569:32:0;;;;17826:66:1;;;;17908:12;;;;17901:28;;;59569:32:0;;;;;;;;;;17945:12:1;;;;59569:32:0;;;59559:43;;;;;58607:44:::1;::::0;58645:5:::1;58607:7;:44::i;:::-;58591:109;;;::::0;-1:-1:-1;;;58591:109:0;;11203:2:1;58591:109:0::1;::::0;::::1;11185:21:1::0;11242:2;11222:18;;;11215:30;11281:33;11261:18;;;11254:61;11332:18;;58591:109:0::1;11001:355:1::0;58591:109:0::1;51484:10:::0;58715:23:::1;::::0;;;:9:::1;:23;::::0;;;;;58759:7;;58715:40:::1;::::0;58741:14;;58715:40:::1;:::i;:::-;:51;;58707:88;;;::::0;-1:-1:-1;;;58707:88:0;;11828:2:1;58707:88:0::1;::::0;::::1;11810:21:1::0;11867:2;11847:18;;;11840:30;11906:26;11886:18;;;11879:54;11950:18;;58707:88:0::1;11626:348:1::0;58707:88:0::1;58823:10;::::0;:30:::1;::::0;58838:14;58823::::1;:30::i;:::-;58810:9;:43;58802:81;;;::::0;-1:-1:-1;;;58802:81:0;;12181:2:1;58802:81:0::1;::::0;::::1;12163:21:1::0;12220:2;12200:18;;;12193:30;12259:27;12239:18;;;12232:55;12304:18;;58802:81:0::1;11979:349:1::0;58802:81:0::1;51484:10:::0;58892:23:::1;::::0;;;:9:::1;:23;::::0;;;;:41;;58919:14;;58892:23;:41:::1;::::0;58919:14;;58892:41:::1;:::i;:::-;::::0;;;-1:-1:-1;58940:39:0::1;::::0;-1:-1:-1;51484:10:0;58964:14:::1;58940:9;:39::i;:::-;-1:-1:-1::0;;2573:1:0;3527:7;:22;-1:-1:-1;58328:657:0:o;58993:465::-;2617:1;3215:7;;:19;;3207:63;;;;-1:-1:-1;;;3207:63:0;;10085:2:1;3207:63:0;;;10067:21:1;10124:2;10104:18;;;10097:30;10163:33;10143:18;;;10136:61;10214:18;;3207:63:0;9883:355:1;3207:63:0;2617:1;3348:7;:18;59076:12:::1;::::0;::::1;::::0;::::1;;;59068:52;;;::::0;-1:-1:-1;;;59068:52:0;;12535:2:1;59068:52:0::1;::::0;::::1;12517:21:1::0;12574:2;12554:18;;;12547:30;12613:29;12593:18;;;12586:57;12660:18;;59068:52:0::1;12333:351:1::0;59068:52:0::1;56064:2;59135:14;:34;59127:81;;;::::0;-1:-1:-1;;;59127:81:0;;12891:2:1;59127:81:0::1;::::0;::::1;12873:21:1::0;12930:2;12910:18;;;12903:30;12969:34;12949:18;;;12942:62;-1:-1:-1;;;13020:18:1;;;13013:32;13062:19;;59127:81:0::1;12689:398:1::0;59127:81:0::1;56112:4;59223:33;59241:14;59223:13;27620:12:::0;;27407:7;27604:13;:28;;27354:315;59223:13:::1;:17:::0;::::1;:33::i;:::-;:46;59215:91;;;::::0;-1:-1:-1;;;59215:91:0;;13294:2:1;59215:91:0::1;::::0;::::1;13276:21:1::0;;;13313:18;;;13306:30;13372:34;13352:18;;;13345:62;13424:18;;59215:91:0::1;13092:356:1::0;59215:91:0::1;59334:10;::::0;:30:::1;::::0;59349:14;59334::::1;:30::i;:::-;59321:9;:43;59313:87;;;::::0;-1:-1:-1;;;59313:87:0;;13655:2:1;59313:87:0::1;::::0;::::1;13637:21:1::0;13694:2;13674:18;;;13667:30;13733:33;13713:18;;;13706:61;13784:18;;59313:87:0::1;13453:355:1::0;59313:87:0::1;59413:39;51484:10:::0;59437:14:::1;59413:9;:39::i;:::-;-1:-1:-1::0;2573:1:0;3527:7;:22;58993:465::o;60343:225::-;60416:13;60446:16;60454:7;60446;:16::i;:::-;60438:50;;;;-1:-1:-1;;;60438:50:0;;14015:2:1;60438:50:0;;;13997:21:1;14054:2;14034:18;;;14027:30;-1:-1:-1;;;14073:18:1;;;14066:51;14134:18;;60438:50:0;13813:345:1;60438:50:0;60526:7;60535:25;60552:7;60535:16;:25::i;:::-;60509:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60495:67;;60343:225;;;:::o;59873:140::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;59963:20:::1;:44:::0;;-1:-1:-1;;;;;;59963:44:0::1;-1:-1:-1::0;;;;;59963:44:0;;;::::1;::::0;;;::::1;::::0;;59873:140::o;59776:89::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;59833:19:::1;:26:::0;59776:89::o;60019:318::-;60180:20;;60220:29;;-1:-1:-1;;;60220:29:0;;-1:-1:-1;;;;;1714:32:1;;;60220:29:0;;;1696:51:1;60109:4:0;;60180:20;;;60212:50;;;;60180:20;;60220:21;;1669:18:1;;60220:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;60212:50:0;;60208:67;;;60271:4;60264:11;;;;;60208:67;-1:-1:-1;;;;;36157:25:0;;;36133:4;36157:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;60291:40;60284:47;60019:318;-1:-1:-1;;;;60019:318:0:o;58228:92::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;58299:15:::1;::::0;;-1:-1:-1;;58280:34:0;::::1;58299:15;::::0;;::::1;58298:16;58280:34;::::0;;58228:92::o;22771:201::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22860:22:0;::::1;22852:73;;;::::0;-1:-1:-1;;;22852:73:0;;16145:2:1;22852:73:0::1;::::0;::::1;16127:21:1::0;16184:2;16164:18;;;16157:30;16223:34;16203:18;;;16196:62;-1:-1:-1;;;16274:18:1;;;16267:36;16320:19;;22852:73:0::1;15943:402:1::0;22852:73:0::1;22936:28;22955:8;22936:18;:28::i;:::-;22771:201:::0;:::o;37415:273::-;37472:4;37562:13;;37552:7;:23;37509:152;;;;-1:-1:-1;;37613:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;37613:43:0;:48;;37415:273::o;30617:1129::-;30684:7;30719;30821:13;;30814:4;:20;30810:869;;;30859:14;30876:23;;;:17;:23;;;;;;-1:-1:-1;;;30965:23:0;;30961:699;;31484:113;31491:11;31484:113;;-1:-1:-1;;;31562:6:0;31544:25;;;;:17;:25;;;;;;31484:113;;;31630:6;30617:1129;-1:-1:-1;;;30617:1129:0:o;30961:699::-;30836:843;30810:869;31707:31;;-1:-1:-1;;;31707:31:0;;;;;;;;;;;42654:2515;42769:27;42799;42818:7;42799:18;:27::i;:::-;42769:57;;42884:4;-1:-1:-1;;;;;42843:45:0;42859:19;-1:-1:-1;;;;;42843:45:0;;42839:86;;42897:28;;-1:-1:-1;;;42897:28:0;;;;;;;;;;;42839:86;42938:22;51484:10;-1:-1:-1;;;;;42964:27:0;;;;:87;;-1:-1:-1;43008:43:0;43025:4;51484:10;60019:318;:::i;43008:43::-;42964:147;;;-1:-1:-1;51484:10:0;43068:20;43080:7;43068:11;:20::i;:::-;-1:-1:-1;;;;;43068:43:0;;42964:147;42938:174;;43130:17;43125:66;;43156:35;;-1:-1:-1;;;43156:35:0;;;;;;;;;;;43125:66;-1:-1:-1;;;;;43206:16:0;;43202:52;;43231:23;;-1:-1:-1;;;43231:23:0;;;;;;;;;;;43202:52;43383:24;;;;:15;:24;;;;;;;;43376:31;;-1:-1:-1;;;;;;43376:31:0;;;-1:-1:-1;;;;;43775:24:0;;;;;:18;:24;;;;;43773:26;;-1:-1:-1;;43773:26:0;;;43844:22;;;;;;;43842:24;;-1:-1:-1;43842:24:0;;;44137:26;;;:17;:26;;;;;-1:-1:-1;;;44225:15:0;24972:3;44225:41;44183:84;;:128;;44137:174;;;44431:46;;44427:626;;44535:1;44525:11;;44503:19;44658:30;;;:17;:30;;;;;;44654:384;;44796:13;;44781:11;:28;44777:242;;44943:30;;;;:17;:30;;;;;:52;;;44777:242;44484:569;44427:626;45100:7;45096:2;-1:-1:-1;;;;;45081:27:0;45090:4;-1:-1:-1;;;;;45081:27:0;;;;;;;;;;;42758:2411;;42654:2515;;;:::o;15114:98::-;15172:7;15199:5;15203:1;15199;:5;:::i;15513:98::-;15571:7;15598:5;15602:1;15598;:5;:::i;23132:191::-;23225:6;;;-1:-1:-1;;;;;23242:17:0;;;-1:-1:-1;;;;;;23242:17:0;;;;;;;23275:40;;23225:6;;;23242:17;23225:6;;23275:40;;23206:16;;23275:40;23195:128;23132:191;:::o;37772:104::-;37841:27;37851:2;37855:8;37841:27;;;;;;;;;;;;:9;:27::i;14757:98::-;14815:7;14842:5;14846:1;14842;:5;:::i;48866:716::-;49050:88;;-1:-1:-1;;;49050:88:0;;49029:4;;-1:-1:-1;;;;;49050:45:0;;;;;:88;;51484:10;;49117:4;;49123:7;;49132:5;;49050:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49050:88:0;;;;;;;;-1:-1:-1;;49050:88:0;;;;;;;;;;;;:::i;:::-;;;49046:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49333:13:0;;49329:235;;49379:40;;-1:-1:-1;;;49379:40:0;;;;;;;;;;;49329:235;49522:6;49516:13;49507:6;49503:2;49499:15;49492:38;49046:529;-1:-1:-1;;;;;;49209:64:0;-1:-1:-1;;;49209:64:0;;-1:-1:-1;48866:716:0;;;;;;:::o;59614:156::-;59692:4;59712:52;59731:5;59738:19;;59759:4;59712:18;:52::i;14376:98::-;14434:7;14461:5;14465:1;14461;:5;:::i;19100:723::-;19156:13;19377:10;19373:53;;-1:-1:-1;;19404:10:0;;;;;;;;;;;;-1:-1:-1;;;19404:10:0;;;;;19100:723::o;19373:53::-;19451:5;19436:12;19492:78;19499:9;;19492:78;;19525:8;;;;:::i;:::-;;-1:-1:-1;19548:10:0;;-1:-1:-1;19556:2:0;19548:10;;:::i;:::-;;;19492:78;;;19580:19;19612:6;19602:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19602:17:0;;19580:39;;19630:154;19637:10;;19630:154;;19664:11;19674:1;19664:11;;:::i;:::-;;-1:-1:-1;19733:10:0;19741:2;19733:5;:10;:::i;:::-;19720:24;;:2;:24;:::i;:::-;19707:39;;19690:6;19697;19690:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19690:56:0;;;;;;;;-1:-1:-1;19761:11:0;19770:2;19761:11;;:::i;:::-;;;19630:154;;38249:2236;38372:20;38395:13;-1:-1:-1;;;;;38423:16:0;;38419:48;;38448:19;;-1:-1:-1;;;38448:19:0;;;;;;;;;;;38419:48;38482:13;38478:44;;38504:18;;-1:-1:-1;;;38504:18:0;;;;;;;;;;;38478:44;-1:-1:-1;;;;;39071:22:0;;;;;;:18;:22;;;;24455:2;39071:22;;;:70;;39109:31;39097:44;;39071:70;;;39384:31;;;:17;:31;;;;;39477:15;24972:3;39477:41;39435:84;;-1:-1:-1;39555:13:0;;25235:3;39540:56;39435:162;39384:213;;:31;;39678:23;;;;39722:14;:19;39718:635;;39762:313;39793:38;;39818:12;;-1:-1:-1;;;;;39793:38:0;;;39810:1;;39793:38;;39810:1;;39793:38;39859:69;39898:1;39902:2;39906:14;;;;;;39922:5;39859:30;:69::i;:::-;39854:174;;39964:40;;-1:-1:-1;;;39964:40:0;;;;;;;;;;;39854:174;40070:3;40055:12;:18;39762:313;;40156:12;40139:13;;:29;40135:43;;40170:8;;;40135:43;39718:635;;;40219:119;40250:40;;40275:14;;;;;-1:-1:-1;;;;;40250:40:0;;;40267:1;;40250:40;;40267:1;;40250:40;40333:3;40318:12;:18;40219:119;;39718:635;-1:-1:-1;40367:13:0;:28;;;40417:60;;40450:2;40454:12;40468:8;40417:60;:::i;54409:190::-;54534:4;54587;54558:25;54571:5;54578:4;54558:12;:25::i;:::-;:33;;54409:190;-1:-1:-1;;;;54409:190:0:o;54961:701::-;55044:7;55087:4;55044:7;55102:523;55126:5;:12;55122:1;:16;55102:523;;;55160:20;55183:5;55189:1;55183:8;;;;;;;;:::i;:::-;;;;;;;55160:31;;55226:12;55210;:28;55206:408;;55363:44;;;;;;18514:19:1;;;18549:12;;;18542:28;;;18586:12;;55363:44:0;;;;;;;;;;;;55353:55;;;;;;55338:70;;55206:408;;;55553:44;;;;;;18514:19:1;;;18549:12;;;18542:28;;;18586:12;;55553:44:0;;;;;;;;;;;;55543:55;;;;;;55528:70;;55206:408;-1:-1:-1;55140:3:0;;;;:::i;:::-;;;;55102:523;;;-1:-1:-1;55642:12:0;54961:701;-1:-1:-1;;;54961:701:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:131::-;-1:-1:-1;;;;;1833:31:1;;1823:42;;1813:70;;1879:1;1876;1869:12;1894:315;1962:6;1970;2023:2;2011:9;2002:7;1998:23;1994:32;1991:52;;;2039:1;2036;2029:12;1991:52;2078:9;2065:23;2097:31;2122:5;2097:31;:::i;:::-;2147:5;2199:2;2184:18;;;;2171:32;;-1:-1:-1;;;1894:315:1:o;2396:456::-;2473:6;2481;2489;2542:2;2530:9;2521:7;2517:23;2513:32;2510:52;;;2558:1;2555;2548:12;2510:52;2597:9;2584:23;2616:31;2641:5;2616:31;:::i;:::-;2666:5;-1:-1:-1;2723:2:1;2708:18;;2695:32;2736:33;2695:32;2736:33;:::i;:::-;2396:456;;2788:7;;-1:-1:-1;;;2842:2:1;2827:18;;;;2814:32;;2396:456::o;2857:127::-;2918:10;2913:3;2909:20;2906:1;2899:31;2949:4;2946:1;2939:15;2973:4;2970:1;2963:15;2989:275;3060:2;3054:9;3125:2;3106:13;;-1:-1:-1;;3102:27:1;3090:40;;3160:18;3145:34;;3181:22;;;3142:62;3139:88;;;3207:18;;:::i;:::-;3243:2;3236:22;2989:275;;-1:-1:-1;2989:275:1:o;3269:407::-;3334:5;3368:18;3360:6;3357:30;3354:56;;;3390:18;;:::i;:::-;3428:57;3473:2;3452:15;;-1:-1:-1;;3448:29:1;3479:4;3444:40;3428:57;:::i;:::-;3419:66;;3508:6;3501:5;3494:21;3548:3;3539:6;3534:3;3530:16;3527:25;3524:45;;;3565:1;3562;3555:12;3524:45;3614:6;3609:3;3602:4;3595:5;3591:16;3578:43;3668:1;3661:4;3652:6;3645:5;3641:18;3637:29;3630:40;3269:407;;;;;:::o;3681:451::-;3750:6;3803:2;3791:9;3782:7;3778:23;3774:32;3771:52;;;3819:1;3816;3809:12;3771:52;3859:9;3846:23;3892:18;3884:6;3881:30;3878:50;;;3924:1;3921;3914:12;3878:50;3947:22;;4000:4;3992:13;;3988:27;-1:-1:-1;3978:55:1;;4029:1;4026;4019:12;3978:55;4052:74;4118:7;4113:2;4100:16;4095:2;4091;4087:11;4052:74;:::i;4137:247::-;4196:6;4249:2;4237:9;4228:7;4224:23;4220:32;4217:52;;;4265:1;4262;4255:12;4217:52;4304:9;4291:23;4323:31;4348:5;4323:31;:::i;4389:416::-;4454:6;4462;4515:2;4503:9;4494:7;4490:23;4486:32;4483:52;;;4531:1;4528;4521:12;4483:52;4570:9;4557:23;4589:31;4614:5;4589:31;:::i;:::-;4639:5;-1:-1:-1;4696:2:1;4681:18;;4668:32;4738:15;;4731:23;4719:36;;4709:64;;4769:1;4766;4759:12;4709:64;4792:7;4782:17;;;4389:416;;;;;:::o;4992:795::-;5087:6;5095;5103;5111;5164:3;5152:9;5143:7;5139:23;5135:33;5132:53;;;5181:1;5178;5171:12;5132:53;5220:9;5207:23;5239:31;5264:5;5239:31;:::i;:::-;5289:5;-1:-1:-1;5346:2:1;5331:18;;5318:32;5359:33;5318:32;5359:33;:::i;:::-;5411:7;-1:-1:-1;5465:2:1;5450:18;;5437:32;;-1:-1:-1;5520:2:1;5505:18;;5492:32;5547:18;5536:30;;5533:50;;;5579:1;5576;5569:12;5533:50;5602:22;;5655:4;5647:13;;5643:27;-1:-1:-1;5633:55:1;;5684:1;5681;5674:12;5633:55;5707:74;5773:7;5768:2;5755:16;5750:2;5746;5742:11;5707:74;:::i;:::-;5697:84;;;4992:795;;;;;;;:::o;5792:1082::-;5894:6;5902;5910;5963:2;5951:9;5942:7;5938:23;5934:32;5931:52;;;5979:1;5976;5969:12;5931:52;6015:9;6002:23;5992:33;;6044:2;6093;6082:9;6078:18;6065:32;6055:42;;6148:2;6137:9;6133:18;6120:32;6171:18;6212:2;6204:6;6201:14;6198:34;;;6228:1;6225;6218:12;6198:34;6266:6;6255:9;6251:22;6241:32;;6311:7;6304:4;6300:2;6296:13;6292:27;6282:55;;6333:1;6330;6323:12;6282:55;6369:2;6356:16;6391:2;6387;6384:10;6381:36;;;6397:18;;:::i;:::-;6443:2;6440:1;6436:10;6426:20;;6466:28;6490:2;6486;6482:11;6466:28;:::i;:::-;6528:15;;;6598:11;;;6594:20;;;6559:12;;;;6626:19;;;6623:39;;;6658:1;6655;6648:12;6623:39;6682:11;;;;6702:142;6718:6;6713:3;6710:15;6702:142;;;6784:17;;6772:30;;6735:12;;;;6822;;;;6702:142;;;6863:5;6853:15;;;;;;;;5792:1082;;;;;:::o;7064:388::-;7132:6;7140;7193:2;7181:9;7172:7;7168:23;7164:32;7161:52;;;7209:1;7206;7199:12;7161:52;7248:9;7235:23;7267:31;7292:5;7267:31;:::i;:::-;7317:5;-1:-1:-1;7374:2:1;7359:18;;7346:32;7387:33;7346:32;7387:33;:::i;7457:380::-;7536:1;7532:12;;;;7579;;;7600:61;;7654:4;7646:6;7642:17;7632:27;;7600:61;7707:2;7699:6;7696:14;7676:18;7673:38;7670:161;;;7753:10;7748:3;7744:20;7741:1;7734:31;7788:4;7785:1;7778:15;7816:4;7813:1;7806:15;7670:161;;7457:380;;;:::o;7842:356::-;8044:2;8026:21;;;8063:18;;;8056:30;8122:34;8117:2;8102:18;;8095:62;8189:2;8174:18;;7842:356::o;8413:339::-;8615:2;8597:21;;;8654:2;8634:18;;;8627:30;-1:-1:-1;;;8688:2:1;8673:18;;8666:45;8743:2;8728:18;;8413:339::o;11361:127::-;11422:10;11417:3;11413:20;11410:1;11403:31;11453:4;11450:1;11443:15;11477:4;11474:1;11467:15;11493:128;11533:3;11564:1;11560:6;11557:1;11554:13;11551:39;;;11570:18;;:::i;:::-;-1:-1:-1;11606:9:1;;11493:128::o;14289:185::-;14331:3;14369:5;14363:12;14384:52;14429:6;14424:3;14417:4;14410:5;14406:16;14384:52;:::i;:::-;14452:16;;;;;14289:185;-1:-1:-1;;14289:185:1:o;14479:1174::-;14655:3;14684:1;14717:6;14711:13;14747:3;14769:1;14797:9;14793:2;14789:18;14779:28;;14857:2;14846:9;14842:18;14879;14869:61;;14923:4;14915:6;14911:17;14901:27;;14869:61;14949:2;14997;14989:6;14986:14;14966:18;14963:38;14960:165;;;-1:-1:-1;;;15024:33:1;;15080:4;15077:1;15070:15;15110:4;15031:3;15098:17;14960:165;15141:18;15168:104;;;;15286:1;15281:320;;;;15134:467;;15168:104;-1:-1:-1;;15201:24:1;;15189:37;;15246:16;;;;-1:-1:-1;15168:104:1;;15281:320;14236:1;14229:14;;;14273:4;14260:18;;15376:1;15390:165;15404:6;15401:1;15398:13;15390:165;;;15482:14;;15469:11;;;15462:35;15525:16;;;;15419:10;;15390:165;;;15394:3;;15584:6;15579:3;15575:16;15568:23;;15134:467;;;;;;;15617:30;15643:3;15635:6;15617:30;:::i;:::-;15610:37;14479:1174;-1:-1:-1;;;;;14479:1174:1:o;15658:280::-;15757:6;15810:2;15798:9;15789:7;15785:23;15781:32;15778:52;;;15826:1;15823;15816:12;15778:52;15858:9;15852:16;15877:31;15902:5;15877:31;:::i;16350:168::-;16390:7;16456:1;16452;16448:6;16444:14;16441:1;16438:21;16433:1;16426:9;16419:17;16415:45;16412:71;;;16463:18;;:::i;:::-;-1:-1:-1;16503:9:1;;16350:168::o;16523:127::-;16584:10;16579:3;16575:20;16572:1;16565:31;16615:4;16612:1;16605:15;16639:4;16636:1;16629:15;16655:120;16695:1;16721;16711:35;;16726:18;;:::i;:::-;-1:-1:-1;16760:9:1;;16655:120::o;16780:125::-;16820:4;16848:1;16845;16842:8;16839:34;;;16853:18;;:::i;:::-;-1:-1:-1;16890:9:1;;16780:125::o;16910:500::-;-1:-1:-1;;;;;17179:15:1;;;17161:34;;17231:15;;17226:2;17211:18;;17204:43;17278:2;17263:18;;17256:34;;;17326:3;17321:2;17306:18;;17299:31;;;17104:4;;17347:57;;17384:19;;17376:6;17347:57;:::i;:::-;17339:65;16910:500;-1:-1:-1;;;;;;16910:500:1:o;17415:249::-;17484:6;17537:2;17525:9;17516:7;17512:23;17508:32;17505:52;;;17553:1;17550;17543:12;17505:52;17585:9;17579:16;17604:30;17628:5;17604:30;:::i;17968:135::-;18007:3;-1:-1:-1;;18028:17:1;;18025:43;;;18048:18;;:::i;:::-;-1:-1:-1;18095:1:1;18084:13;;17968:135::o;18108:112::-;18140:1;18166;18156:35;;18171:18;;:::i;:::-;-1:-1:-1;18205:9:1;;18108:112::o;18225:127::-;18286:10;18281:3;18277:20;18274:1;18267:31;18317:4;18314:1;18307:15;18341:4;18338:1;18331:15

Swarm Source

ipfs://0b0b60fe50d035045dc6e0aaef2e0a95c133f1767da21acd3593b7262b474ae0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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