Contract 0x6f6B838616D0a2b35f0D5Bb434f8466e64d915bc 1

 
 
Txn Hash
Method
Block
From
To
Value
0x429b8fe274a5c2478886bcacd77946012c25e330ce584f273d9d1b27ab6a98cbSet Approval For...161362342022-12-07 23:52:4723 hrs 25 mins ago0x3e8af32e0ba5d48dadf051ecb54e0f12a288538b IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00071212 15.4429786
0x3fac8035d3eb58f259ab6705c2c5fb04a71fb4be3e4c23a85f6d20abf8f87f52Set Approval For...161120932022-12-04 14:38:594 days 8 hrs ago0x85fda87fe9a2a8f0b8a80953be982cbabddecdf9 IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00063364 13.71604355
0xdbfbeed0936e5e89794d4d205657c1f1579c94ce325ba23be93766032676592dSet Approval For...161008202022-12-03 0:51:355 days 22 hrs ago0x2a93e999816c9826ade0b51aaa2d83240d8f4596 IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00057587 12.48190717
0xa8d07239b286c08438b1556176c3150291479007c02cbe6a1efc66c5e76b011eSet Approval For...160926722022-12-01 21:34:477 days 1 hr ago0x7213bdeeece54a882ea253441c320718e5af06df IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00029235 12.08016132
0x55794f0acec7197436cc014f3c6890f7cd7480dad819049cbe935d6e32e82bf4Set Approval For...160850992022-11-30 20:10:598 days 3 hrs agoENS Name simiandubois.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00030305 12.52251905
0x89c02317bee0ff4ba9a20d997a77c918ce2367213ccd33a92b4a0764d003623bSet Approval For...160757712022-11-29 12:52:599 days 10 hrs agoENS Name winko.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00028903 11.94311493
0x2b1b041b30c878a8159592d5e9c22f13d36c52d88c2a269e3f2d86027d2f8172Set Approval For...160570352022-11-26 22:07:1112 days 1 hr agoENS Name tiedyeunicornninjaslime.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00049267 10.68399216
0xab266cab215fd60c5b4e4dbeab214ec69c3e7acb55897b9dafea778760de557aSet Approval For...160525572022-11-26 7:05:4712 days 16 hrs agoENS Name 1x137.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00027336 11.25635539
0x13ef2e8d1330c7e4c4be9c9f26cc383462d6110302356a76ce56d4f125e7fa22Set Approval For...160525572022-11-26 7:05:4712 days 16 hrs agoENS Name 1x137.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00027336 11.25635539
0x80128862d42200f69daac01ecdf9e0f4115771f169cc359e464252a3709c438aSet Approval For...160525562022-11-26 7:05:3512 days 16 hrs agoENS Name 1x137.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00024486 10.11778147
0x5eb439c8911825fbf31d4d46e2e3ed541e95a7485cfa8a45f28ffb282def6db2Set Approval For...160061132022-11-19 19:20:5919 days 3 hrs agoENS Name 0xvurazz.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00036763 15.17588287
0xcf3c09109175fc7ced79dac8f09c86842cc82f7a3decb73f34b7f4b52cd33217Set Approval For...159871482022-11-17 3:46:5921 days 19 hrs agoENS Name thegoodmanlife1.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00063963 13.86375947
0x32e53b2bc356f7e2d2af0f79f284aed2a39041048bfbf03814efe7cc07518064Set Approval For...159766332022-11-15 16:28:5923 days 6 hrs agoENS Name kp6c6p6c.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00101439 21.98650456
0xfe23f9b97666531b26fe54dbdbd4682c26a58d2866c1357649727533045de95dSet Approval For...159151822022-11-07 2:32:5931 days 20 hrs ago0x614b75bd9a479b55557bc251740e78a11ae592ae IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00031616 13.0639279
0xe12121d738840ae672929ab9de27a7ecc853433ab5c4277faa5e0370b8348e69Set Approval For...159135842022-11-06 21:11:4732 days 2 hrs ago0x51663ae5742164944d1bb6cb2785fdf839666ed3 IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00052649 11.41740126
0xc571ffdd3c34b2efd9e4a15eba38bf585d7abbeca5db31bfebfeb2e2ed523d0dSet Approval For...159130062022-11-06 19:16:1132 days 4 hrs ago0xbbffdeb97637c5ac5198ca2a3b391fc8fb1db647 IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00037845 15.63818498
0x68e4d87679a77ed046635771f15a9281817ca4efa203cc7f1d3dfd3ce839c218Set Approval For...159058002022-11-05 19:08:2333 days 4 hrs agoENS Name *màximús.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00055999 12.14404021
0x3460e8a3204538e1e25e529c18dd59d6873f6464375c0151e87d009d4fc70ca3Set Approval For...158833482022-11-02 15:51:5936 days 7 hrs ago0x781cbe05bad0b662706dbb796f0c3bda2f85c60c IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00068249 14.79276154
0x59399a52a82e837653208db08be9f710ff35dfa7f01eb81a661c91d3cfcd398aSet Approval For...158832362022-11-02 15:29:3536 days 7 hrs ago0x7609146ba2a2cf73cfb7466cfab75db4b03a323f IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00039101 16.15698877
0xbb6e9edca29ed73800521e605cb564edb7f319a058b4c973c463015052bcd97fSet Approval For...158800592022-11-02 4:50:2336 days 18 hrs ago0x08a90a100af3681b2db6b3d8b8eba3496d095c5e IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00052316 11.33929772
0x742baaa27183f6b4c722303c584d3cbb3454a67310e76a64cf7beff34bc0ab5fSet Approval For...158760312022-11-01 15:20:2337 days 7 hrs agoENS Name whoshotjr.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00135752 29.4236947
0x67316fcdd919c25dcfe7ec80a8161a8def3a3571585531e10cd340fc9c681f8cSet Approval For...158736902022-11-01 7:26:4737 days 15 hrs agoENS Name keremyildizer.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.0002383 9.0954014
0x910edad62c7fe619ba4fa631bab1358662955dc45dfbd325aa178110e87a50b8Set Approval For...158694382022-10-31 17:09:1138 days 6 hrs agoENS Name msbwy.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00129329 28.03173004
0xc6691574c0fa78ed7075dde6a3d90ecbe0645b21f027a51329665c8304e79d08Set Approval For...158647462022-10-31 1:25:4738 days 21 hrs agoENS Name jellohands.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00039877 8.64338635
0xa370908a5d8911f15c233ed5d45a92f9d13078b159b6eb3b2d29af1d81597974Set Approval For...158637312022-10-30 22:01:3539 days 1 hr agoENS Name sympathy4.eth IN  0x6f6b838616d0a2b35f0d5bb434f8466e64d915bc0 Ether0.00057384 12.43789129
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EscapeTheAgenda

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

/*
       __    ___  _  _  ____  
      /__\  / __)( \( )(  _ \ 
     /(__)\( (_-. )  (  )(_) )
    (__)(__)\___/(_)\_)(____/ 

*/

// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

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

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

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

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

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

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

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

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

// File: contracts/escapeTheAgenda.sol

