ETH Price: $3,102.09 (+1.16%)
Gas: 2 Gwei

Token

The Society (SOCIETY)
 

Overview

Max Total Supply

1,001 SOCIETY

Holders

322

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 SOCIETY
0xf408Bee3443D0397e2c1cdE588Fb060AC657006F
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:
TheSociety

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-09-17
*/

// 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 TheSociety 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 = 50000000000000000;
  
  uint public constant MAX_TOKEN_PER_TXN = 6;
  
  uint256 public constant MAX_TOKENS = 1556;
  
  mapping(address => uint256) private allowance;
  string public baseURI;
    
  constructor() ERC721A("The Society", "SOCIETY") {
    setBaseURI("ipfs://QmadMj55t1SLhDKmibJ83aBsL2dB4w2mU1snQqquZbeemU/");
  }

  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(1).div(100);
    address payoutAddress2 = payable(0x8fc1F1F48cBB2e4A0f1dfeB9e6019606b307C3c4);
    uint256 payoutPayment2 = balance.mul(5).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 ownerSuccess, ) = owner.call{value: address(this).balance}("");
    require(ownerSuccess, "Failed to send to Owner.");
  }
  
  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(_msgSender() == tx.origin, "No smart contracts allowed.");
    require(saleIsActive, "Sale must be active to mint");
    require(numberOfTokens < MAX_TOKEN_PER_TXN, "The max mint per transaction is 5");
    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 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)));
  }

  function airdrop(address _to, uint256 _numberOfTokens) external onlyOwner {
    uint256 supply = totalSupply();
    require(supply + _numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply");
    _safeMint(_to, _numberOfTokens);
  }
}

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":"_numberOfTokens","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"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":[{"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"}]