pragma solidity >=0.8.9 <0.9.0;

contract EscapeTheAgenda is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;

  string public baseURI = "ipfs://QmQfiMcUfoURcy49txBFAQ1HtiWhgi3JTjv3o5YvRVbHyK/";
  string public hiddenMetadataUri;
  uint256 public maxAGND = 5555;
  uint256 public Max_AGND_Per_Wallet_PublicSale = 3;
  uint256 public publicSaleCost = 0 ether;
  uint256 public Max_AGND_Per_Transaction = 50;
  bool public paused = true;
  bool public revealed = true;
  bool public isPublicSaleActive = true;

  modifier publicSaleActive() {
    require(isPublicSaleActive, "Public sale is not open");
    _;
  }

  modifier salePaused() {
    require(!paused, "Sale is paused");
    _;
  }

  modifier maxAGNDPublicSale(uint256 numberOfTokens) {
    require(
      balanceOf(msg.sender) + numberOfTokens <= Max_AGND_Per_Wallet_PublicSale,
      "Max AGND per wallet during public sale is 3"
    );
    _;
  }

  modifier canMintAGND(uint256 numberOfTokens) {
    require(
      totalSupply() + numberOfTokens <= maxAGND,
      "Not enough AGND remaining to mint"
    );
    require(
      numberOfTokens > 0 && numberOfTokens <= Max_AGND_Per_Transaction, "Invalid mint amount!"
    );
    _;
  }

  modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
    require(
      msg.value >= price * numberOfTokens,
      "Insufficient Funds!!!"
    );
    _;
  }

  constructor() ERC721A("Escape The Agenda", "AGND") {
    setHiddenMetadataUri("ipfs:///hidden.json");
  }

  function publicMint(uint256 numberOfTokens)
    external
    payable
    nonReentrant
    salePaused
    publicSaleActive
    canMintAGND(numberOfTokens)
    maxAGNDPublicSale(numberOfTokens)
    isCorrectPayment(publicSaleCost, numberOfTokens)
    {
      _safeMint(msg.sender, numberOfTokens); 
    }

  // Owner quota for the team and giveaways
  function ownerMint(uint256 numberOfTokens, address _receiver)
    public
    nonReentrant
    onlyOwner
    canMintAGND(numberOfTokens)
    {
      _safeMint(_receiver, numberOfTokens);
    }
  // function getBaseURI() external view returns (string memory) {
  //   return baseURI;
  // }

  function setBaseURI(string memory _baseURI) external onlyOwner {
    baseURI = _baseURI;
  }


  function setRevealed(bool _state) external onlyOwner {
    revealed = _state;
  }

  function setPaused(bool _state) external onlyOwner {
    paused = _state;
  }

  function openPublicSale(bool _state) external onlyOwner {
    isPublicSaleActive = _state;
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxAGND) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  } 

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

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');

    if (revealed == false) {
      return hiddenMetadataUri;
    }

    return
      string(abi.encodePacked(baseURI, _tokenId.toString(), ".json"));
  }

  function setPublicSaleCost(uint256 _cost) external onlyOwner {
    publicSaleCost = _cost;
  }

  function setMaxAGNDPerTx(uint256 _maxAGNDPerTx) external onlyOwner {
    Max_AGND_Per_Transaction = _maxAGNDPerTx;
  }

  function setPublicSaleWalletLimit(uint256 _PublicSaleWalletLimit) external onlyOwner {
    Max_AGND_Per_Wallet_PublicSale = _PublicSaleWalletLimit;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function withdraw() public onlyOwner {    
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);    
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Max_AGND_Per_Transaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Max_AGND_Per_Wallet_PublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAGND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"openPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAGNDPerTx","type":"uint256"}],"name":"setMaxAGNDPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPublicSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicSaleWalletLimit","type":"uint256"}],"name":"setPublicSaleWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260366080818152906200240a60a03980516200002991600a91602090910190620001f0565b506115b3600c556003600d556000600e556032600f556010805462ffffff1916620101011790553480156200005d57600080fd5b50604080518082018252601181527045736361706520546865204167656e646160781b6020808301918252835180850190945260048452631051d39160e21b908401528151919291620000b391600291620001f0565b508051620000c9906003906020840190620001f0565b5050600160005550620000dc3362000126565b600160095560408051808201909152601381527f697066733a2f2f2f68696464656e2e6a736f6e000000000000000000000000006020820152620001209062000178565b620002d3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001ec90600b906020840190620001f0565b5050565b828054620001fe9062000296565b90600052602060002090601f0160209004810192826200022257600085556200026d565b82601f106200023d57805160ff19168380011785556200026d565b828001600101855582156200026d579182015b828111156200026d57825182559160200191906001019062000250565b506200027b9291506200027f565b5090565b5b808211156200027b576000815560010162000280565b600181811c90821680620002ab57607f821691505b60208210811415620002cd57634e487b7160e01b600052602260045260246000fd5b50919050565b61212780620002e36000396000f3fe6080604052600436106102255760003560e01c80635c975abb1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd1461061e578063d52c57e01461063e578063e0a808531461065e578063e985e9c51461067e578063f2fde38b146106c757600080fd5b806395d89b4114610594578063a22cb465146105a9578063a45ba8e7146105c9578063b80b4354146105de578063b88d4fde146105fe57600080fd5b80636fac6e5c116100f25780636fac6e5c1461050157806370a0823114610521578063715018a6146105415780638da5cb5b146105565780638dbb7c061461057457600080fd5b80635c975abb1461049c5780636352211e146104b65780636a13ffcb146104d65780636c0360eb146104ec57600080fd5b80632db11544116101b157806347c0baad1161017557806347c0baad146104075780634dc41b021461041d5780634fdd43cb1461043d578063518302271461045d57806355f804b31461047c57600080fd5b80632db115441461037c5780633ccfd60b1461038f57806342842e0e146103a4578063438b6300146103c4578063453afb0f146103f157600080fd5b806312d80283116101f857806312d80283146102db57806316c38b3c146102ff57806318160ddd1461031f5780631e84c4131461033c57806323b872dd1461035c57600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611abe565b6106e7565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610739565b6040516102569190611b33565b34801561028d57600080fd5b506102a161029c366004611b46565b6107cb565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b7b565b61080f565b005b3480156102e757600080fd5b506102f1600f5481565b604051908152602001610256565b34801561030b57600080fd5b506102d961031a366004611bb5565b6108e2565b34801561032b57600080fd5b5060015460005403600019016102f1565b34801561034857600080fd5b5060105461024a9062010000900460ff1681565b34801561036857600080fd5b506102d9610377366004611bd0565b610928565b6102d961038a366004611b46565b610938565b34801561039b57600080fd5b506102d9610ba6565b3480156103b057600080fd5b506102d96103bf366004611bd0565b610c44565b3480156103d057600080fd5b506103e46103df366004611c0c565b610c5f565b6040516102569190611c27565b3480156103fd57600080fd5b506102f1600e5481565b34801561041357600080fd5b506102f1600c5481565b34801561042957600080fd5b506102d9610438366004611bb5565b610d40565b34801561044957600080fd5b506102d9610458366004611cf7565b610d86565b34801561046957600080fd5b5060105461024a90610100900460ff1681565b34801561048857600080fd5b506102d9610497366004611cf7565b610dc7565b3480156104a857600080fd5b5060105461024a9060ff1681565b3480156104c257600080fd5b506102a16104d1366004611b46565b610e04565b3480156104e257600080fd5b506102f1600d5481565b3480156104f857600080fd5b50610274610e0f565b34801561050d57600080fd5b506102d961051c366004611b46565b610e9d565b34801561052d57600080fd5b506102f161053c366004611c0c565b610ecc565b34801561054d57600080fd5b506102d9610f1b565b34801561056257600080fd5b506008546001600160a01b03166102a1565b34801561058057600080fd5b506102d961058f366004611b46565b610f51565b3480156105a057600080fd5b50610274610f80565b3480156105b557600080fd5b506102d96105c4366004611d40565b610f8f565b3480156105d557600080fd5b50610274611025565b3480156105ea57600080fd5b506102d96105f9366004611b46565b611032565b34801561060a57600080fd5b506102d9610619366004611d73565b611061565b34801561062a57600080fd5b50610274610639366004611b46565b6110ab565b34801561064a57600080fd5b506102d9610659366004611def565b6111ed565b34801561066a57600080fd5b506102d9610679366004611bb5565b611318565b34801561068a57600080fd5b5061024a610699366004611e12565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106d357600080fd5b506102d96106e2366004611c0c565b61135c565b60006301ffc9a760e01b6001600160e01b03198316148061071857506380ac58cd60e01b6001600160e01b03198316145b806107335750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461074890611e3c565b80601f016020809104026020016040519081016040528092919081815260200182805461077490611e3c565b80156107c15780601f10610796576101008083540402835291602001916107c1565b820191906000526020600020905b8154815290600101906020018083116107a457829003601f168201915b5050505050905090565b60006107d6826113f4565b6107f3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061081a82611429565b9050806001600160a01b0316836001600160a01b0316141561084f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610886576108698133610699565b610886576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146109155760405162461bcd60e51b815260040161090c90611e77565b60405180910390fd5b6010805460ff1916911515919091179055565b610933838383611499565b505050565b6002600954141561098b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161090c565b600260095560105460ff16156109d45760405162461bcd60e51b815260206004820152600e60248201526d14d85b19481a5cc81c185d5cd95960921b604482015260640161090c565b60105462010000900460ff16610a2c5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e000000000000000000604482015260640161090c565b80600c5481610a446001546000546000199190030190565b610a4e9190611ec2565b1115610a6c5760405162461bcd60e51b815260040161090c90611eda565b600081118015610a7e5750600f548111155b610ac15760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161090c565b81600d5481610acf33610ecc565b610ad99190611ec2565b1115610b3b5760405162461bcd60e51b815260206004820152602b60248201527f4d61782041474e44207065722077616c6c657420647572696e67207075626c6960448201526a632073616c65206973203360a81b606482015260840161090c565b600e5483610b498183611f1b565b341015610b905760405162461bcd60e51b8152602060048201526015602482015274496e73756666696369656e742046756e647321212160581b604482015260640161090c565b610b9a338661163c565b50506001600955505050565b6008546001600160a01b03163314610bd05760405162461bcd60e51b815260040161090c90611e77565b6000610be46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c2e576040519150601f19603f3d011682016040523d82523d6000602084013e610c33565b606091505b5050905080610c4157600080fd5b50565b61093383838360405180602001604052806000815250611061565b60606000610c6c83610ecc565b905060008167ffffffffffffffff811115610c8957610c89611c6b565b604051908082528060200260200182016040528015610cb2578160200160208202803683370190505b509050600160005b8381108015610ccb5750600c548211155b15610d36576000610cdb83610e04565b9050866001600160a01b0316816001600160a01b03161415610d235782848381518110610d0a57610d0a611f3a565b602090810291909101015281610d1f81611f50565b9250505b82610d2d81611f50565b93505050610cba565b5090949350505050565b6008546001600160a01b03163314610d6a5760405162461bcd60e51b815260040161090c90611e77565b60108054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610db05760405162461bcd60e51b815260040161090c90611e77565b8051610dc390600b906020840190611a0f565b5050565b6008546001600160a01b03163314610df15760405162461bcd60e51b815260040161090c90611e77565b8051610dc390600a906020840190611a0f565b600061073382611429565b600a8054610e1c90611e3c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4890611e3c565b8015610e955780601f10610e6a57610100808354040283529160200191610e95565b820191906000526020600020905b815481529060010190602001808311610e7857829003601f168201915b505050505081565b6008546001600160a01b03163314610ec75760405162461bcd60e51b815260040161090c90611e77565b600d55565b60006001600160a01b038216610ef5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f455760405162461bcd60e51b815260040161090c90611e77565b610f4f6000611656565b565b6008546001600160a01b03163314610f7b5760405162461bcd60e51b815260040161090c90611e77565b600e55565b60606003805461074890611e3c565b6001600160a01b038216331415610fb95760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610e1c90611e3c565b6008546001600160a01b0316331461105c5760405162461bcd60e51b815260040161090c90611e77565b600f55565b61106c848484611499565b6001600160a01b0383163b156110a557611088848484846116a8565b6110a5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110b6826113f4565b61111a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161090c565b601054610100900460ff166111bb57600b805461113690611e3c565b80601f016020809104026020016040519081016040528092919081815260200182805461116290611e3c565b80156111af5780601f10611184576101008083540402835291602001916111af565b820191906000526020600020905b81548152906001019060200180831161119257829003601f168201915b50505050509050919050565b600a6111c6836117a0565b6040516020016111d7929190611f87565b6040516020818303038152906040529050919050565b600260095414156112405760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161090c565b60026009556008546001600160a01b0316331461126f5760405162461bcd60e51b815260040161090c90611e77565b81600c54816112876001546000546000199190030190565b6112919190611ec2565b11156112af5760405162461bcd60e51b815260040161090c90611eda565b6000811180156112c15750600f548111155b6113045760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161090c565b61130e828461163c565b5050600160095550565b6008546001600160a01b031633146113425760405162461bcd60e51b815260040161090c90611e77565b601080549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146113865760405162461bcd60e51b815260040161090c90611e77565b6001600160a01b0381166113eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090c565b610c4181611656565b600081600111158015611408575060005482105b8015610733575050600090815260046020526040902054600160e01b161590565b600081806001116114805760005481101561148057600081815260046020526040902054600160e01b811661147e575b80611477575060001901600081815260046020526040902054611459565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60006114a482611429565b9050836001600160a01b0316816001600160a01b0316146114d75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114f557506114f58533610699565b80611510575033611505846107cb565b6001600160a01b0316145b90508061153057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661155757604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b8617811790915582166115f457600183016000818152600460205260409020546115f25760005481146115f25760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b610dc382826040518060200160405280600081525061189e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906116dd903390899088908890600401612042565b602060405180830381600087803b1580156116f757600080fd5b505af1925050508015611727575060408051601f3d908101601f191682019092526117249181019061207f565b60015b611782573d808015611755576040519150601f19603f3d011682016040523d82523d6000602084013e61175a565b606091505b50805161177a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816117c45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117ee57806117d881611f50565b91506117e79050600a836120b2565b91506117c8565b60008167ffffffffffffffff81111561180957611809611c6b565b6040519080825280601f01601f191660200182016040528015611833576020820181803683370190505b5090505b8415611798576118486001836120c6565b9150611855600a866120dd565b611860906030611ec2565b60f81b81838151811061187557611875611f3a565b60200101906001600160f81b031916908160001a905350611897600a866120b2565b9450611837565b6000546001600160a01b0384166118c757604051622e076360e81b815260040160405180910390fd5b826118e55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156119ba575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461198360008784806001019550876116a8565b6119a0576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119385782600054146119b557600080fd5b6119ff565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119bb575b5060009081556110a59085838684565b828054611a1b90611e3c565b90600052602060002090601f016020900481019282611a3d5760008555611a83565b82601f10611a5657805160ff1916838001178555611a83565b82800160010185558215611a83579182015b82811115611a83578251825591602001919060010190611a68565b50611a8f929150611a93565b5090565b5b80821115611a8f5760008155600101611a94565b6001600160e01b031981168114610c4157600080fd5b600060208284031215611ad057600080fd5b813561147781611aa8565b60005b83811015611af6578181015183820152602001611ade565b838111156110a55750506000910152565b60008151808452611b1f816020860160208601611adb565b601f01601f19169290920160200192915050565b6020815260006114776020830184611b07565b600060208284031215611b5857600080fd5b5035919050565b80356001600160a01b0381168114611b7657600080fd5b919050565b60008060408385031215611b8e57600080fd5b611b9783611b5f565b946020939093013593505050565b80358015158114611b7657600080fd5b600060208284031215611bc757600080fd5b61147782611ba5565b600080600060608486031215611be557600080fd5b611bee84611b5f565b9250611bfc60208501611b5f565b9150604084013590509250925092565b600060208284031215611c1e57600080fd5b61147782611b5f565b6020808252825182820181905260009190848201906040850190845b81811015611c5f57835183529284019291840191600101611c43565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c9c57611c9c611c6b565b604051601f8501601f19908116603f01168101908282118183101715611cc457611cc4611c6b565b81604052809350858152868686011115611cdd57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d0957600080fd5b813567ffffffffffffffff811115611d2057600080fd5b8201601f81018413611d3157600080fd5b61179884823560208401611c81565b60008060408385031215611d5357600080fd5b611d5c83611b5f565b9150611d6a60208401611ba5565b90509250929050565b60008060008060808587031215611d8957600080fd5b611d9285611b5f565b9350611da060208601611b5f565b925060408501359150606085013567ffffffffffffffff811115611dc357600080fd5b8501601f81018713611dd457600080fd5b611de387823560208401611c81565b91505092959194509250565b60008060408385031215611e0257600080fd5b82359150611d6a60208401611b5f565b60008060408385031215611e2557600080fd5b611e2e83611b5f565b9150611d6a60208401611b5f565b600181811c90821680611e5057607f821691505b60208210811415611e7157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ed557611ed5611eac565b500190565b60208082526021908201527f4e6f7420656e6f7567682041474e442072656d61696e696e6720746f206d696e6040820152601d60fa1b606082015260800190565b6000816000190483118215151615611f3557611f35611eac565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611f6457611f64611eac565b5060010190565b60008151611f7d818560208601611adb565b9290920192915050565b600080845481600182811c915080831680611fa357607f831692505b6020808410821415611fc357634e487b7160e01b86526022600452602486fd5b818015611fd75760018114611fe857612015565b60ff19861689528489019650612015565b60008b81526020902060005b8681101561200d5781548b820152908501908301611ff4565b505084890196505b5050505050506120396120288286611f6b565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061207590830184611b07565b9695505050505050565b60006020828403121561209157600080fd5b815161147781611aa8565b634e487b7160e01b600052601260045260246000fd5b6000826120c1576120c161209c565b500490565b6000828210156120d8576120d8611eac565b500390565b6000826120ec576120ec61209c565b50069056fea2646970667358221220119c569f013b3e8fb01334776138c5ce0c4336a4648823fcd8ab9d8b99eb713464736f6c63430008090033697066733a2f2f516d5166694d6355666f5552637934397478424641513148746957686769334a546a76336f35597652566248794b2f