6080604052600b805461ffff1916905566b1a2bc2ec50000600c553480156200002757600080fd5b50604080518082018252600b81526a54686520536f636965747960a81b602080830191825283518085019094526007845266534f434945545960c81b9084015281519192916200007a916002916200019e565b508051620000909060039060208401906200019e565b50506000805550620000a233620000d4565b6001600981905550620000ce604051806060016040528060368152602001620025206036913962000126565b62000281565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200019a90600e9060208401906200019e565b5050565b828054620001ac9062000244565b90600052602060002090601f016020900481019282620001d057600085556200021b565b82601f10620001eb57805160ff19168380011785556200021b565b828001600101855582156200021b579182015b828111156200021b578251825591602001919060010190620001fe565b50620002299291506200022d565b5090565b5b808211156200022957600081556001016200022e565b600181811c908216806200025957607f821691505b602082108114156200027b57634e487b7160e01b600052602260045260246000fd5b50919050565b61228f80620002916000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063c4be5b59116100a0578063e985e9c51161006f578063e985e9c51461052f578063eb8d244414610578578063f032554914610597578063f2fde38b146105ac578063f47c84c5146105cc57600080fd5b8063c4be5b59146104c9578063c634d032146104dc578063c87b56dd146104ef578063dab5f3401461050f57600080fd5b806395d89b41116100dc57806395d89b411461045e578063a22cb46514610473578063aa98e0c614610493578063b88d4fde146104a957600080fd5b8063715018a6146103f55780637ff9b5961461040a5780638ba4cc3c146104205780638da5cb5b1461044057600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e14610380578063676c0d77146103a05780636c0360eb146103c057806370a08231146103d557600080fd5b80633ccfd60b1461031657806342842e0e1461032b57806355f804b31461034b578063634da63a1461036b57600080fd5b806318160ddd116101c157806318160ddd146102a45780631f0234d8146102c757806323b872dd146102e157806334918dfd1461030157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611c2d565b6105e2565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610634565b60405161021f9190611ca2565b34801561025657600080fd5b5061026a610265366004611cb5565b6106c6565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611cea565b61070a565b005b3480156102b057600080fd5b50600154600054035b60405190815260200161021f565b3480156102d357600080fd5b50600b546102139060ff1681565b3480156102ed57600080fd5b506102a26102fc366004611d14565b6107dd565b34801561030d57600080fd5b506102a26107ed565b34801561032257600080fd5b506102a261083d565b34801561033757600080fd5b506102a2610346366004611d14565b610aa3565b34801561035757600080fd5b506102a2610366366004611def565b610abe565b34801561037757600080fd5b506102b9600681565b34801561038c57600080fd5b5061026a61039b366004611cb5565b610aff565b3480156103ac57600080fd5b506102a26103bb366004611cb5565b610b0a565b3480156103cc57600080fd5b5061023d610ba5565b3480156103e157600080fd5b506102b96103f0366004611e38565b610c33565b34801561040157600080fd5b506102a2610c82565b34801561041657600080fd5b506102b9600c5481565b34801561042c57600080fd5b506102a261043b366004611cea565b610cb8565b34801561044c57600080fd5b506008546001600160a01b031661026a565b34801561046a57600080fd5b5061023d610d58565b34801561047f57600080fd5b506102a261048e366004611e53565b610d67565b34801561049f57600080fd5b506102b9600a5481565b3480156104b557600080fd5b506102a26104c4366004611e8f565b610dfd565b6102a26104d7366004611f0b565b610e47565b6102a26104ea366004611cb5565b6110de565b3480156104fb57600080fd5b5061023d61050a366004611cb5565b61130a565b34801561051b57600080fd5b506102a261052a366004611cb5565b61138b565b34801561053b57600080fd5b5061021361054a366004611fc6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561058457600080fd5b50600b5461021390610100900460ff1681565b3480156105a357600080fd5b506102a26113ba565b3480156105b857600080fd5b506102a26105c7366004611e38565b6113f8565b3480156105d857600080fd5b506102b961061481565b60006301ffc9a760e01b6001600160e01b03198316148061061357506380ac58cd60e01b6001600160e01b03198316145b8061062e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461064390611ff9565b80601f016020809104026020016040519081016040528092919081815260200182805461066f90611ff9565b80156106bc5780601f10610691576101008083540402835291602001916106bc565b820191906000526020600020905b81548152906001019060200180831161069f57829003601f168201915b5050505050905090565b60006106d182611493565b6106ee576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610715826114ba565b9050806001600160a01b0316836001600160a01b0316141561074a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461078157610764813361054a565b610781576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107e8838383611522565b505050565b6008546001600160a01b031633146108205760405162461bcd60e51b815260040161081790612034565b60405180910390fd5b600b805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b031633146108675760405162461bcd60e51b815260040161081790612034565b478061087257600080fd5b3373ac01b61d659bd72b120db7c5289bbfc02077194360006108a0606461089a8660016116c5565b906116d1565b9050738fc1f1f48cbb2e4a0f1dfeb9e6019606b307c3c460006108c9606461089a8860056116c5565b90506000846001600160a01b03168460405160006040518083038185875af1925050503d8060008114610918576040519150601f19603f3d011682016040523d82523d6000602084013e61091d565b606091505b50509050806109605760405162461bcd60e51b815260206004820152600f60248201526e2330b4b632b2103a379039b2b7321760891b6044820152606401610817565b6000836001600160a01b03168360405160006040518083038185875af1925050503d80600081146109ad576040519150601f19603f3d011682016040523d82523d6000602084013e6109b2565b606091505b50509050806109f55760405162461bcd60e51b815260206004820152600f60248201526e2330b4b632b2103a379039b2b7321760891b6044820152606401610817565b6000876001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a42576040519150601f19603f3d011682016040523d82523d6000602084013e610a47565b606091505b5050905080610a985760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e00000000000000006044820152606401610817565b505050505050505050565b6107e883838360405180602001604052806000815250610dfd565b6008546001600160a01b03163314610ae85760405162461bcd60e51b815260040161081790612034565b8051610afb90600e906020840190611b7e565b5050565b600061062e826114ba565b6008546001600160a01b03163314610b345760405162461bcd60e51b815260040161081790612034565b600b54610100900460ff1615610ba05760405162461bcd60e51b815260206004820152602b60248201527f53616c65206d75737420626520696e61637469766520746f206368616e67652060448201526a746f6b656e20707269636560a81b6064820152608401610817565b600c55565b600e8054610bb290611ff9565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90611ff9565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b505050505081565b60006001600160a01b038216610c5c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610cac5760405162461bcd60e51b815260040161081790612034565b610cb660006116dd565b565b6008546001600160a01b03163314610ce25760405162461bcd60e51b815260040161081790612034565b6000610cf16001546000540390565b9050610614610d00838361207f565b1115610d4e5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610817565b6107e8838361172f565b60606003805461064390611ff9565b6001600160a01b038216331415610d915760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e08848484611522565b6001600160a01b0383163b15610e4157610e2484848484611749565b610e41576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60026009541415610e9a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610817565b6002600955333214610eee5760405162461bcd60e51b815260206004820152601b60248201527f4e6f20736d61727420636f6e74726163747320616c6c6f7765642e00000000006044820152606401610817565b600b5460ff16610f4a5760405162461bcd60e51b815260206004820152602160248201527f5072652d73616c65206e6f742073746172746564206f722068617320656e64656044820152601960fa1b6064820152608401610817565b604080513360601b6bffffffffffffffffffffffff191660208083019190915260348083018690528351808403909101815260549092019092528051910120610f939082611832565b610fdf5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f742077686974656c6973746564006044820152606401610817565b336000908152600d60205260409020548290610ffc90859061207f565b111561104a5760405162461bcd60e51b815260206004820152601860248201527f457863656564732077616c6c657420616c6c6f77616e636500000000000000006044820152606401610817565b600c5461105790846116c5565b34146110a55760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610817565b336000908152600d6020526040812080548592906110c490849061207f565b909155506110d49050338461172f565b5050600160095550565b600260095414156111315760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610817565b60026009553332146111855760405162461bcd60e51b815260206004820152601b60248201527f4e6f20736d61727420636f6e74726163747320616c6c6f7765642e00000000006044820152606401610817565b600b54610100900460ff166111dc5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610817565b600681106112365760405162461bcd60e51b815260206004820152602160248201527f546865206d6178206d696e7420706572207472616e73616374696f6e206973206044820152603560f81b6064820152608401610817565b6106146112508261124a6001546000540390565b90611841565b1061129d5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610817565b600c546112aa90826116c5565b34146112f85760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610817565b611302338261172f565b506001600955565b606061131582611493565b6113595760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610817565b600e6113648361184d565b6040516020016113759291906120b3565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146113b55760405162461bcd60e51b815260040161081790612034565b600a55565b6008546001600160a01b031633146113e45760405162461bcd60e51b815260040161081790612034565b600b805460ff19811660ff90911615179055565b6008546001600160a01b031633146114225760405162461bcd60e51b815260040161081790612034565b6001600160a01b0381166114875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610817565b611490816116dd565b50565b600080548210801561062e575050600090815260046020526040902054600160e01b161590565b60008160005481101561150957600081815260046020526040902054600160e01b8116611507575b806115005750600019016000818152600460205260409020546114e2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061152d826114ba565b9050836001600160a01b0316816001600160a01b0316146115605760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061157e575061157e853361054a565b8061159957503361158e846106c6565b6001600160a01b0316145b9050806115b957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115e057604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661167d576001830160008181526004602052604090205461167b57600054811461167b5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000611500828461215a565b6000611500828461218f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610afb82826040518060200160405280600081525061194b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061177e9033908990889088906004016121a3565b6020604051808303816000875af19250505080156117b9575060408051601f3d908101601f191682019092526117b6918101906121e0565b60015b611814573d8080156117e7576040519150601f19603f3d011682016040523d82523d6000602084013e6117ec565b606091505b50805161180c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600061150082600a5485611abc565b6000611500828461207f565b6060816118715750506040805180820190915260018152600360fc1b602082015290565b8160005b811561189b5780611885816121fd565b91506118949050600a8361218f565b9150611875565b60008167ffffffffffffffff8111156118b6576118b6611d50565b6040519080825280601f01601f1916602001820160405280156118e0576020820181803683370190505b5090505b841561182a576118f5600183612218565b9150611902600a8661222f565b61190d90603061207f565b60f81b81838151811061192257611922612243565b60200101906001600160f81b031916908160001a905350611944600a8661218f565b94506118e4565b6000546001600160a01b03841661197457604051622e076360e81b815260040160405180910390fd5b826119925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611a67575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a306000878480600101955087611749565b611a4d576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119e5578260005414611a6257600080fd5b611aac565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a68575b506000908155610e419085838684565b600082611ac98584611ad2565b14949350505050565b600081815b8451811015611b76576000858281518110611af457611af4612243565b60200260200101519050808311611b36576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611b63565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611b6e816121fd565b915050611ad7565b509392505050565b828054611b8a90611ff9565b90600052602060002090601f016020900481019282611bac5760008555611bf2565b82601f10611bc557805160ff1916838001178555611bf2565b82800160010185558215611bf2579182015b82811115611bf2578251825591602001919060010190611bd7565b50611bfe929150611c02565b5090565b5b80821115611bfe5760008155600101611c03565b6001600160e01b03198116811461149057600080fd5b600060208284031215611c3f57600080fd5b813561150081611c17565b60005b83811015611c65578181015183820152602001611c4d565b83811115610e415750506000910152565b60008151808452611c8e816020860160208601611c4a565b601f01601f19169290920160200192915050565b6020815260006115006020830184611c76565b600060208284031215611cc757600080fd5b5035919050565b80356001600160a01b0381168114611ce557600080fd5b919050565b60008060408385031215611cfd57600080fd5b611d0683611cce565b946020939093013593505050565b600080600060608486031215611d2957600080fd5b611d3284611cce565b9250611d4060208501611cce565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d8f57611d8f611d50565b604052919050565b600067ffffffffffffffff831115611db157611db1611d50565b611dc4601f8401601f1916602001611d66565b9050828152838383011115611dd857600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e0157600080fd5b813567ffffffffffffffff811115611e1857600080fd5b8201601f81018413611e2957600080fd5b61182a84823560208401611d97565b600060208284031215611e4a57600080fd5b61150082611cce565b60008060408385031215611e6657600080fd5b611e6f83611cce565b915060208301358015158114611e8457600080fd5b809150509250929050565b60008060008060808587031215611ea557600080fd5b611eae85611cce565b9350611ebc60208601611cce565b925060408501359150606085013567ffffffffffffffff811115611edf57600080fd5b8501601f81018713611ef057600080fd5b611eff87823560208401611d97565b91505092959194509250565b600080600060608486031215611f2057600080fd5b833592506020808501359250604085013567ffffffffffffffff80821115611f4757600080fd5b818701915087601f830112611f5b57600080fd5b813581811115611f6d57611f6d611d50565b8060051b9150611f7e848301611d66565b818152918301840191848101908a841115611f9857600080fd5b938501935b83851015611fb657843582529385019390850190611f9d565b8096505050505050509250925092565b60008060408385031215611fd957600080fd5b611fe283611cce565b9150611ff060208401611cce565b90509250929050565b600181811c9082168061200d57607f821691505b6020821081141561202e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561209257612092612069565b500190565b600081516120a9818560208601611c4a565b9290920192915050565b600080845481600182811c9150808316806120cf57607f831692505b60208084108214156120ef57634e487b7160e01b86526022600452602486fd5b818015612103576001811461211457612141565b60ff19861689528489019650612141565b60008b81526020902060005b868110156121395781548b820152908501908301612120565b505084890196505b5050505050506121518185612097565b95945050505050565b600081600019048311821515161561217457612174612069565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261219e5761219e612179565b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121d690830184611c76565b9695505050505050565b6000602082840312156121f257600080fd5b815161150081611c17565b600060001982141561221157612211612069565b5060010190565b60008282101561222a5761222a612069565b500390565b60008261223e5761223e612179565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122052ea7c99d554b2d1c6a8512b586abb9f9faa9d30895acb499ebacd8ac44b8aa664736f6c634300080b0033697066733a2f2f516d61644d6a35357431534c68444b6d69624a38336142734c3264423477326d5531736e517171755a6265656d552f

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063c4be5b59116100a0578063e985e9c51161006f578063e985e9c51461052f578063eb8d244414610578578063f032554914610597578063f2fde38b146105ac578063f47c84c5146105cc57600080fd5b8063c4be5b59146104c9578063c634d032146104dc578063c87b56dd146104ef578063dab5f3401461050f57600080fd5b806395d89b41116100dc57806395d89b411461045e578063a22cb46514610473578063aa98e0c614610493578063b88d4fde146104a957600080fd5b8063715018a6146103f55780637ff9b5961461040a5780638ba4cc3c146104205780638da5cb5b1461044057600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e14610380578063676c0d77146103a05780636c0360eb146103c057806370a08231146103d557600080fd5b80633ccfd60b1461031657806342842e0e1461032b57806355f804b31461034b578063634da63a1461036b57600080fd5b806318160ddd116101c157806318160ddd146102a45780631f0234d8146102c757806323b872dd146102e157806334918dfd1461030157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611c2d565b6105e2565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610634565b60405161021f9190611ca2565b34801561025657600080fd5b5061026a610265366004611cb5565b6106c6565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611cea565b61070a565b005b3480156102b057600080fd5b50600154600054035b60405190815260200161021f565b3480156102d357600080fd5b50600b546102139060ff1681565b3480156102ed57600080fd5b506102a26102fc366004611d14565b6107dd565b34801561030d57600080fd5b506102a26107ed565b34801561032257600080fd5b506102a261083d565b34801561033757600080fd5b506102a2610346366004611d14565b610aa3565b34801561035757600080fd5b506102a2610366366004611def565b610abe565b34801561037757600080fd5b506102b9600681565b34801561038c57600080fd5b5061026a61039b366004611cb5565b610aff565b3480156103ac57600080fd5b506102a26103bb366004611cb5565b610b0a565b3480156103cc57600080fd5b5061023d610ba5565b3480156103e157600080fd5b506102b96103f0366004611e38565b610c33565b34801561040157600080fd5b506102a2610c82565b34801561041657600080fd5b506102b9600c5481565b34801561042c57600080fd5b506102a261043b366004611cea565b610cb8565b34801561044c57600080fd5b506008546001600160a01b031661026a565b34801561046a57600080fd5b5061023d610d58565b34801561047f57600080fd5b506102a261048e366004611e53565b610d67565b34801561049f57600080fd5b506102b9600a5481565b3480156104b557600080fd5b506102a26104c4366004611e8f565b610dfd565b6102a26104d7366004611f0b565b610e47565b6102a26104ea366004611cb5565b6110de565b3480156104fb57600080fd5b5061023d61050a366004611cb5565b61130a565b34801561051b57600080fd5b506102a261052a366004611cb5565b61138b565b34801561053b57600080fd5b5061021361054a366004611fc6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561058457600080fd5b50600b5461021390610100900460ff1681565b3480156105a357600080fd5b506102a26113ba565b3480156105b857600080fd5b506102a26105c7366004611e38565b6113f8565b3480156105d857600080fd5b506102b961061481565b60006301ffc9a760e01b6001600160e01b03198316148061061357506380ac58cd60e01b6001600160e01b03198316145b8061062e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461064390611ff9565b80601f016020809104026020016040519081016040528092919081815260200182805461066f90611ff9565b80156106bc5780601f10610691576101008083540402835291602001916106bc565b820191906000526020600020905b81548152906001019060200180831161069f57829003601f168201915b5050505050905090565b60006106d182611493565b6106ee576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610715826114ba565b9050806001600160a01b0316836001600160a01b0316141561074a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461078157610764813361054a565b610781576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107e8838383611522565b505050565b6008546001600160a01b031633146108205760405162461bcd60e51b815260040161081790612034565b60405180910390fd5b600b805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b031633146108675760405162461bcd60e51b815260040161081790612034565b478061087257600080fd5b3373ac01b61d659bd72b120db7c5289bbfc02077194360006108a0606461089a8660016116c5565b906116d1565b9050738fc1f1f48cbb2e4a0f1dfeb9e6019606b307c3c460006108c9606461089a8860056116c5565b90506000846001600160a01b03168460405160006040518083038185875af1925050503d8060008114610918576040519150601f19603f3d011682016040523d82523d6000602084013e61091d565b606091505b50509050806109605760405162461bcd60e51b815260206004820152600f60248201526e2330b4b632b2103a379039b2b7321760891b6044820152606401610817565b6000836001600160a01b03168360405160006040518083038185875af1925050503d80600081146109ad576040519150601f19603f3d011682016040523d82523d6000602084013e6109b2565b606091505b50509050806109f55760405162461bcd60e51b815260206004820152600f60248201526e2330b4b632b2103a379039b2b7321760891b6044820152606401610817565b6000876001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a42576040519150601f19603f3d011682016040523d82523d6000602084013e610a47565b606091505b5050905080610a985760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e00000000000000006044820152606401610817565b505050505050505050565b6107e883838360405180602001604052806000815250610dfd565b6008546001600160a01b03163314610ae85760405162461bcd60e51b815260040161081790612034565b8051610afb90600e906020840190611b7e565b5050565b600061062e826114ba565b6008546001600160a01b03163314610b345760405162461bcd60e51b815260040161081790612034565b600b54610100900460ff1615610ba05760405162461bcd60e51b815260206004820152602b60248201527f53616c65206d75737420626520696e61637469766520746f206368616e67652060448201526a746f6b656e20707269636560a81b6064820152608401610817565b600c55565b600e8054610bb290611ff9565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90611ff9565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b505050505081565b60006001600160a01b038216610c5c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610cac5760405162461bcd60e51b815260040161081790612034565b610cb660006116dd565b565b6008546001600160a01b03163314610ce25760405162461bcd60e51b815260040161081790612034565b6000610cf16001546000540390565b9050610614610d00838361207f565b1115610d4e5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610817565b6107e8838361172f565b60606003805461064390611ff9565b6001600160a01b038216331415610d915760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e08848484611522565b6001600160a01b0383163b15610e4157610e2484848484611749565b610e41576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60026009541415610e9a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610817565b6002600955333214610eee5760405162461bcd60e51b815260206004820152601b60248201527f4e6f20736d61727420636f6e74726163747320616c6c6f7765642e00000000006044820152606401610817565b600b5460ff16610f4a5760405162461bcd60e51b815260206004820152602160248201527f5072652d73616c65206e6f742073746172746564206f722068617320656e64656044820152601960fa1b6064820152608401610817565b604080513360601b6bffffffffffffffffffffffff191660208083019190915260348083018690528351808403909101815260549092019092528051910120610f939082611832565b610fdf5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f742077686974656c6973746564006044820152606401610817565b336000908152600d60205260409020548290610ffc90859061207f565b111561104a5760405162461bcd60e51b815260206004820152601860248201527f457863656564732077616c6c657420616c6c6f77616e636500000000000000006044820152606401610817565b600c5461105790846116c5565b34146110a55760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610817565b336000908152600d6020526040812080548592906110c490849061207f565b909155506110d49050338461172f565b5050600160095550565b600260095414156111315760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610817565b60026009553332146111855760405162461bcd60e51b815260206004820152601b60248201527f4e6f20736d61727420636f6e74726163747320616c6c6f7765642e00000000006044820152606401610817565b600b54610100900460ff166111dc5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610817565b600681106112365760405162461bcd60e51b815260206004820152602160248201527f546865206d6178206d696e7420706572207472616e73616374696f6e206973206044820152603560f81b6064820152608401610817565b6106146112508261124a6001546000540390565b90611841565b1061129d5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610817565b600c546112aa90826116c5565b34146112f85760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610817565b611302338261172f565b506001600955565b606061131582611493565b6113595760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610817565b600e6113648361184d565b6040516020016113759291906120b3565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146113b55760405162461bcd60e51b815260040161081790612034565b600a55565b6008546001600160a01b031633146113e45760405162461bcd60e51b815260040161081790612034565b600b805460ff19811660ff90911615179055565b6008546001600160a01b031633146114225760405162461bcd60e51b815260040161081790612034565b6001600160a01b0381166114875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610817565b611490816116dd565b50565b600080548210801561062e575050600090815260046020526040902054600160e01b161590565b60008160005481101561150957600081815260046020526040902054600160e01b8116611507575b806115005750600019016000818152600460205260409020546114e2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061152d826114ba565b9050836001600160a01b0316816001600160a01b0316146115605760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061157e575061157e853361054a565b8061159957503361158e846106c6565b6001600160a01b0316145b9050806115b957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115e057604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661167d576001830160008181526004602052604090205461167b57600054811461167b5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000611500828461215a565b6000611500828461218f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610afb82826040518060200160405280600081525061194b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061177e9033908990889088906004016121a3565b6020604051808303816000875af19250505080156117b9575060408051601f3d908101601f191682019092526117b6918101906121e0565b60015b611814573d8080156117e7576040519150601f19603f3d011682016040523d82523d6000602084013e6117ec565b606091505b50805161180c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600061150082600a5485611abc565b6000611500828461207f565b6060816118715750506040805180820190915260018152600360fc1b602082015290565b8160005b811561189b5780611885816121fd565b91506118949050600a8361218f565b9150611875565b60008167ffffffffffffffff8111156118b6576118b6611d50565b6040519080825280601f01601f1916602001820160405280156118e0576020820181803683370190505b5090505b841561182a576118f5600183612218565b9150611902600a8661222f565b61190d90603061207f565b60f81b81838151811061192257611922612243565b60200101906001600160f81b031916908160001a905350611944600a8661218f565b94506118e4565b6000546001600160a01b03841661197457604051622e076360e81b815260040160405180910390fd5b826119925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611a67575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a306000878480600101955087611749565b611a4d576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119e5578260005414611a6257600080fd5b611aac565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a68575b506000908155610e419085838684565b600082611ac98584611ad2565b14949350505050565b600081815b8451811015611b76576000858281518110611af457611af4612243565b60200260200101519050808311611b36576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611b63565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611b6e816121fd565b915050611ad7565b509392505050565b828054611b8a90611ff9565b90600052602060002090601f016020900481019282611bac5760008555611bf2565b82601f10611bc557805160ff1916838001178555611bf2565b82800160010185558215611bf2579182015b82811115611bf2578251825591602001919060010190611bd7565b50611bfe929150611c02565b5090565b5b80821115611bfe5760008155600101611c03565b6001600160e01b03198116811461149057600080fd5b600060208284031215611c3f57600080fd5b813561150081611c17565b60005b83811015611c65578181015183820152602001611c4d565b83811115610e415750506000910152565b60008151808452611c8e816020860160208601611c4a565b601f01601f19169290920160200192915050565b6020815260006115006020830184611c76565b600060208284031215611cc757600080fd5b5035919050565b80356001600160a01b0381168114611ce557600080fd5b919050565b60008060408385031215611cfd57600080fd5b611d0683611cce565b946020939093013593505050565b600080600060608486031215611d2957600080fd5b611d3284611cce565b9250611d4060208501611cce565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d8f57611d8f611d50565b604052919050565b600067ffffffffffffffff831115611db157611db1611d50565b611dc4601f8401601f1916602001611d66565b9050828152838383011115611dd857600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e0157600080fd5b813567ffffffffffffffff811115611e1857600080fd5b8201601f81018413611e2957600080fd5b61182a84823560208401611d97565b600060208284031215611e4a57600080fd5b61150082611cce565b60008060408385031215611e6657600080fd5b611e6f83611cce565b915060208301358015158114611e8457600080fd5b809150509250929050565b60008060008060808587031215611ea557600080fd5b611eae85611cce565b9350611ebc60208601611cce565b925060408501359150606085013567ffffffffffffffff811115611edf57600080fd5b8501601f81018713611ef057600080fd5b611eff87823560208401611d97565b91505092959194509250565b600080600060608486031215611f2057600080fd5b833592506020808501359250604085013567ffffffffffffffff80821115611f4757600080fd5b818701915087601f830112611f5b57600080fd5b813581811115611f6d57611f6d611d50565b8060051b9150611f7e848301611d66565b818152918301840191848101908a841115611f9857600080fd5b938501935b83851015611fb657843582529385019390850190611f9d565b8096505050505050509250925092565b60008060408385031215611fd957600080fd5b611fe283611cce565b9150611ff060208401611cce565b90509250929050565b600181811c9082168061200d57607f821691505b6020821081141561202e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561209257612092612069565b500190565b600081516120a9818560208601611c4a565b9290920192915050565b600080845481600182811c9150808316806120cf57607f831692505b60208084108214156120ef57634e487b7160e01b86526022600452602486fd5b818015612103576001811461211457612141565b60ff19861689528489019650612141565b60008b81526020902060005b868110156121395781548b820152908501908301612120565b505084890196505b5050505050506121518185612097565b95945050505050565b600081600019048311821515161561217457612174612069565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261219e5761219e612179565b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121d690830184611c76565b9695505050505050565b6000602082840312156121f257600080fd5b815161150081611c17565b600060001982141561221157612211612069565b5060010190565b60008282101561222a5761222a612069565b500390565b60008261223e5761223e612179565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122052ea7c99d554b2d1c6a8512b586abb9f9faa9d30895acb499ebacd8ac44b8aa664736f6c634300080b0033