Deployed ByteCode Sourcemap

46905:4322:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21554:615;;;;;;;;;;-1:-1:-1;21554:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;21554:615:0;;;;;;;;26567:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28635:204::-;;;;;;;;;;-1:-1:-1;28635:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;28635:204:0;1550:203:1;28095:474:0;;;;;;;;;;-1:-1:-1;28095:474:0;;;;;:::i;:::-;;:::i;:::-;;47257:44;;;;;;;;;;;;;;;;;;;2341:25:1;;;2329:2;2314:18;47257:44:0;2195:177:1;49283:79:0;;;;;;;;;;-1:-1:-1;49283:79:0;;;;;:::i;:::-;;:::i;20608:315::-;;;;;;;;;;-1:-1:-1;50198:1:0;20874:12;20661:7;20858:13;:28;-1:-1:-1;;20858:46:0;20608:315;;47368:37;;;;;;;;;;-1:-1:-1;47368:37:0;;;;;;;;;;;29521:170;;;;;;;;;;-1:-1:-1;29521:170:0;;;;;:::i;:::-;;:::i;48424:313::-;;;;;;:::i;:::-;;:::i;51079:145::-;;;;;;;;;;;;;:::i;29762:185::-;;;;;;;;;;-1:-1:-1;29762:185:0;;;;;:::i;:::-;;:::i;49470:633::-;;;;;;;;;;-1:-1:-1;49470:633:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;47213:39::-;;;;;;;;;;;;;;;;47125:29;;;;;;;;;;;;;;;;49368:96;;;;;;;;;;-1:-1:-1;49368:96:0;;;;;:::i;:::-;;:::i;50941:132::-;;;;;;;;;;-1:-1:-1;50941:132:0;;;;;:::i;:::-;;:::i;47336:27::-;;;;;;;;;;-1:-1:-1;47336:27:0;;;;;;;;;;;49092:94;;;;;;;;;;-1:-1:-1;49092:94:0;;;;;:::i;:::-;;:::i;47306:25::-;;;;;;;;;;-1:-1:-1;47306:25:0;;;;;;;;26356:144;;;;;;;;;;-1:-1:-1;26356:144:0;;;;;:::i;:::-;;:::i;47159:49::-;;;;;;;;;;;;;;;;47004:80;;;;;;;;;;;;;:::i;50782:153::-;;;;;;;;;;-1:-1:-1;50782:153:0;;;;;:::i;:::-;;:::i;22233:224::-;;;;;;;;;;-1:-1:-1;22233:224:0;;;;;:::i;:::-;;:::i;7664:103::-;;;;;;;;;;;;;:::i;7013:87::-;;;;;;;;;;-1:-1:-1;7086:6:0;;-1:-1:-1;;;;;7086:6:0;7013:87;;50554:96;;;;;;;;;;-1:-1:-1;50554:96:0;;;;;:::i;:::-;;:::i;26736:104::-;;;;;;;;;;;;;:::i;28911:308::-;;;;;;;;;;-1:-1:-1;28911:308:0;;;;;:::i;:::-;;:::i;47089:31::-;;;;;;;;;;;;;:::i;50656:120::-;;;;;;;;;;-1:-1:-1;50656:120:0;;;;;:::i;:::-;;:::i;30018:396::-;;;;;;;;;;-1:-1:-1;30018:396:0;;;;;:::i;:::-;;:::i;50211:337::-;;;;;;;;;;-1:-1:-1;50211:337:0;;;;;:::i;:::-;;:::i;48788:198::-;;;;;;;;;;-1:-1:-1;48788:198:0;;;;;:::i;:::-;;:::i;49194:83::-;;;;;;;;;;-1:-1:-1;49194:83:0;;;;;:::i;:::-;;:::i;29290:164::-;;;;;;;;;;-1:-1:-1;29290:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29411:25:0;;;29387:4;29411:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29290:164;7922:201;;;;;;;;;;-1:-1:-1;7922:201:0;;;;;:::i;:::-;;:::i;21554:615::-;21639:4;-1:-1:-1;;;;;;;;;21939:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;22016:25:0;;;21939:102;:179;;;-1:-1:-1;;;;;;;;;;22093:25:0;;;21939:179;21919:199;21554:615;-1:-1:-1;;21554:615:0:o;26567:100::-;26621:13;26654:5;26647:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26567:100;:::o;28635:204::-;28703:7;28728:16;28736:7;28728;:16::i;:::-;28723:64;;28753:34;;-1:-1:-1;;;28753:34:0;;;;;;;;;;;28723:64;-1:-1:-1;28807:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28807:24:0;;28635:204::o;28095:474::-;28168:13;28200:27;28219:7;28200:18;:27::i;:::-;28168:61;;28250:5;-1:-1:-1;;;;;28244:11:0;:2;-1:-1:-1;;;;;28244:11:0;;28240:48;;;28264:24;;-1:-1:-1;;;28264:24:0;;;;;;;;;;;28240:48;44738:10;-1:-1:-1;;;;;28305:28:0;;;28301:175;;28353:44;28370:5;44738:10;29290:164;:::i;28353:44::-;28348:128;;28425:35;;-1:-1:-1;;;28425:35:0;;;;;;;;;;;28348:128;28488:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;28488:29:0;-1:-1:-1;;;;;28488:29:0;;;;;;;;;28533:28;;28488:24;;28533:28;;;;;;;28157:412;28095:474;;:::o;49283:79::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;;;;;;;;;49341:6:::1;:15:::0;;-1:-1:-1;;49341:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;49283:79::o;29521:170::-;29655:28;29665:4;29671:2;29675:7;29655:9;:28::i;:::-;29521:170;;;:::o;48424:313::-;4111:1;4709:7;;:19;;4701:63;;;;-1:-1:-1;;;4701:63:0;;7516:2:1;4701:63:0;;;7498:21:1;7555:2;7535:18;;;7528:30;7594:33;7574:18;;;7567:61;7645:18;;4701:63:0;7314:355:1;4701:63:0;4111:1;4842:7;:18;47559:6:::1;::::0;::::1;;47558:7;47550:34;;;::::0;-1:-1:-1;;;47550:34:0;;7876:2:1;47550:34:0::1;::::0;::::1;7858:21:1::0;7915:2;7895:18;;;7888:30;-1:-1:-1;;;7934:18:1;;;7927:44;7988:18;;47550:34:0::1;7674:338:1::0;47550:34:0::1;47455:18:::2;::::0;;;::::2;;;47447:54;;;::::0;-1:-1:-1;;;47447:54:0;;8219:2:1;47447:54:0::2;::::0;::::2;8201:21:1::0;8258:2;8238:18;;;8231:30;8297:25;8277:18;;;8270:53;8340:18;;47447:54:0::2;8017:347:1::0;47447:54:0::2;48568:14:::3;47933:7;;47915:14;47899:13;50198:1:::0;20874:12;20661:7;20858:13;-1:-1:-1;;20858:28:0;;;:46;;20608:315;47899:13:::3;:30;;;;:::i;:::-;:41;;47883:108;;;;-1:-1:-1::0;;;47883:108:0::3;;;;;;;:::i;:::-;48031:1;48014:14;:18;:64;;;;;48054:24;;48036:14;:42;;48014:64;47998:111;;;::::0;-1:-1:-1;;;47998:111:0;;9238:2:1;47998:111:0::3;::::0;::::3;9220:21:1::0;9277:2;9257:18;;;9250:30;-1:-1:-1;;;9296:18:1;;;9289:50;9356:18;;47998:111:0::3;9036:344:1::0;47998:111:0::3;48607:14:::4;47720:30;;47702:14;47678:21;47688:10;47678:9;:21::i;:::-;:38;;;;:::i;:::-;:72;;47662:149;;;::::0;-1:-1:-1;;;47662:149:0;;9587:2:1;47662:149:0::4;::::0;::::4;9569:21:1::0;9626:2;9606:18;;;9599:30;9665:34;9645:18;;;9638:62;-1:-1:-1;;;9716:18:1;;;9709:41;9767:19;;47662:149:0::4;9385:407:1::0;47662:149:0::4;48645:14:::5;::::0;48661;48230:22:::5;48661:14:::0;48645;48230:22:::5;:::i;:::-;48217:9;:35;;48201:90;;;::::0;-1:-1:-1;;;48201:90:0;;10172:2:1;48201:90:0::5;::::0;::::5;10154:21:1::0;10211:2;10191:18;;;10184:30;-1:-1:-1;;;10230:18:1;;;10223:51;10291:18;;48201:90:0::5;9970:345:1::0;48201:90:0::5;48691:37:::6;48701:10;48713:14;48691:9;:37::i;:::-;-1:-1:-1::0;;4067:1:0;5021:7;:22;-1:-1:-1;;;48424:313:0:o;51079:145::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;51128:7:::1;51149;7086:6:::0;;-1:-1:-1;;;;;7086:6:0;;7013:87;51149:7:::1;-1:-1:-1::0;;;;;51141:21:0::1;51170;51141:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51127:69;;;51211:2;51203:11;;;::::0;::::1;;51116:108;51079:145::o:0;29762:185::-;29900:39;29917:4;29923:2;29927:7;29900:39;;;;;;;;;;;;:16;:39::i;49470:633::-;49545:16;49573:23;49599:17;49609:6;49599:9;:17::i;:::-;49573:43;;49623:30;49670:15;49656:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49656:30:0;-1:-1:-1;49623:63:0;-1:-1:-1;49718:1:0;49693:22;49762:307;49787:15;49769;:33;:62;;;;;49824:7;;49806:14;:25;;49769:62;49762:307;;;49842:25;49870:23;49878:14;49870:7;:23::i;:::-;49842:51;;49929:6;-1:-1:-1;;;;;49908:27:0;:17;-1:-1:-1;;;;;49908:27:0;;49904:131;;;49981:14;49948:13;49962:15;49948:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;50008:17;;;;:::i;:::-;;;;49904:131;50045:16;;;;:::i;:::-;;;;49833:236;49762:307;;;-1:-1:-1;50084:13:0;;49470:633;-1:-1:-1;;;;49470:633:0:o;49368:96::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;49431:18:::1;:27:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;49431:27:0;;::::1;::::0;;;::::1;::::0;;49368:96::o;50941:132::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;51029:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;:::-;;50941:132:::0;:::o;49092:94::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;49162:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;26356:144::-:0;26420:7;26463:27;26482:7;26463:18;:27::i;47004:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50782:153::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;50874:30:::1;:55:::0;50782:153::o;22233:224::-;22297:7;-1:-1:-1;;;;;22321:19:0;;22317:60;;22349:28;;-1:-1:-1;;;22349:28:0;;;;;;;;;;;22317:60;-1:-1:-1;;;;;;22395:25:0;;;;;:18;:25;;;;;;17572:13;22395:54;;22233:224::o;7664:103::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;7729:30:::1;7756:1;7729:18;:30::i;:::-;7664:103::o:0;50554:96::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;50622:14:::1;:22:::0;50554:96::o;26736:104::-;26792:13;26825:7;26818:14;;;;;:::i;28911:308::-;-1:-1:-1;;;;;29010:31:0;;44738:10;29010:31;29006:61;;;29050:17;;-1:-1:-1;;;29050:17:0;;;;;;;;;;;29006:61;44738:10;29080:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29080:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29080:60:0;;;;;;;;;;29156:55;;540:41:1;;;29080:49:0;;44738:10;29156:55;;513:18:1;29156:55:0;;;;;;;28911:308;;:::o;47089:31::-;;;;;;;:::i;50656:120::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;50730:24:::1;:40:::0;50656:120::o;30018:396::-;30185:28;30195:4;30201:2;30205:7;30185:9;:28::i;:::-;-1:-1:-1;;;;;30228:14:0;;;:19;30224:183;;30267:56;30298:4;30304:2;30308:7;30317:5;30267:30;:56::i;:::-;30262:145;;30351:40;;-1:-1:-1;;;30351:40:0;;;;;;;;;;;30262:145;30018:396;;;;:::o;50211:337::-;50285:13;50315:17;50323:8;50315:7;:17::i;:::-;50307:77;;;;-1:-1:-1;;;50307:77:0;;11004:2:1;50307:77:0;;;10986:21:1;11043:2;11023:18;;;11016:30;11082:34;11062:18;;;11055:62;-1:-1:-1;;;11133:18:1;;;11126:45;11188:19;;50307:77:0;10802:411:1;50307:77:0;50397:8;;;;;;;50393:64;;50432:17;50425:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50211:337;;;:::o;50393:64::-;50503:7;50512:19;:8;:17;:19::i;:::-;50486:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50465:77;;50211:337;;;:::o;48788:198::-;4111:1;4709:7;;:19;;4701:63;;;;-1:-1:-1;;;4701:63:0;;7516:2:1;4701:63:0;;;7498:21:1;7555:2;7535:18;;;7528:30;7594:33;7574:18;;;7567:61;7645:18;;4701:63:0;7314:355:1;4701:63:0;4111:1;4842:7;:18;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23:::1;7225:68;;;;-1:-1:-1::0;;;7225:68:0::1;;;;;;;:::i;:::-;48912:14:::2;47933:7;;47915:14;47899:13;50198:1:::0;20874:12;20661:7;20858:13;-1:-1:-1;;20858:28:0;;;:46;;20608:315;47899:13:::2;:30;;;;:::i;:::-;:41;;47883:108;;;;-1:-1:-1::0;;;47883:108:0::2;;;;;;;:::i;:::-;48031:1;48014:14;:18;:64;;;;;48054:24;;48036:14;:42;;48014:64;47998:111;;;::::0;-1:-1:-1;;;47998:111:0;;9238:2:1;47998:111:0::2;::::0;::::2;9220:21:1::0;9277:2;9257:18;;;9250:30;-1:-1:-1;;;9296:18:1;;;9289:50;9356:18;;47998:111:0::2;9036:344:1::0;47998:111:0::2;48942:36:::3;48952:9;48963:14;48942:9;:36::i;:::-;-1:-1:-1::0;;4067:1:0;5021:7;:22;-1:-1:-1;48788:198:0:o;49194:83::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;49254:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;49254:17:0;;::::1;::::0;;;::::1;::::0;;49194:83::o;7922:201::-;7086:6;;-1:-1:-1;;;;;7086:6:0;44738:10;7233:23;7225:68;;;;-1:-1:-1;;;7225:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;8011:22:0;::::1;8003:73;;;::::0;-1:-1:-1;;;8003:73:0;;13160:2:1;8003:73:0::1;::::0;::::1;13142:21:1::0;13199:2;13179:18;;;13172:30;13238:34;13218:18;;;13211:62;-1:-1:-1;;;13289:18:1;;;13282:36;13335:19;;8003:73:0::1;12958:402:1::0;8003:73:0::1;8087:28;8106:8;8087:18;:28::i;30669:273::-:0;30726:4;30782:7;50198:1;30763:26;;:66;;;;;30816:13;;30806:7;:23;30763:66;:152;;;;-1:-1:-1;;30867:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30867:43:0;:48;;30669:273::o;23871:1129::-;23938:7;23973;;50198:1;24022:23;24018:915;;24075:13;;24068:4;:20;24064:869;;;24113:14;24130:23;;;:17;:23;;;;;;-1:-1:-1;;;24219:23:0;;24215:699;;24738:113;24745:11;24738:113;;-1:-1:-1;;;24816:6:0;24798:25;;;;:17;:25;;;;;;24738:113;;;24884:6;23871:1129;-1:-1:-1;;;23871:1129:0:o;24215:699::-;24090:843;24064:869;24961:31;;-1:-1:-1;;;24961:31:0;;;;;;;;;;;35908:2515;36023:27;36053;36072:7;36053:18;:27::i;:::-;36023:57;;36138:4;-1:-1:-1;;;;;36097:45:0;36113:19;-1:-1:-1;;;;;36097:45:0;;36093:86;;36151:28;;-1:-1:-1;;;36151:28:0;;;;;;;;;;;36093:86;36192:22;44738:10;-1:-1:-1;;;;;36218:27:0;;;;:87;;-1:-1:-1;36262:43:0;36279:4;44738:10;29290:164;:::i;36262:43::-;36218:147;;;-1:-1:-1;44738:10:0;36322:20;36334:7;36322:11;:20::i;:::-;-1:-1:-1;;;;;36322:43:0;;36218:147;36192:174;;36384:17;36379:66;;36410:35;;-1:-1:-1;;;36410:35:0;;;;;;;;;;;36379:66;-1:-1:-1;;;;;36460:16:0;;36456:52;;36485:23;;-1:-1:-1;;;36485:23:0;;;;;;;;;;;36456:52;36637:24;;;;:15;:24;;;;;;;;36630:31;;-1:-1:-1;;;;;;36630:31:0;;;-1:-1:-1;;;;;37029:24:0;;;;;:18;:24;;;;;37027:26;;-1:-1:-1;;37027:26:0;;;37098:22;;;;;;;37096:24;;-1:-1:-1;37096:24:0;;;37391:26;;;:17;:26;;;;;-1:-1:-1;;;37479:15:0;18226:3;37479:41;37437:84;;:128;;37391:174;;;37685:46;;37681:626;;37789:1;37779:11;;37757:19;37912:30;;;:17;:30;;;;;;37908:384;;38050:13;;38035:11;:28;38031:242;;38197:30;;;;:17;:30;;;;;:52;;;38031:242;37738:569;37681:626;38354:7;38350:2;-1:-1:-1;;;;;38335:27:0;38344:4;-1:-1:-1;;;;;38335:27:0;;;;;;;;;;;36012:2411;;35908:2515;;;:::o;31026:104::-;31095:27;31105:2;31109:8;31095:27;;;;;;;;;;;;:9;:27::i;8283:191::-;8376:6;;;-1:-1:-1;;;;;8393:17:0;;;-1:-1:-1;;;;;;8393:17:0;;;;;;;8426:40;;8376:6;;;8393:17;8376:6;;8426:40;;8357:16;;8426:40;8346:128;8283:191;:::o;42120:716::-;42304:88;;-1:-1:-1;;;42304:88:0;;42283:4;;-1:-1:-1;;;;;42304:45:0;;;;;:88;;44738:10;;42371:4;;42377:7;;42386:5;;42304:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42304:88:0;;;;;;;;-1:-1:-1;;42304:88:0;;;;;;;;;;;;:::i;:::-;;;42300:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42587:13:0;;42583:235;;42633:40;;-1:-1:-1;;;42633:40:0;;;;;;;;;;;42583:235;42776:6;42770:13;42761:6;42757:2;42753:15;42746:38;42300:529;-1:-1:-1;;;;;;42463:64:0;-1:-1:-1;;;42463:64:0;;-1:-1:-1;42300:529:0;42120:716;;;;;;:::o;540:723::-;596:13;817:10;813:53;;-1:-1:-1;;844:10:0;;;;;;;;;;;;-1:-1:-1;;;844:10:0;;;;;540:723::o;813:53::-;891:5;876:12;932:78;939:9;;932:78;;965:8;;;;:::i;:::-;;-1:-1:-1;988:10:0;;-1:-1:-1;996:2:0;988:10;;:::i;:::-;;;932:78;;;1020:19;1052:6;1042:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1042:17:0;;1020:39;;1070:154;1077:10;;1070:154;;1104:11;1114:1;1104:11;;:::i;:::-;;-1:-1:-1;1173:10:0;1181:2;1173:5;:10;:::i;:::-;1160:24;;:2;:24;:::i;:::-;1147:39;;1130:6;1137;1130:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1130:56:0;;;;;;;;-1:-1:-1;1201:11:0;1210:2;1201:11;;:::i;:::-;;;1070:154;;31503:2236;31626:20;31649:13;-1:-1:-1;;;;;31677:16:0;;31673:48;;31702:19;;-1:-1:-1;;;31702:19:0;;;;;;;;;;;31673:48;31736:13;31732:44;;31758:18;;-1:-1:-1;;;31758:18:0;;;;;;;;;;;31732:44;-1:-1:-1;;;;;32325:22:0;;;;;;:18;:22;;;;17709:2;32325:22;;;:70;;32363:31;32351:44;;32325:70;;;32638:31;;;:17;:31;;;;;32731:15;18226:3;32731:41;32689:84;;-1:-1:-1;32809:13:0;;18489:3;32794:56;32689:162;32638:213;;:31;;32932:23;;;;32976:14;:19;32972:635;;33016:313;33047:38;;33072:12;;-1:-1:-1;;;;;33047:38:0;;;33064:1;;33047:38;;33064:1;;33047:38;33113:69;33152:1;33156:2;33160:14;;;;;;33176:5;33113:30;:69::i;:::-;33108:174;;33218:40;;-1:-1:-1;;;33218:40:0;;;;;;;;;;;33108:174;33324:3;33309:12;:18;33016:313;;33410:12;33393:13;;:29;33389:43;;33424:8;;;33389:43;32972:635;;;33473:119;33504:40;;33529:14;;;;;-1:-1:-1;;;;;33504:40:0;;;33521:1;;33504:40;;33521:1;;33504:40;33587:3;33572:12;:18;33473:119;;32972:635;-1:-1:-1;33621:13:0;:28;;;33671:60;;33704:2;33708:12;33722:8;33671:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:1;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:1:o;2377:160::-;2442:20;;2498:13;;2491:21;2481:32;;2471:60;;2527:1;2524;2517:12;2542:180;2598:6;2651:2;2639:9;2630:7;2626:23;2622:32;2619:52;;;2667:1;2664;2657:12;2619:52;2690:26;2706:9;2690:26;:::i;2727:328::-;2804:6;2812;2820;2873:2;2861:9;2852:7;2848:23;2844:32;2841:52;;;2889:1;2886;2879:12;2841:52;2912:29;2931:9;2912:29;:::i;:::-;2902:39;;2960:38;2994:2;2983:9;2979:18;2960:38;:::i;:::-;2950:48;;3045:2;3034:9;3030:18;3017:32;3007:42;;2727:328;;;;;:::o;3060:186::-;3119:6;3172:2;3160:9;3151:7;3147:23;3143:32;3140:52;;;3188:1;3185;3178:12;3140:52;3211:29;3230:9;3211:29;:::i;3251:632::-;3422:2;3474:21;;;3544:13;;3447:18;;;3566:22;;;3393:4;;3422:2;3645:15;;;;3619:2;3604:18;;;3393:4;3688:169;3702:6;3699:1;3696:13;3688:169;;;3763:13;;3751:26;;3832:15;;;;3797:12;;;;3724:1;3717:9;3688:169;;;-1:-1:-1;3874:3:1;;3251:632;-1:-1:-1;;;;;;3251:632:1:o;3888:127::-;3949:10;3944:3;3940:20;3937:1;3930:31;3980:4;3977:1;3970:15;4004:4;4001:1;3994:15;4020:632;4085:5;4115:18;4156:2;4148:6;4145:14;4142:40;;;4162:18;;:::i;:::-;4237:2;4231:9;4205:2;4291:15;;-1:-1:-1;;4287:24:1;;;4313:2;4283:33;4279:42;4267:55;;;4337:18;;;4357:22;;;4334:46;4331:72;;;4383:18;;:::i;:::-;4423:10;4419:2;4412:22;4452:6;4443:15;;4482:6;4474;4467:22;4522:3;4513:6;4508:3;4504:16;4501:25;4498:45;;;4539:1;4536;4529:12;4498:45;4589:6;4584:3;4577:4;4569:6;4565:17;4552:44;4644:1;4637:4;4628:6;4620;4616:19;4612:30;4605:41;;;;4020:632;;;;;:::o;4657:451::-;4726:6;4779:2;4767:9;4758:7;4754:23;4750:32;4747:52;;;4795:1;4792;4785:12;4747:52;4835:9;4822:23;4868:18;4860:6;4857:30;4854:50;;;4900:1;4897;4890:12;4854:50;4923:22;;4976:4;4968:13;;4964:27;-1:-1:-1;4954:55:1;;5005:1;5002;4995:12;4954:55;5028:74;5094:7;5089:2;5076:16;5071:2;5067;5063:11;5028:74;:::i;5113:254::-;5178:6;5186;5239:2;5227:9;5218:7;5214:23;5210:32;5207:52;;;5255:1;5252;5245:12;5207:52;5278:29;5297:9;5278:29;:::i;:::-;5268:39;;5326:35;5357:2;5346:9;5342:18;5326:35;:::i;:::-;5316:45;;5113:254;;;;;:::o;5372:667::-;5467:6;5475;5483;5491;5544:3;5532:9;5523:7;5519:23;5515:33;5512:53;;;5561:1;5558;5551:12;5512:53;5584:29;5603:9;5584:29;:::i;:::-;5574:39;;5632:38;5666:2;5655:9;5651:18;5632:38;:::i;:::-;5622:48;;5717:2;5706:9;5702:18;5689:32;5679:42;;5772:2;5761:9;5757:18;5744:32;5799:18;5791:6;5788:30;5785:50;;;5831:1;5828;5821:12;5785:50;5854:22;;5907:4;5899:13;;5895:27;-1:-1:-1;5885:55:1;;5936:1;5933;5926:12;5885:55;5959:74;6025:7;6020:2;6007:16;6002:2;5998;5994:11;5959:74;:::i;:::-;5949:84;;;5372:667;;;;;;;:::o;6044:254::-;6112:6;6120;6173:2;6161:9;6152:7;6148:23;6144:32;6141:52;;;6189:1;6186;6179:12;6141:52;6225:9;6212:23;6202:33;;6254:38;6288:2;6277:9;6273:18;6254:38;:::i;6303:260::-;6371:6;6379;6432:2;6420:9;6411:7;6407:23;6403:32;6400:52;;;6448:1;6445;6438:12;6400:52;6471:29;6490:9;6471:29;:::i;:::-;6461:39;;6519:38;6553:2;6542:9;6538:18;6519:38;:::i;6568:380::-;6647:1;6643:12;;;;6690;;;6711:61;;6765:4;6757:6;6753:17;6743:27;;6711:61;6818:2;6810:6;6807:14;6787:18;6784:38;6781:161;;;6864:10;6859:3;6855:20;6852:1;6845:31;6899:4;6896:1;6889:15;6927:4;6924:1;6917:15;6781:161;;6568:380;;;:::o;6953:356::-;7155:2;7137:21;;;7174:18;;;7167:30;7233:34;7228:2;7213:18;;7206:62;7300:2;7285:18;;6953:356::o;8369:127::-;8430:10;8425:3;8421:20;8418:1;8411:31;8461:4;8458:1;8451:15;8485:4;8482:1;8475:15;8501:128;8541:3;8572:1;8568:6;8565:1;8562:13;8559:39;;;8578:18;;:::i;:::-;-1:-1:-1;8614:9:1;;8501:128::o;8634:397::-;8836:2;8818:21;;;8875:2;8855:18;;;8848:30;8914:34;8909:2;8894:18;;8887:62;-1:-1:-1;;;8980:2:1;8965:18;;8958:31;9021:3;9006:19;;8634:397::o;9797:168::-;9837:7;9903:1;9899;9895:6;9891:14;9888:1;9885:21;9880:1;9873:9;9866:17;9862:45;9859:71;;;9910:18;;:::i;:::-;-1:-1:-1;9950:9:1;;9797:168::o;10530:127::-;10591:10;10586:3;10582:20;10579:1;10572:31;10622:4;10619:1;10612:15;10646:4;10643:1;10636:15;10662:135;10701:3;-1:-1:-1;;10722:17:1;;10719:43;;;10742:18;;:::i;:::-;-1:-1:-1;10789:1:1;10778:13;;10662:135::o;11344:185::-;11386:3;11424:5;11418:12;11439:52;11484:6;11479:3;11472:4;11465:5;11461:16;11439:52;:::i;:::-;11507:16;;;;;11344:185;-1:-1:-1;;11344:185:1:o;11652:1301::-;11929:3;11958:1;11991:6;11985:13;12021:3;12043:1;12071:9;12067:2;12063:18;12053:28;;12131:2;12120:9;12116:18;12153;12143:61;;12197:4;12189:6;12185:17;12175:27;;12143:61;12223:2;12271;12263:6;12260:14;12240:18;12237:38;12234:165;;;-1:-1:-1;;;12298:33:1;;12354:4;12351:1;12344:15;12384:4;12305:3;12372:17;12234:165;12415:18;12442:104;;;;12560:1;12555:320;;;;12408:467;;12442:104;-1:-1:-1;;12475:24:1;;12463:37;;12520:16;;;;-1:-1:-1;12442:104:1;;12555:320;11291:1;11284:14;;;11328:4;11315:18;;12650:1;12664:165;12678:6;12675:1;12672:13;12664:165;;;12756:14;;12743:11;;;12736:35;12799:16;;;;12693:10;;12664:165;;;12668:3;;12858:6;12853:3;12849:16;12842:23;;12408:467;;;;;;;12891:56;12916:30;12942:3;12934:6;12916:30;:::i;:::-;-1:-1:-1;;;11594:20:1;;11639:1;11630:11;;11534:113;12891:56;12884:63;11652:1301;-1:-1:-1;;;;;11652:1301:1:o;13365:500::-;-1:-1:-1;;;;;13634:15:1;;;13616:34;;13686:15;;13681:2;13666:18;;13659:43;13733:2;13718:18;;13711:34;;;13781:3;13776:2;13761:18;;13754:31;;;13559:4;;13802:57;;13839:19;;13831:6;13802:57;:::i;:::-;13794:65;13365:500;-1:-1:-1;;;;;;13365:500:1:o;13870:249::-;13939:6;13992:2;13980:9;13971:7;13967:23;13963:32;13960:52;;;14008:1;14005;13998:12;13960:52;14040:9;14034:16;14059:30;14083:5;14059:30;:::i;14124:127::-;14185:10;14180:3;14176:20;14173:1;14166:31;14216:4;14213:1;14206:15;14240:4;14237:1;14230:15;14256:120;14296:1;14322;14312:35;;14327:18;;:::i;:::-;-1:-1:-1;14361:9:1;;14256:120::o;14381:125::-;14421:4;14449:1;14446;14443:8;14440:34;;;14454:18;;:::i;:::-;-1:-1:-1;14491:9:1;;14381:125::o;14511:112::-;14543:1;14569;14559:35;;14574:18;;:::i;:::-;-1:-1:-1;14608:9:1;;14511:112::o

Swarm Source

ipfs://119c569f013b3e8fb01334776138c5ce0c4336a4648823fcd8ab9d8b99eb7134
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.