Deployed Bytecode Sourcemap

55720:4015: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;;;2341:25:1;;;2329:2;2314:18;27354:315:0;2195:177:1;55892:35:0;;;;;;;;;;-1:-1:-1;55892:35:0;;;;;;;;36267:170;;;;;;;;;;-1:-1:-1;36267:170:0;;;;;:::i;:::-;;:::i;57449:83::-;;;;;;;;;;;;;:::i;56522:821::-;;;;;;;;;;;;;:::i;36508:185::-;;;;;;;;;;-1:-1:-1;36508:185:0;;;;;:::i;:::-;;:::i;57351:92::-;;;;;;;;;;-1:-1:-1;57351:92:0;;;;;:::i;:::-;;:::i;56023:42::-;;;;;;;;;;;;56064:1;56023:42;;33102:144;;;;;;;;;;-1:-1:-1;33102:144:0;;;;;:::i;:::-;;:::i;56341:171::-;;;;;;;;;;-1:-1:-1;56341:171:0;;;;;:::i;:::-;;:::i;56174:21::-;;;;;;;;;;;;;:::i;28979:224::-;;;;;;;;;;-1:-1:-1;28979:224:0;;;;;:::i;:::-;;:::i;22513:103::-;;;;;;;;;;;;;:::i;55969:45::-;;;;;;;;;;;;;;;;59487:245;;;;;;;;;;-1:-1:-1;59487:245:0;;;;;:::i;:::-;;:::i;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;57640:657::-;;;;;;:::i;:::-;;:::i;58305:536::-;;;;;;:::i;:::-;;:::i;59256:225::-;;;;;;;;;;-1:-1:-1;59256:225:0;;;;;:::i;:::-;;:::i;59159:89::-;;;;;;;;;;-1:-1:-1;59159:89:0;;;;;:::i;:::-;;:::i;36036:164::-;;;;;;;;;;-1:-1:-1;36036:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36157:25:0;;;36133:4;36157:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36036:164;55932:32;;;;;;;;;;-1:-1:-1;55932:32:0;;;;;;;;;;;57540:92;;;;;;;;;;;;;:::i;22771:201::-;;;;;;;;;;-1:-1:-1;22771:201:0;;;;;:::i;:::-;;:::i;56074:41::-;;;;;;;;;;;;56111:4;56074: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;36036:164;:::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;57449:83::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;;;;;;;;;57514:12:::1;::::0;;-1:-1:-1;;57498:28:0;::::1;57514:12;::::0;;;::::1;;;57513:13;57498:28:::0;;::::1;;::::0;;57449:83::o;56522:821::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;56584:21:::1;56620:11:::0;56612:20:::1;;;::::0;::::1;;51484:10:::0;56718:42:::1;56641:13;56793:23;56812:3;56793:14;:7:::0;56805:1:::1;56793:11;:14::i;:::-;:18:::0;::::1;:23::i;:::-;56768:48:::0;-1:-1:-1;56856:42:0::1;56823:22;56931:23;56950:3;56931:14;:7:::0;56943:1:::1;56931:11;:14::i;:23::-;56906:48;;56968:13;56987:14;-1:-1:-1::0;;;;;56987:19:0::1;57014:14;56987:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56967:66;;;57048:8;57040:36;;;::::0;-1:-1:-1;;;57040:36:0;;8082:2:1;57040:36:0::1;::::0;::::1;8064:21:1::0;8121:2;8101:18;;;8094:30;-1:-1:-1;;;8140:18:1;;;8133:45;8195:18;;57040:36:0::1;7880:339:1::0;57040:36:0::1;57090:13;57109:14;-1:-1:-1::0;;;;;57109:19:0::1;57136:14;57109:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57089:66;;;57170:8;57162:36;;;::::0;-1:-1:-1;;;57162:36:0;;8082:2:1;57162:36:0::1;::::0;::::1;8064:21:1::0;8121:2;8101:18;;;8094:30;-1:-1:-1;;;8140:18:1;;;8133:45;8195:18;;57162:36:0::1;7880:339:1::0;57162:36:0::1;57214:17;57237:5;-1:-1:-1::0;;;;;57237:10:0::1;57255:21;57237:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57213:68;;;57296:12;57288:49;;;::::0;-1:-1:-1;;;57288:49:0;;8426:2:1;57288:49:0::1;::::0;::::1;8408:21:1::0;8465:2;8445:18;;;8438:30;8504:26;8484:18;;;8477:54;8548:18;;57288:49:0::1;8224:348:1::0;57288:49:0::1;56559:784;;;;;;;;;56522:821::o:0;36508:185::-;36646:39;36663:4;36669:2;36673:7;36646:39;;;;;;;;;;;;:16;:39::i;57351:92::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;57419:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57351:92:::0;:::o;33102:144::-;33166:7;33209:27;33228:7;33209:18;:27::i;56341:171::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;56418:12:::1;::::0;::::1;::::0;::::1;;;56417:13;56409:69;;;::::0;-1:-1:-1;;;56409:69:0;;8779:2:1;56409:69:0::1;::::0;::::1;8761:21:1::0;8818:2;8798:18;;;8791:30;8857:34;8837:18;;;8830:62;-1:-1:-1;;;8908:18:1;;;8901:41;8959:19;;56409:69:0::1;8577:407:1::0;56409:69:0::1;56485:10;:21:::0;56341:171::o;56174: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;59487:245::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;59568:14:::1;59585:13;27620:12:::0;;27407:7;27604:13;:28;;27354:315;59585:13:::1;59568:30:::0;-1:-1:-1;56111:4:0::1;59613:24;59622:15:::0;59568:30;59613:24:::1;:::i;:::-;:38;;59605:83;;;::::0;-1:-1:-1;;;59605:83:0;;9456:2:1;59605:83:0::1;::::0;::::1;9438:21:1::0;;;9475:18;;;9468:30;9534:34;9514:18;;;9507:62;9586:18;;59605:83:0::1;9254:356:1::0;59605:83:0::1;59695:31;59705:3;59710:15;59695:9;:31::i;33482:104::-:0;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;57640:657::-;2617:1;3215:7;;:19;;3207:63;;;;-1:-1:-1;;;3207:63:0;;9817:2:1;3207:63:0;;;9799:21:1;9856:2;9836:18;;;9829:30;9895:33;9875:18;;;9868:61;9946:18;;3207:63:0;9615:355:1;3207:63:0;2617:1;3348:7;:18;51484:10;57787:9:::1;57771:25;57763:65;;;::::0;-1:-1:-1;;;57763:65:0;;10177:2:1;57763:65:0::1;::::0;::::1;10159:21:1::0;10216:2;10196:18;;;10189:30;10255:29;10235:18;;;10228:57;10302:18;;57763:65:0::1;9975:351:1::0;57763:65:0::1;57843:15;::::0;::::1;;57835:61;;;::::0;-1:-1:-1;;;57835:61:0;;10533:2:1;57835:61:0::1;::::0;::::1;10515:21:1::0;10572:2;10552:18;;;10545:30;10611:34;10591:18;;;10584:62;-1:-1:-1;;;10662:18:1;;;10655:31;10703:19;;57835:61:0::1;10331:397:1::0;57835:61:0::1;58952:32:::0;;;51484:10;16536:2:1;16532:15;-1:-1:-1;;16528:53:1;58952:32:0;;;;16516:66:1;;;;16598:12;;;;16591:28;;;58952:32:0;;;;;;;;;;16635:12:1;;;;58952:32:0;;;58942:43;;;;;57919:44:::1;::::0;57957:5:::1;57919:7;:44::i;:::-;57903:109;;;::::0;-1:-1:-1;;;57903:109:0;;10935:2:1;57903:109:0::1;::::0;::::1;10917:21:1::0;10974:2;10954:18;;;10947:30;11013:33;10993:18;;;10986:61;11064:18;;57903:109:0::1;10733:355:1::0;57903:109:0::1;51484:10:::0;58027:23:::1;::::0;;;:9:::1;:23;::::0;;;;;58071:7;;58027:40:::1;::::0;58053:14;;58027:40:::1;:::i;:::-;:51;;58019:88;;;::::0;-1:-1:-1;;;58019:88:0;;11295:2:1;58019:88:0::1;::::0;::::1;11277:21:1::0;11334:2;11314:18;;;11307:30;11373:26;11353:18;;;11346:54;11417:18;;58019:88:0::1;11093:348:1::0;58019:88:0::1;58135:10;::::0;:30:::1;::::0;58150:14;58135::::1;:30::i;:::-;58122:9;:43;58114:81;;;::::0;-1:-1:-1;;;58114:81:0;;11648:2:1;58114:81:0::1;::::0;::::1;11630:21:1::0;11687:2;11667:18;;;11660:30;11726:27;11706:18;;;11699:55;11771:18;;58114:81:0::1;11446:349:1::0;58114:81:0::1;51484:10:::0;58204:23:::1;::::0;;;:9:::1;:23;::::0;;;;:41;;58231:14;;58204:23;:41:::1;::::0;58231:14;;58204:41:::1;:::i;:::-;::::0;;;-1:-1:-1;58252:39:0::1;::::0;-1:-1:-1;51484:10:0;58276:14:::1;58252:9;:39::i;:::-;-1:-1:-1::0;;2573:1:0;3527:7;:22;-1:-1:-1;57640:657:0:o;58305:536::-;2617:1;3215:7;;:19;;3207:63;;;;-1:-1:-1;;;3207:63:0;;9817:2:1;3207:63:0;;;9799:21:1;9856:2;9836:18;;;9829:30;9895:33;9875:18;;;9868:61;9946:18;;3207:63:0;9615:355:1;3207:63:0;2617:1;3348:7;:18;51484:10;58404:9:::1;58388:25;58380:65;;;::::0;-1:-1:-1;;;58380:65:0;;10177:2:1;58380:65:0::1;::::0;::::1;10159:21:1::0;10216:2;10196:18;;;10189:30;10255:29;10235:18;;;10228:57;10302:18;;58380:65:0::1;9975:351:1::0;58380:65:0::1;58460:12;::::0;::::1;::::0;::::1;;;58452:52;;;::::0;-1:-1:-1;;;58452:52:0;;12002:2:1;58452:52:0::1;::::0;::::1;11984:21:1::0;12041:2;12021:18;;;12014:30;12080:29;12060:18;;;12053:57;12127:18;;58452:52:0::1;11800:351:1::0;58452:52:0::1;56064:1;58519:14;:34;58511:80;;;::::0;-1:-1:-1;;;58511:80:0;;12358:2:1;58511:80:0::1;::::0;::::1;12340:21:1::0;12397:2;12377:18;;;12370:30;12436:34;12416:18;;;12409:62;-1:-1:-1;;;12487:18:1;;;12480:31;12528:19;;58511:80:0::1;12156:397:1::0;58511:80:0::1;56111:4;58606:33;58624:14;58606:13;27620:12:::0;;27407:7;27604:13;:28;;27354:315;58606:13:::1;:17:::0;::::1;:33::i;:::-;:46;58598:91;;;::::0;-1:-1:-1;;;58598:91:0;;9456:2:1;58598:91:0::1;::::0;::::1;9438:21:1::0;;;9475:18;;;9468:30;9534:34;9514:18;;;9507:62;9586:18;;58598:91:0::1;9254:356:1::0;58598:91:0::1;58717:10;::::0;:30:::1;::::0;58732:14;58717::::1;:30::i;:::-;58704:9;:43;58696:87;;;::::0;-1:-1:-1;;;58696:87:0;;12760:2:1;58696:87:0::1;::::0;::::1;12742:21:1::0;12799:2;12779:18;;;12772:30;12838:33;12818:18;;;12811:61;12889:18;;58696:87:0::1;12558:355:1::0;58696:87:0::1;58796:39;51484:10:::0;58820:14:::1;58796:9;:39::i;:::-;-1:-1:-1::0;2573:1:0;3527:7;:22;58305:536::o;59256:225::-;59329:13;59359:16;59367:7;59359;:16::i;:::-;59351:50;;;;-1:-1:-1;;;59351:50:0;;13120:2:1;59351:50:0;;;13102:21:1;13159:2;13139:18;;;13132:30;-1:-1:-1;;;13178:18:1;;;13171:51;13239:18;;59351:50:0;12918:345:1;59351:50:0;59439:7;59448:25;59465:7;59448:16;:25::i;:::-;59422:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59408:67;;59256:225;;;:::o;59159:89::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;59216:19:::1;:26:::0;59159:89::o;57540:92::-;21935:6;;-1:-1:-1;;;;;21935:6:0;51484:10;22082:23;22074:68;;;;-1:-1:-1;;;22074:68:0;;;;;;;:::i;:::-;57611:15:::1;::::0;;-1:-1:-1;;57592:34:0;::::1;57611:15;::::0;;::::1;57610:16;57592:34;::::0;;57540: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;;14965:2:1;22852:73:0::1;::::0;::::1;14947:21:1::0;15004:2;14984:18;;;14977:30;15043:34;15023:18;;;15016:62;-1:-1:-1;;;15094:18:1;;;15087:36;15140:19;;22852:73:0::1;14763: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;36036:164;:::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;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;49046:529:0;48866:716;;;;;;:::o;58997:156::-;59075:4;59095:52;59114:5;59121:19;;59142:4;59095: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;;;;;;17334:19:1;;;17369:12;;;17362:28;;;17406:12;;55363:44:0;;;;;;;;;;;;55353:55;;;;;;55338:70;;55206:408;;;55553:44;;;;;;17334:19:1;;;17369:12;;;17362:28;;;17406: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:173::-;1826:20;;-1:-1:-1;;;;;1875:31:1;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:1:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;2710:127::-;2771:10;2766:3;2762:20;2759:1;2752:31;2802:4;2799:1;2792:15;2826:4;2823:1;2816:15;2842:275;2913:2;2907:9;2978:2;2959:13;;-1:-1:-1;;2955:27:1;2943:40;;3013:18;2998:34;;3034:22;;;2995:62;2992:88;;;3060:18;;:::i;:::-;3096:2;3089:22;2842:275;;-1:-1:-1;2842:275:1:o;3122:407::-;3187:5;3221:18;3213:6;3210:30;3207:56;;;3243:18;;:::i;:::-;3281:57;3326:2;3305:15;;-1:-1:-1;;3301:29:1;3332:4;3297:40;3281:57;:::i;:::-;3272:66;;3361:6;3354:5;3347:21;3401:3;3392:6;3387:3;3383:16;3380:25;3377:45;;;3418:1;3415;3408:12;3377:45;3467:6;3462:3;3455:4;3448:5;3444:16;3431:43;3521:1;3514:4;3505:6;3498:5;3494:18;3490:29;3483:40;3122:407;;;;;:::o;3534:451::-;3603:6;3656:2;3644:9;3635:7;3631:23;3627:32;3624:52;;;3672:1;3669;3662:12;3624:52;3712:9;3699:23;3745:18;3737:6;3734:30;3731:50;;;3777:1;3774;3767:12;3731:50;3800:22;;3853:4;3845:13;;3841:27;-1:-1:-1;3831:55:1;;3882:1;3879;3872:12;3831:55;3905:74;3971:7;3966:2;3953:16;3948:2;3944;3940:11;3905:74;:::i;3990:186::-;4049:6;4102:2;4090:9;4081:7;4077:23;4073:32;4070:52;;;4118:1;4115;4108:12;4070:52;4141:29;4160:9;4141:29;:::i;4181:347::-;4246:6;4254;4307:2;4295:9;4286:7;4282:23;4278:32;4275:52;;;4323:1;4320;4313:12;4275:52;4346:29;4365:9;4346:29;:::i;:::-;4336:39;;4425:2;4414:9;4410:18;4397:32;4472:5;4465:13;4458:21;4451:5;4448:32;4438:60;;4494:1;4491;4484:12;4438:60;4517:5;4507:15;;;4181:347;;;;;:::o;4715:667::-;4810:6;4818;4826;4834;4887:3;4875:9;4866:7;4862:23;4858:33;4855:53;;;4904:1;4901;4894:12;4855:53;4927:29;4946:9;4927:29;:::i;:::-;4917:39;;4975:38;5009:2;4998:9;4994:18;4975:38;:::i;:::-;4965:48;;5060:2;5049:9;5045:18;5032:32;5022:42;;5115:2;5104:9;5100:18;5087:32;5142:18;5134:6;5131:30;5128:50;;;5174:1;5171;5164:12;5128:50;5197:22;;5250:4;5242:13;;5238:27;-1:-1:-1;5228:55:1;;5279:1;5276;5269:12;5228:55;5302:74;5368:7;5363:2;5350:16;5345:2;5341;5337:11;5302:74;:::i;:::-;5292:84;;;4715:667;;;;;;;:::o;5387:1082::-;5489:6;5497;5505;5558:2;5546:9;5537:7;5533:23;5529:32;5526:52;;;5574:1;5571;5564:12;5526:52;5610:9;5597:23;5587:33;;5639:2;5688;5677:9;5673:18;5660:32;5650:42;;5743:2;5732:9;5728:18;5715:32;5766:18;5807:2;5799:6;5796:14;5793:34;;;5823:1;5820;5813:12;5793:34;5861:6;5850:9;5846:22;5836:32;;5906:7;5899:4;5895:2;5891:13;5887:27;5877:55;;5928:1;5925;5918:12;5877:55;5964:2;5951:16;5986:2;5982;5979:10;5976:36;;;5992:18;;:::i;:::-;6038:2;6035:1;6031:10;6021:20;;6061:28;6085:2;6081;6077:11;6061:28;:::i;:::-;6123:15;;;6193:11;;;6189:20;;;6154:12;;;;6221:19;;;6218:39;;;6253:1;6250;6243:12;6218:39;6277:11;;;;6297:142;6313:6;6308:3;6305:15;6297:142;;;6379:17;;6367:30;;6330:12;;;;6417;;;;6297:142;;;6458:5;6448:15;;;;;;;;5387:1082;;;;;:::o;6659:260::-;6727:6;6735;6788:2;6776:9;6767:7;6763:23;6759:32;6756:52;;;6804:1;6801;6794:12;6756:52;6827:29;6846:9;6827:29;:::i;:::-;6817:39;;6875:38;6909:2;6898:9;6894:18;6875:38;:::i;:::-;6865:48;;6659:260;;;;;:::o;6924:380::-;7003:1;6999:12;;;;7046;;;7067:61;;7121:4;7113:6;7109:17;7099:27;;7067:61;7174:2;7166:6;7163:14;7143:18;7140:38;7137:161;;;7220:10;7215:3;7211:20;7208:1;7201:31;7255:4;7252:1;7245:15;7283:4;7280:1;7273:15;7137:161;;6924:380;;;:::o;7309:356::-;7511:2;7493:21;;;7530:18;;;7523:30;7589:34;7584:2;7569:18;;7562:62;7656:2;7641:18;;7309:356::o;8989:127::-;9050:10;9045:3;9041:20;9038:1;9031:31;9081:4;9078:1;9071:15;9105:4;9102:1;9095:15;9121:128;9161:3;9192:1;9188:6;9185:1;9182:13;9179:39;;;9198:18;;:::i;:::-;-1:-1:-1;9234:9:1;;9121:128::o;13394:185::-;13436:3;13474:5;13468:12;13489:52;13534:6;13529:3;13522:4;13515:5;13511:16;13489:52;:::i;:::-;13557:16;;;;;13394:185;-1:-1:-1;;13394:185:1:o;13584:1174::-;13760:3;13789:1;13822:6;13816:13;13852:3;13874:1;13902:9;13898:2;13894:18;13884:28;;13962:2;13951:9;13947:18;13984;13974:61;;14028:4;14020:6;14016:17;14006:27;;13974:61;14054:2;14102;14094:6;14091:14;14071:18;14068:38;14065:165;;;-1:-1:-1;;;14129:33:1;;14185:4;14182:1;14175:15;14215:4;14136:3;14203:17;14065:165;14246:18;14273:104;;;;14391:1;14386:320;;;;14239:467;;14273:104;-1:-1:-1;;14306:24:1;;14294:37;;14351:16;;;;-1:-1:-1;14273:104:1;;14386:320;13341:1;13334:14;;;13378:4;13365:18;;14481:1;14495:165;14509:6;14506:1;14503:13;14495:165;;;14587:14;;14574:11;;;14567:35;14630:16;;;;14524:10;;14495:165;;;14499:3;;14689:6;14684:3;14680:16;14673:23;;14239:467;;;;;;;14722:30;14748:3;14740:6;14722:30;:::i;:::-;14715:37;13584:1174;-1:-1:-1;;;;;13584:1174:1:o;15170:168::-;15210:7;15276:1;15272;15268:6;15264:14;15261:1;15258:21;15253:1;15246:9;15239:17;15235:45;15232:71;;;15283:18;;:::i;:::-;-1:-1:-1;15323:9:1;;15170:168::o;15343:127::-;15404:10;15399:3;15395:20;15392:1;15385:31;15435:4;15432:1;15425:15;15459:4;15456:1;15449:15;15475:120;15515:1;15541;15531:35;;15546:18;;:::i;:::-;-1:-1:-1;15580:9:1;;15475:120::o;15600:500::-;-1:-1:-1;;;;;15869:15:1;;;15851:34;;15921:15;;15916:2;15901:18;;15894:43;15968:2;15953:18;;15946:34;;;16016:3;16011:2;15996:18;;15989:31;;;15794:4;;16037:57;;16074:19;;16066:6;16037:57;:::i;:::-;16029:65;15600:500;-1:-1:-1;;;;;;15600:500:1:o;16105:249::-;16174:6;16227:2;16215:9;16206:7;16202:23;16198:32;16195:52;;;16243:1;16240;16233:12;16195:52;16275:9;16269:16;16294:30;16318:5;16294:30;:::i;16658:135::-;16697:3;-1:-1:-1;;16718:17:1;;16715:43;;;16738:18;;:::i;:::-;-1:-1:-1;16785:1:1;16774:13;;16658:135::o;16798:125::-;16838:4;16866:1;16863;16860:8;16857:34;;;16871:18;;:::i;:::-;-1:-1:-1;16908:9:1;;16798:125::o;16928:112::-;16960:1;16986;16976:35;;16991:18;;:::i;:::-;-1:-1:-1;17025:9:1;;16928:112::o;17045:127::-;17106:10;17101:3;17097:20;17094:1;17087:31;17137:4;17134:1;17127:15;17161:4;17158:1;17151:15

Swarm Source

ipfs://52ea7c99d554b2d1c6a8512b586abb9f9faa9d30895acb499ebacd8ac44b8aa6
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.