Contract 0x7AbCAb68ef30050D1eEeD3a6554587a1DC9E26EB

 
 
Txn Hash
Method
Block
From
To
Value
0xfdc3d4741d15d099a416ad2b36d8a53dbe8d0f65899be05d5c1eede8822c7d33Set Approval For...141134042022-01-31 11:33:23195 days 12 hrs agoENS Name kingofnfts.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00312501 67.‍41480242
0xe62d66ecc0ff6c182352ed7b3cae1715b5a486cba62130873e19869c6048d8b2Safe Transfer Fr...138326662021-12-19 1:38:06238 days 22 hrs ago0xf6cc054e4b5a6eec0073823a92dab565048d86fb IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00563656 41.‍80711775
0xa9a8835b60f4aef2f681b697adeb2556561a085d5d0cdbafc060f973481ef9dfSafe Transfer Fr...138326652021-12-19 1:38:00238 days 22 hrs ago0xf6cc054e4b5a6eec0073823a92dab565048d86fb IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00638318 44.‍61952698
0xcd9c0471dee77ee9a4f0ed53cffe710aebaa5382227e6340d7ed5811e4e80f66Safe Transfer Fr...138326642021-12-19 1:37:50238 days 22 hrs ago0xf6cc054e4b5a6eec0073823a92dab565048d86fb IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00633384 44.‍97891698
0x45b6a67b96cf9998bfc7c33f90a5156704fb3f5df8f4d18da99f39dde7f3cf64Buy Loot132897342021-09-24 17:12:47324 days 6 hrs agoENS Name thek.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01349241 88.‍27283936
0xab52e2ca2be82c6e752b04e3f0758a072f5a10e2bb789187fa1ba0f959140b29Buy Loot132897272021-09-24 17:10:58324 days 6 hrs ago0x7508e4c5f13e3bd0ff9a053033f30466a39ab5b5 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01270434 83.‍11698519
0x961649f7ca9d970f1e48699eefbe416a01de06c82c3d08821b9992f4bece2904Withdraw132544392021-09-19 6:08:42329 days 17 hrs ago0x25df9702631504a78093463fa99f61dc59463c59 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00192014 45.‍90354255
0x7947394090e5c7cf8dd14f22eae0911aee59cf9f2ffa88724825fe27e7e60861Get Free Loot131963522021-09-10 6:16:26338 days 17 hrs ago0x44574624e6bab66a3216aab7f34fac51e110cc9f IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍01258028 69.‍53159121
0x5b982e9aa4e6e8fb4107cc9c752bd7e890d6c125df1d4cdaf1cdc8f101bdc476Get Free Loot131929772021-09-09 17:51:48339 days 6 hrs agoENS Name nameet.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00451011 80.‍36414962
0x87352cc007cdfe660328951cb82a66f0f55ed7f58750580bc6dba229ff92552fGet Free Loot131928512021-09-09 17:24:23339 days 6 hrs agoENS Name deathcap.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍02271521 125.‍54765338
0x8a2a6baa426114c3f0c14cceb352b775819195044a17af8aebe33bd6c6f58b62Buy Loot131851682021-09-08 12:44:34340 days 11 hrs ago0x4cf93693586fe5e2f2c7097140f2efa23e3e3fba IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01518154 97.‍53703949
0xa9e45aae4404406e9e521d6b6259d994f47b94c7e56f1b27ac08e997a2675daeBuy Loot131815882021-09-07 23:32:13341 days 26 mins ago0x4028a6a9e49a1115fe41359410025ea8ab02719e IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01728646 113.‍09506561
0x2c5b7fc57d1ea1f25b5b0760a72a47236e02ae234690b437d42a452c3822cdbeGet Free Loot131800552021-09-07 17:41:50341 days 6 hrs agoENS Name 0x0ff.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍02856719 157.‍891749
0xdaf48efcc49836fa58e0da2fcf5cd39f669b21fbb9aa88c054ce3ee161f43a78Get Free Loot131781042021-09-07 10:26:52341 days 13 hrs ago0xcbdccb3e11777da45a2f2c9b3ae323d90b1f8a87 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍01447432 80
0x87f3f26583c6e46683ca2447e2cc15d3a2be8b49b27e13c44d74aa6994b094f2Get Free Loot131780232021-09-07 10:05:08341 days 13 hrs ago0xacb6cb907c5ad997aeb5f44bffe8abec223592d2 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍0121090766.‍92722821
0x9798c0e5333dde6435893ca8627fb81e50a7ebdce40f0071d54c2fac4df7aca6Transfer131726962021-09-06 14:26:44342 days 9 hrs ago0x4240268a3ad66fab234e124c31c9cecc8b457e82 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍00230228 109.‍63262655
0x362078c677d1b30fbf3660058a43973c14c26c1a24b28913106863d51b71bdfeBuy Loot131725242021-09-06 13:47:53342 days 10 hrs ago0x7911670881a81f8410d06053d7b3c237ce77b9b4 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍02033983 133.‍07142908
0xd949b6a6caa819c78744ed16c5497a37024da0cf3d4b9e037215d877f2379c6dGet Free Loot131725062021-09-06 13:44:17342 days 10 hrs ago0x4240268a3ad66fab234e124c31c9cecc8b457e82 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍01837945 101.‍58380538
0x0d005aa4942430354ab98141d933b80b5bd632849bc3080962143525c54b137eBuy Loot131724392021-09-06 13:28:12342 days 10 hrs agoENS Name nftsimp69420.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01364986 87.‍69643493
0x95df6e24a9b53282713c9f97640346ff6fd51a3d9dacc217a4f9d2228fdc062dBuy Loot131723652021-09-06 13:14:10342 days 10 hrs agoENS Name nftsimp69420.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01402243 90.‍09012265
0xbf6c4b20088be4042d18c3a023d674af6b5c7cfc31430c20e5d531d4a3727665Get Free Loot131723592021-09-06 13:13:18342 days 10 hrs agoENS Name xst.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍03122892105.‍45753307
0x0b925ab2b32c39288fc9f483e2e1b56838436ae20924023cd206044d3f5df7b3Buy Loot131723072021-09-06 13:00:54342 days 10 hrs agoENS Name nftsimp69420.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01476153 94.‍83861304
0x05049e943fcb4a94cb64f86b13eec36ab064c4054b3bcd77bd63da66643cec2cBuy Loot131722512021-09-06 12:46:52342 days 11 hrs agoENS Name nftsimp69420.eth IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01226267 80.‍22741092
0xfa7b34ddd152dc3177464be3ab8e8f80f25fe53249da96039f82a7045d86864fBuy Loot131717212021-09-06 10:51:37342 days 13 hrs ago0xd012fee1934792515fa8a39b61edf050796bb052 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0.‍02 Ether0.‍01175993 76.‍93828157
0x9b153a016c8de5dd1731c094b54c607ae000b147e792d6ff29e0252548304cfbGet Free Loot131709722021-09-06 7:57:33342 days 16 hrs ago0x23e43b5e5d0d99dc0a69dccf0705a87bc5825fb6 IN  0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0 Ether0.‍01502867 83.‍06395289
[ Download CSV Export 
Latest 4 internal transactions
Parent Txn Hash Block From To Value
0x961649f7ca9d970f1e48699eefbe416a01de06c82c3d08821b9992f4bece2904132544392021-09-19 6:08:42329 days 17 hrs ago 0x7abcab68ef30050d1eeed3a6554587a1dc9e26ebENS Name aymane.eth0.‍12 Ether
0x961649f7ca9d970f1e48699eefbe416a01de06c82c3d08821b9992f4bece2904132544392021-09-19 6:08:42329 days 17 hrs ago 0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0x25df9702631504a78093463fa99f61dc59463c590.‍12 Ether
0xcf923e1523b31e8bf4ac5cce6550ca9ee302fa9f6735410c73a038a9c701ded9131675072021-09-05 19:12:29343 days 4 hrs ago 0x7abcab68ef30050d1eeed3a6554587a1dc9e26ebENS Name aymane.eth0.‍15 Ether
0xcf923e1523b31e8bf4ac5cce6550ca9ee302fa9f6735410c73a038a9c701ded9131675072021-09-05 19:12:29343 days 4 hrs ago 0x7abcab68ef30050d1eeed3a6554587a1dc9e26eb0x25df9702631504a78093463fa99f61dc59463c590.‍15 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LootofEther

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-04
*/

// SPDX-License-Identifier: MIT

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

pragma solidity ^0.8.0;

/**
 * @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/IERC721.sol

pragma solidity ^0.8.0;

/**
 * @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/access/Ownable.sol

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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"
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol

pragma solidity ^0.8.0;

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

    /**
     * @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/introspection/ERC165.sol

pragma solidity ^0.8.0;

/**
 * @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: @openzeppelin/contracts/utils/Strings.sol

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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/token/ERC721/extensions/IERC721Metadata.sol

pragma solidity ^0.8.0;

/**
 * @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/IERC721Receiver.sol

pragma solidity ^0.8.0;

/**
 * @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/ERC721.sol

pragma solidity ^0.8.0;

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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
        virtual
        override
        returns (uint256)
    {
        require(
            owner != address(0),
            "ERC721: balance query for the zero address"
        );
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        return owner;
    }

    /**
     * @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)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _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 {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _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 {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId)
        internal
        view
        virtual
        returns (bool)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            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(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol

pragma solidity ^0.8.0;

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < ERC721.balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < ERC721Enumerable.totalSupply(),
            "ERC721Enumerable: global index out of bounds"
        );
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId)
        private
    {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

pragma solidity ^0.8.0;

interface LootInterface {
	function balanceOf(address owner) external view returns (uint256 balance);
}

contract LootofEther is ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenId;

    //VARIABLES
    uint public cap = 10000;
    uint public price = 20000000000000000; //0.02 Ether
    uint earlyClaimed;
    string baseTokenURI;
    address member1 = 0x25Df9702631504a78093463fa99F61DC59463c59; //Member 1
    address member2 = 0x1002CA2d139962cA9bA0B560C7A703b4A149F6e0; //Member 2
    address lootAddress = 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7;
    mapping (address => uint) claimed;
    
	LootInterface lootContract = LootInterface(lootAddress);

    constructor() ERC721("Loot of Ether", "LOE") {
    }

    function buyLoot(uint _amount) public payable {
        require(totalSupply() + _amount <= cap, "LOE cap will be exceeded.");
        require(msg.value >= price * _amount, "Ether amount is not correct.");

        for (uint256 i = 0; i < _amount; i++) {
            _mint(msg.sender);
        }
    }
    
    function getFreeLoot(uint _amount) public payable {
        require(claimed[msg.sender] + _amount <= lootContract.balanceOf(msg.sender), "You need a loot.");
        require(totalSupply() + _amount <= cap, "LOE cap will be exceeded.");

        for (uint256 i = 0; i < _amount; i++) {
            _mint(msg.sender);
        }
        
        claimed[msg.sender] += 1;
    }
    
    function earlyMint(uint _amount) public onlyMembers {
        require(totalSupply() + _amount <= cap, "LOE cap will be exceeded.");
        require(earlyClaimed + _amount <= 60, "Limit reached.");

        for (uint256 i = 0; i < _amount; i++) {
            _mint(msg.sender);
        }
        
        earlyClaimed += _amount;
    }
    
    function setPrice(uint _price) public onlyMember1 {
        price = _price;
    }

    function withdraw() payable public {
        uint256 part = address(this).balance / 2;
        payable(member1).transfer(part);
        payable(member2).transfer(part);
    }
    
    function setBaseTokenURI(string memory _valueURI) onlyMember1 public {
        baseTokenURI = _valueURI;
    }

    function _mint(address _to) private {
        _tokenId.increment();
        uint256 tokenId = _tokenId.current();
        _safeMint(_to, tokenId);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }
    
    //MODIFIER
    modifier onlyMember1 {
        require(msg.sender == member1);
    _;
    }
    
    modifier onlyMembers {
        require(msg.sender == member1 || msg.sender == member2);
    _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"buyLoot","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"earlyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getFreeLoot","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"_valueURI","type":"string"}],"name":"setBaseTokenURI","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052612710600c5566470de4df820000600d55601080546001600160a01b03199081167325df9702631504a78093463fa99f61dc59463c5917909155601180548216731002ca2d139962ca9ba0b560c7a703b4a149f6e017905560128054821673ff9c1b15b16263c61d017ee9f65c50e4ae0113d71790819055601480549092166001600160a01b03919091161790553480156200009f57600080fd5b50604080518082018252600d81526c2637b7ba1037b31022ba3432b960991b6020808301918252835180850190945260038452624c4f4560e81b908401528151919291620000f0916000916200017f565b508051620001069060019060208401906200017f565b505050620001236200011d6200012960201b60201c565b6200012d565b62000262565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018d9062000225565b90600052602060002090601f016020900481019282620001b15760008555620001fc565b82601f10620001cc57805160ff1916838001178555620001fc565b82800160010185558215620001fc579182015b82811115620001fc578251825591602001919060010190620001df565b506200020a9291506200020e565b5090565b5b808211156200020a57600081556001016200020f565b6002810460018216806200023a57607f821691505b602082108114156200025c57634e487b7160e01b600052602260045260246000fd5b50919050565b61227180620002726000396000f3fe60806040526004361061019c5760003560e01c806365bf39ef116100ec578063a035b1fe1161008a578063c87b56dd11610064578063c87b56dd1461044e578063c898cbea1461046e578063e985e9c514610481578063f2fde38b146104a15761019c565b8063a035b1fe146103f9578063a22cb4651461040e578063b88d4fde1461042e5761019c565b80638a61413c116100c65780638a61413c1461038f5780638da5cb5b146103af57806391b7f5ed146103c457806395d89b41146103e45761019c565b806365bf39ef1461034757806370a082311461035a578063715018a61461037a5761019c565b80632f745c59116101595780633ccfd60b116101335780633ccfd60b146102df57806342842e0e146102e75780634f6ccce7146103075780636352211e146103275761019c565b80632f745c591461028a57806330176e13146102aa578063355274ea146102ca5761019c565b806301ffc9a7146101a157806306fdde03146101d7578063081812fc146101f9578063095ea7b31461022657806318160ddd1461024857806323b872dd1461026a575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046119ad565b6104c1565b6040516101ce9190611b07565b60405180910390f35b3480156101e357600080fd5b506101ec6104ee565b6040516101ce9190611b12565b34801561020557600080fd5b50610219610214366004611a2b565b610580565b6040516101ce9190611ab6565b34801561023257600080fd5b50610246610241366004611984565b6105cc565b005b34801561025457600080fd5b5061025d610664565b6040516101ce91906120e2565b34801561027657600080fd5b50610246610285366004611896565b61066a565b34801561029657600080fd5b5061025d6102a5366004611984565b6106a2565b3480156102b657600080fd5b506102466102c53660046119e5565b6106f4565b3480156102d657600080fd5b5061025d610722565b610246610728565b3480156102f357600080fd5b50610246610302366004611896565b6107ab565b34801561031357600080fd5b5061025d610322366004611a2b565b6107c6565b34801561033357600080fd5b50610219610342366004611a2b565b610821565b610246610355366004611a2b565b610856565b34801561036657600080fd5b5061025d61037536600461184a565b610992565b34801561038657600080fd5b506102466109d6565b34801561039b57600080fd5b506102466103aa366004611a2b565b610a21565b3480156103bb57600080fd5b50610219610ae8565b3480156103d057600080fd5b506102466103df366004611a2b565b610af7565b3480156103f057600080fd5b506101ec610b13565b34801561040557600080fd5b5061025d610b22565b34801561041a57600080fd5b5061024661042936600461194a565b610b28565b34801561043a57600080fd5b506102466104493660046118d1565b610bf6565b34801561045a57600080fd5b506101ec610469366004611a2b565b610c35565b61024661047c366004611a2b565b610cb8565b34801561048d57600080fd5b506101c161049c366004611864565b610d3f565b3480156104ad57600080fd5b506102466104bc36600461184a565b610d6d565b60006001600160e01b0319821663780e9d6360e01b14806104e657506104e682610dde565b90505b919050565b6060600080546104fd90612179565b80601f016020809104026020016040519081016040528092919081815260200182805461052990612179565b80156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b600061058b82610e1e565b6105b05760405162461bcd60e51b81526004016105a790611e8a565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105d782610821565b9050806001600160a01b0316836001600160a01b0316141561060b5760405162461bcd60e51b81526004016105a790611fa3565b806001600160a01b031661061d610e3b565b6001600160a01b0316148061063957506106398161049c610e3b565b6106555760405162461bcd60e51b81526004016105a790611d65565b61065f8383610e3f565b505050565b60085490565b61067b610675610e3b565b82610ead565b6106975760405162461bcd60e51b81526004016105a79061201b565b61065f838383610f32565b60006106ad83610992565b82106106cb5760405162461bcd60e51b81526004016105a790611b25565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6010546001600160a01b0316331461070b57600080fd5b805161071e90600f90602084019061172a565b5050565b600c5481565b6000610735600247612103565b6010546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610770573d6000803e3d6000fd5b506011546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561071e573d6000803e3d6000fd5b61065f83838360405180602001604052806000815250610bf6565b60006107d0610664565b82106107ee5760405162461bcd60e51b81526004016105a790612096565b6008828154811061080f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104e65760405162461bcd60e51b81526004016105a790611e0c565b6014546040516370a0823160e01b81526001600160a01b03909116906370a0823190610886903390600401611ab6565b60206040518083038186803b15801561089e57600080fd5b505afa1580156108b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d69190611a43565b336000908152601360205260409020546108f19083906120eb565b111561090f5760405162461bcd60e51b81526004016105a79061206c565b600c548161091b610664565b61092591906120eb565b11156109435760405162461bcd60e51b81526004016105a790611fe4565b60005b81811015610969576109573361105f565b80610961816121b4565b915050610946565b5033600090815260136020526040812080546001929061098a9084906120eb565b909155505050565b60006001600160a01b0382166109ba5760405162461bcd60e51b81526004016105a790611dc2565b506001600160a01b031660009081526003602052604090205490565b6109de610e3b565b6001600160a01b03166109ef610ae8565b6001600160a01b031614610a155760405162461bcd60e51b81526004016105a790611ed6565b610a1f6000611081565b565b6010546001600160a01b0316331480610a4457506011546001600160a01b031633145b610a4d57600080fd5b600c5481610a59610664565b610a6391906120eb565b1115610a815760405162461bcd60e51b81526004016105a790611fe4565b603c81600e54610a9191906120eb565b1115610aaf5760405162461bcd60e51b81526004016105a790611c76565b60005b81811015610ad557610ac33361105f565b80610acd816121b4565b915050610ab2565b5080600e600082825461098a91906120eb565b600a546001600160a01b031690565b6010546001600160a01b03163314610b0e57600080fd5b600d55565b6060600180546104fd90612179565b600d5481565b610b30610e3b565b6001600160a01b0316826001600160a01b03161415610b615760405162461bcd60e51b81526004016105a790611ce2565b8060056000610b6e610e3b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610bb2610e3b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610bea9190611b07565b60405180910390a35050565b610c07610c01610e3b565b83610ead565b610c235760405162461bcd60e51b81526004016105a79061201b565b610c2f848484846110d3565b50505050565b6060610c4082610e1e565b610c5c5760405162461bcd60e51b81526004016105a790611f54565b6000610c66611106565b90506000815111610c865760405180602001604052806000815250610cb1565b80610c9084611115565b604051602001610ca1929190611a87565b6040516020818303038152906040525b9392505050565b600c5481610cc4610664565b610cce91906120eb565b1115610cec5760405162461bcd60e51b81526004016105a790611fe4565b80600d54610cfa9190612117565b341015610d195760405162461bcd60e51b81526004016105a790611b70565b60005b8181101561071e57610d2d3361105f565b80610d37816121b4565b915050610d1c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610d75610e3b565b6001600160a01b0316610d86610ae8565b6001600160a01b031614610dac5760405162461bcd60e51b81526004016105a790611ed6565b6001600160a01b038116610dd25760405162461bcd60e51b81526004016105a790611bf9565b610ddb81611081565b50565b60006001600160e01b031982166380ac58cd60e01b1480610e0f57506001600160e01b03198216635b5e139f60e01b145b806104e657506104e682611230565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e7482610821565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610eb882610e1e565b610ed45760405162461bcd60e51b81526004016105a790611d19565b6000610edf83610821565b9050806001600160a01b0316846001600160a01b03161480610f1a5750836001600160a01b0316610f0f84610580565b6001600160a01b0316145b80610f2a5750610f2a8185610d3f565b949350505050565b826001600160a01b0316610f4582610821565b6001600160a01b031614610f6b5760405162461bcd60e51b81526004016105a790611f0b565b6001600160a01b038216610f915760405162461bcd60e51b81526004016105a790611c9e565b610f9c838383611249565b610fa7600082610e3f565b6001600160a01b0383166000908152600360205260408120805460019290610fd0908490612136565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ffe9084906120eb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611069600b6112d2565b6000611075600b6112db565b905061071e82826112df565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6110de848484610f32565b6110ea848484846112f9565b610c2f5760405162461bcd60e51b81526004016105a790611ba7565b6060600f80546104fd90612179565b60608161113a57506040805180820190915260018152600360fc1b60208201526104e9565b8160005b8115611164578061114e816121b4565b915061115d9050600a83612103565b915061113e565b60008167ffffffffffffffff81111561118d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111b7576020820181803683370190505b5090505b8415610f2a576111cc600183612136565b91506111d9600a866121cf565b6111e49060306120eb565b60f81b81838151811061120757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611229600a86612103565b94506111bb565b6001600160e01b031981166301ffc9a760e01b14919050565b61125483838361065f565b6001600160a01b0383166112705761126b81611414565b611293565b816001600160a01b0316836001600160a01b031614611293576112938382611458565b6001600160a01b0382166112af576112aa816114f5565b61065f565b826001600160a01b0316826001600160a01b03161461065f5761065f82826115ce565b80546001019055565b5490565b61071e828260405180602001604052806000815250611612565b600061130d846001600160a01b0316611645565b1561140957836001600160a01b031663150b7a02611329610e3b565b8786866040518563ffffffff1660e01b815260040161134b9493929190611aca565b602060405180830381600087803b15801561136557600080fd5b505af1925050508015611395575060408051601f3d908101601f19168201909252611392918101906119c9565b60015b6113ef573d8080156113c3576040519150601f19603f3d011682016040523d82523d6000602084013e6113c8565b606091505b5080516113e75760405162461bcd60e51b81526004016105a790611ba7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f2a565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161146584610992565b61146f9190612136565b6000838152600760205260409020549091508082146114c2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061150790600190612136565b6000838152600960205260408120546008805493945090928490811061153d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061156c57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806115b257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006115d983610992565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b61161c838361164b565b61162960008484846112f9565b61065f5760405162461bcd60e51b81526004016105a790611ba7565b3b151590565b6001600160a01b0382166116715760405162461bcd60e51b81526004016105a790611e55565b61167a81610e1e565b156116975760405162461bcd60e51b81526004016105a790611c3f565b6116a360008383611249565b6001600160a01b03821660009081526003602052604081208054600192906116cc9084906120eb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461173690612179565b90600052602060002090601f016020900481019282611758576000855561179e565b82601f1061177157805160ff191683800117855561179e565b8280016001018555821561179e579182015b8281111561179e578251825591602001919060010190611783565b506117aa9291506117ae565b5090565b5b808211156117aa57600081556001016117af565b600067ffffffffffffffff808411156117de576117de61220f565b604051601f8501601f1916810160200182811182821017156118025761180261220f565b60405284815291508183850186101561181a57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146104e957600080fd5b60006020828403121561185b578081fd5b610cb182611833565b60008060408385031215611876578081fd5b61187f83611833565b915061188d60208401611833565b90509250929050565b6000806000606084860312156118aa578081fd5b6118b384611833565b92506118c160208501611833565b9150604084013590509250925092565b600080600080608085870312156118e6578081fd5b6118ef85611833565b93506118fd60208601611833565b925060408501359150606085013567ffffffffffffffff81111561191f578182fd5b8501601f8101871361192f578182fd5b61193e878235602084016117c3565b91505092959194509250565b6000806040838503121561195c578182fd5b61196583611833565b915060208301358015158114611979578182fd5b809150509250929050565b60008060408385031215611996578182fd5b61199f83611833565b946020939093013593505050565b6000602082840312156119be578081fd5b8135610cb181612225565b6000602082840312156119da578081fd5b8151610cb181612225565b6000602082840312156119f6578081fd5b813567ffffffffffffffff811115611a0c578182fd5b8201601f81018413611a1c578182fd5b610f2a848235602084016117c3565b600060208284031215611a3c578081fd5b5035919050565b600060208284031215611a54578081fd5b5051919050565b60008151808452611a7381602086016020860161214d565b601f01601f19169290920160200192915050565b60008351611a9981846020880161214d565b835190830190611aad81836020880161214d565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611afd90830184611a5b565b9695505050505050565b901515815260200190565b600060208252610cb16020830184611a5b565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b6020808252601c908201527f457468657220616d6f756e74206973206e6f7420636f72726563742e00000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252600e908201526d2634b6b4ba103932b0b1b432b21760911b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f4c4f45206361702077696c6c2062652065786365656465642e00000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526010908201526f2cb7ba903732b2b21030903637b7ba1760811b604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b600082198211156120fe576120fe6121e3565b500190565b600082612112576121126121f9565b500490565b6000816000190483118215151615612131576121316121e3565b500290565b600082821015612148576121486121e3565b500390565b60005b83811015612168578181015183820152602001612150565b83811115610c2f5750506000910152565b60028104600182168061218d57607f821691505b602082108114156121ae57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121c8576121c86121e3565b5060010190565b6000826121de576121de6121f9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ddb57600080fdfea2646970667358221220419607a7c93858f96de1f6ee8d8de696897aca429016fa92cb595bec0904ab4864736f6c63430008000033

Deployed ByteCode Sourcemap

46420:2661:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39872:300;;;;;;;;;;-1:-1:-1;39872:300:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27032:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28725:308::-;;;;;;;;;;-1:-1:-1;28725:308:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;28248:411::-;;;;;;;;;;-1:-1:-1;28248:411:0;;;;;:::i;:::-;;:::i;:::-;;40675:113;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29784:376::-;;;;;;;;;;-1:-1:-1;29784:376:0;;;;;:::i;:::-;;:::i;40256:343::-;;;;;;;;;;-1:-1:-1;40256:343:0;;;;;:::i;:::-;;:::i;48460:112::-;;;;;;;;;;-1:-1:-1;48460:112:0;;;;;:::i;:::-;;:::i;46578:23::-;;;;;;;;;;;;;:::i;48270:178::-;;;:::i;30231:185::-;;;;;;;;;;-1:-1:-1;30231:185:0;;;;;:::i;:::-;;:::i;40865:320::-;;;;;;;;;;-1:-1:-1;40865:320:0;;;;;:::i;:::-;;:::i;26639:326::-;;;;;;;;;;-1:-1:-1;26639:326:0;;;;;:::i;:::-;;:::i;47429:383::-;;;;;;:::i;:::-;;:::i;26282:295::-;;;;;;;;;;-1:-1:-1;26282:295:0;;;;;:::i;:::-;;:::i;9739:94::-;;;;;;;;;;;;;:::i;47824:343::-;;;;;;;;;;-1:-1:-1;47824:343:0;;;;;:::i;:::-;;:::i;9088:87::-;;;;;;;;;;;;;:::i;48179:83::-;;;;;;;;;;-1:-1:-1;48179:83:0;;;;;:::i;:::-;;:::i;27201:104::-;;;;;;;;;;;;;:::i;46608:37::-;;;;;;;;;;;;;:::i;29105:327::-;;;;;;;;;;-1:-1:-1;29105:327:0;;;;;:::i;:::-;;:::i;30487:365::-;;;;;;;;;;-1:-1:-1;30487:365:0;;;;;:::i;:::-;;:::i;27376:468::-;;;;;;;;;;-1:-1:-1;27376:468:0;;;;;:::i;:::-;;:::i;47110:307::-;;;;;;:::i;:::-;;:::i;29503:214::-;;;;;;;;;;-1:-1:-1;29503:214:0;;;;;:::i;:::-;;:::i;9988:229::-;;;;;;;;;;-1:-1:-1;9988:229:0;;;;;:::i;:::-;;:::i;39872:300::-;40019:4;-1:-1:-1;;;;;;40061:50:0;;-1:-1:-1;;;40061:50:0;;:103;;;40128:36;40152:11;40128:23;:36::i;:::-;40041:123;;39872:300;;;;:::o;27032:100::-;27086:13;27119:5;27112:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27032:100;:::o;28725:308::-;28846:7;28893:16;28901:7;28893;:16::i;:::-;28871:110;;;;-1:-1:-1;;;28871:110:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;29001:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29001:24:0;;28725:308::o;28248:411::-;28329:13;28345:23;28360:7;28345:14;:23::i;:::-;28329:39;;28393:5;-1:-1:-1;;;;;28387:11:0;:2;-1:-1:-1;;;;;28387:11:0;;;28379:57;;;;-1:-1:-1;;;28379:57:0;;;;;;;:::i;:::-;28487:5;-1:-1:-1;;;;;28471:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;28471:21:0;;:62;;;;28496:37;28513:5;28520:12;:10;:12::i;28496:37::-;28449:168;;;;-1:-1:-1;;;28449:168:0;;;;;;;:::i;:::-;28630:21;28639:2;28643:7;28630:8;:21::i;:::-;28248:411;;;:::o;40675:113::-;40763:10;:17;40675:113;:::o;29784:376::-;29993:41;30012:12;:10;:12::i;:::-;30026:7;29993:18;:41::i;:::-;29971:140;;;;-1:-1:-1;;;29971:140:0;;;;;;;:::i;:::-;30124:28;30134:4;30140:2;30144:7;30124:9;:28::i;40256:343::-;40398:7;40453:23;40470:5;40453:16;:23::i;:::-;40445:5;:31;40423:124;;;;-1:-1:-1;;;40423:124:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;40565:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;40256:343::o;48460:112::-;48939:7;;-1:-1:-1;;;;;48939:7:0;48925:10;:21;48917:30;;;;;;48540:24;;::::1;::::0;:12:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;:::-;;48460:112:::0;:::o;46578:23::-;;;;:::o;48270:178::-;48316:12;48331:25;48355:1;48331:21;:25;:::i;:::-;48375:7;;48367:31;;48316:40;;-1:-1:-1;;;;;;48375:7:0;;48367:31;;;;;48316:40;;48375:7;48367:31;48375:7;48367:31;48316:40;48375:7;48367:31;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48417:7:0;;48409:31;;-1:-1:-1;;;;;48417:7:0;;;;48409:31;;;;;48435:4;;48417:7;48409:31;48417:7;48409:31;48435:4;48417:7;48409:31;;;;;;;;;;;;;;;;;;;30231:185;30369:39;30386:4;30392:2;30396:7;30369:39;;;;;;;;;;;;:16;:39::i;40865:320::-;40985:7;41040:30;:28;:30::i;:::-;41032:5;:38;41010:132;;;;-1:-1:-1;;;41010:132:0;;;;;;;:::i;:::-;41160:10;41171:5;41160:17;;;;;;-1:-1:-1;;;41160:17:0;;;;;;;;;;;;;;;;;41153:24;;40865:320;;;:::o;26639:326::-;26756:7;26797:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26797:16:0;26846:19;26824:110;;;;-1:-1:-1;;;26824:110:0;;;;;;;:::i;47429:383::-;47531:12;;:34;;-1:-1:-1;;;47531:34:0;;-1:-1:-1;;;;;47531:12:0;;;;:22;;:34;;47554:10;;47531:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47506:10;47498:19;;;;:7;:19;;;;;;:29;;47520:7;;47498:29;:::i;:::-;:67;;47490:96;;;;-1:-1:-1;;;47490:96:0;;;;;;;:::i;:::-;47632:3;;47621:7;47605:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:30;;47597:68;;;;-1:-1:-1;;;47597:68:0;;;;;;;:::i;:::-;47683:9;47678:82;47702:7;47698:1;:11;47678:82;;;47731:17;47737:10;47731:5;:17::i;:::-;47711:3;;;;:::i;:::-;;;;47678:82;;;-1:-1:-1;47788:10:0;47780:19;;;;:7;:19;;;;;:24;;47803:1;;47780:19;:24;;47803:1;;47780:24;:::i;:::-;;;;-1:-1:-1;;;47429:383:0:o;26282:295::-;26399:7;-1:-1:-1;;;;;26446:19:0;;26424:111;;;;-1:-1:-1;;;26424:111:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;26553:16:0;;;;;:9;:16;;;;;;;26282:295::o;9739:94::-;9319:12;:10;:12::i;:::-;-1:-1:-1;;;;;9308:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;9308:23:0;;9300:68;;;;-1:-1:-1;;;9300:68:0;;;;;;;:::i;:::-;9804:21:::1;9822:1;9804:9;:21::i;:::-;9739:94::o:0;47824:343::-;49029:7;;-1:-1:-1;;;;;49029:7:0;49015:10;:21;;:46;;-1:-1:-1;49054:7:0;;-1:-1:-1;;;;;49054:7:0;49040:10;:21;49015:46;49007:55;;;;;;47922:3:::1;;47911:7;47895:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:30;;47887:68;;;;-1:-1:-1::0;;;47887:68:0::1;;;;;;;:::i;:::-;48000:2;47989:7;47974:12;;:22;;;;:::i;:::-;:28;;47966:55;;;;-1:-1:-1::0;;;47966:55:0::1;;;;;;;:::i;:::-;48039:9;48034:82;48058:7;48054:1;:11;48034:82;;;48087:17;48093:10;48087:5;:17::i;:::-;48067:3:::0;::::1;::::0;::::1;:::i;:::-;;;;48034:82;;;;48152:7;48136:12;;:23;;;;;;;:::i;9088:87::-:0;9161:6;;-1:-1:-1;;;;;9161:6:0;9088:87;:::o;48179:83::-;48939:7;;-1:-1:-1;;;;;48939:7:0;48925:10;:21;48917:30;;;;;;48240:5:::1;:14:::0;48179:83::o;27201:104::-;27257:13;27290:7;27283:14;;;;;:::i;46608:37::-;;;;:::o;29105:327::-;29252:12;:10;:12::i;:::-;-1:-1:-1;;;;;29240:24:0;:8;-1:-1:-1;;;;;29240:24:0;;;29232:62;;;;-1:-1:-1;;;29232:62:0;;;;;;;:::i;:::-;29352:8;29307:18;:32;29326:12;:10;:12::i;:::-;-1:-1:-1;;;;;29307:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;29307:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;29307:53:0;;;;;;;;;;;29391:12;:10;:12::i;:::-;-1:-1:-1;;;;;29376:48:0;;29415:8;29376:48;;;;;;:::i;:::-;;;;;;;;29105:327;;:::o;30487:365::-;30676:41;30695:12;:10;:12::i;:::-;30709:7;30676:18;:41::i;:::-;30654:140;;;;-1:-1:-1;;;30654:140:0;;;;;;;:::i;:::-;30805:39;30819:4;30825:2;30829:7;30838:5;30805:13;:39::i;:::-;30487:365;;;;:::o;27376:468::-;27494:13;27547:16;27555:7;27547;:16::i;:::-;27525:113;;;;-1:-1:-1;;;27525:113:0;;;;;;;:::i;:::-;27651:21;27675:10;:8;:10::i;:::-;27651:34;;27740:1;27722:7;27716:21;:25;:120;;;;;;;;;;;;;;;;;27785:7;27794:18;:7;:16;:18::i;:::-;27768:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27716:120;27696:140;27376:468;-1:-1:-1;;;27376:468:0:o;47110:307::-;47202:3;;47191:7;47175:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:30;;47167:68;;;;-1:-1:-1;;;47167:68:0;;;;;;;:::i;:::-;47275:7;47267:5;;:15;;;;:::i;:::-;47254:9;:28;;47246:69;;;;-1:-1:-1;;;47246:69:0;;;;;;;:::i;:::-;47333:9;47328:82;47352:7;47348:1;:11;47328:82;;;47381:17;47387:10;47381:5;:17::i;:::-;47361:3;;;;:::i;:::-;;;;47328:82;;29503:214;-1:-1:-1;;;;;29674:25:0;;;29645:4;29674:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29503:214::o;9988:229::-;9319:12;:10;:12::i;:::-;-1:-1:-1;;;;;9308:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;9308:23:0;;9300:68;;;;-1:-1:-1;;;9300:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10091:22:0;::::1;10069:110;;;;-1:-1:-1::0;;;10069:110:0::1;;;;;;;:::i;:::-;10190:19;10200:8;10190:9;:19::i;:::-;9988:229:::0;:::o;25863:355::-;26010:4;-1:-1:-1;;;;;;26052:40:0;;-1:-1:-1;;;26052:40:0;;:105;;-1:-1:-1;;;;;;;26109:48:0;;-1:-1:-1;;;26109:48:0;26052:105;:158;;;;26174:36;26198:11;26174:23;:36::i;32399:127::-;32464:4;32488:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32488:16:0;:30;;;32399:127::o;2061:98::-;2141:10;2061:98;:::o;36522:174::-;36597:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;36597:29:0;-1:-1:-1;;;;;36597:29:0;;;;;;;;:24;;36651:23;36597:24;36651:14;:23::i;:::-;-1:-1:-1;;;;;36642:46:0;;;;;;;;;;;36522:174;;:::o;32693:452::-;32822:4;32866:16;32874:7;32866;:16::i;:::-;32844:110;;;;-1:-1:-1;;;32844:110:0;;;;;;;:::i;:::-;32965:13;32981:23;32996:7;32981:14;:23::i;:::-;32965:39;;33034:5;-1:-1:-1;;;;;33023:16:0;:7;-1:-1:-1;;;;;33023:16:0;;:64;;;;33080:7;-1:-1:-1;;;;;33056:31:0;:20;33068:7;33056:11;:20::i;:::-;-1:-1:-1;;;;;33056:31:0;;33023:64;:113;;;;33104:32;33121:5;33128:7;33104:16;:32::i;:::-;33015:122;32693:452;-1:-1:-1;;;;32693:452:0:o;35789:615::-;35962:4;-1:-1:-1;;;;;35935:31:0;:23;35950:7;35935:14;:23::i;:::-;-1:-1:-1;;;;;35935:31:0;;35913:122;;;;-1:-1:-1;;;35913:122:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36054:16:0;;36046:65;;;;-1:-1:-1;;;36046:65:0;;;;;;;:::i;:::-;36124:39;36145:4;36151:2;36155:7;36124:20;:39::i;:::-;36228:29;36245:1;36249:7;36228:8;:29::i;:::-;-1:-1:-1;;;;;36270:15:0;;;;;;:9;:15;;;;;:20;;36289:1;;36270:15;:20;;36289:1;;36270:20;:::i;:::-;;;;-1:-1:-1;;;;;;;36301:13:0;;;;;;:9;:13;;;;;:18;;36318:1;;36301:13;:18;;36318:1;;36301:18;:::i;:::-;;;;-1:-1:-1;;36330:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;36330:21:0;-1:-1:-1;;;;;36330:21:0;;;;;;;;;36369:27;;36330:16;;36369:27;;;;;;;35789:615;;;:::o;48580:156::-;48627:20;:8;:18;:20::i;:::-;48658:15;48676:18;:8;:16;:18::i;:::-;48658:36;;48705:23;48715:3;48720:7;48705:9;:23::i;10225:173::-;10300:6;;;-1:-1:-1;;;;;10317:17:0;;;-1:-1:-1;;;;;;10317:17:0;;;;;;;10350:40;;10300:6;;;10317:17;10300:6;;10350:40;;10281:16;;10350:40;10225:173;;:::o;31734:352::-;31891:28;31901:4;31907:2;31911:7;31891:9;:28::i;:::-;31952:48;31975:4;31981:2;31985:7;31994:5;31952:22;:48::i;:::-;31930:148;;;;-1:-1:-1;;;31930:148:0;;;;;;;:::i;48744:113::-;48804:13;48837:12;48830:19;;;;;:::i;12730:723::-;12786:13;13007:10;13003:53;;-1:-1:-1;13034:10:0;;;;;;;;;;;;-1:-1:-1;;;13034:10:0;;;;;;13003:53;13081:5;13066:12;13122:78;13129:9;;13122:78;;13155:8;;;;:::i;:::-;;-1:-1:-1;13178:10:0;;-1:-1:-1;13186:2:0;13178:10;;:::i;:::-;;;13122:78;;;13210:19;13242:6;13232:17;;;;;;-1:-1:-1;;;13232:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13232:17:0;;13210:39;;13260:154;13267:10;;13260:154;;13294:11;13304:1;13294:11;;:::i;:::-;;-1:-1:-1;13363:10:0;13371:2;13363:5;:10;:::i;:::-;13350:24;;:2;:24;:::i;:::-;13337:39;;13320:6;13327;13320:14;;;;;;-1:-1:-1;;;13320:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;13320:56:0;;;;;;;;-1:-1:-1;13391:11:0;13400:2;13391:11;;:::i;:::-;;;13260:154;;12209:207;-1:-1:-1;;;;;;12368:40:0;;-1:-1:-1;;;12368:40:0;12209:207;;;:::o;41798:589::-;41942:45;41969:4;41975:2;41979:7;41942:26;:45::i;:::-;-1:-1:-1;;;;;42004:18:0;;42000:187;;42039:40;42071:7;42039:31;:40::i;:::-;42000:187;;;42109:2;-1:-1:-1;;;;;42101:10:0;:4;-1:-1:-1;;;;;42101:10:0;;42097:90;;42128:47;42161:4;42167:7;42128:32;:47::i;:::-;-1:-1:-1;;;;;42201:16:0;;42197:183;;42234:45;42271:7;42234:36;:45::i;:::-;42197:183;;;42307:4;-1:-1:-1;;;;;42301:10:0;:2;-1:-1:-1;;;;;42301:10:0;;42297:83;;42328:40;42356:2;42360:7;42328:27;:40::i;970:127::-;1059:19;;1077:1;1059:19;;;970:127::o;848:114::-;940:14;;848:114::o;33487:110::-;33563:26;33573:2;33577:7;33563:26;;;;;;;;;;;;:9;:26::i;37261:984::-;37416:4;37437:15;:2;-1:-1:-1;;;;;37437:13:0;;:15::i;:::-;37433:805;;;37506:2;-1:-1:-1;;;;;37490:36:0;;37549:12;:10;:12::i;:::-;37584:4;37611:7;37641:5;37490:175;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37490:175:0;;;;;;;;-1:-1:-1;;37490:175:0;;;;;;;;;;;;:::i;:::-;;;37469:714;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37852:13:0;;37848:320;;37895:108;;-1:-1:-1;;;37895:108:0;;;;;;;:::i;37848:320::-;38118:6;38112:13;38103:6;38099:2;38095:15;38088:38;37469:714;-1:-1:-1;;;;;;37729:55:0;-1:-1:-1;;;37729:55:0;;-1:-1:-1;37722:62:0;;37433:805;-1:-1:-1;38222:4:0;37261:984;;;;;;:::o;43110:164::-;43214:10;:17;;43187:24;;;;:15;:24;;;;;:44;;;43242:24;;;;;;;;;;;;43110:164::o;43901:1002::-;44181:22;44231:1;44206:22;44223:4;44206:16;:22::i;:::-;:26;;;;:::i;:::-;44243:18;44264:26;;;:17;:26;;;;;;44181:51;;-1:-1:-1;44397:28:0;;;44393:328;;-1:-1:-1;;;;;44464:18:0;;44442:19;44464:18;;;:12;:18;;;;;;;;:34;;;;;;;;;44515:30;;;;;;:44;;;44632:30;;:17;:30;;;;;:43;;;44393:328;-1:-1:-1;44817:26:0;;;;:17;:26;;;;;;;;44810:33;;;-1:-1:-1;;;;;44861:18:0;;;;;:12;:18;;;;;:34;;;;;;;44854:41;43901:1002::o;45198:1079::-;45476:10;:17;45451:22;;45476:21;;45496:1;;45476:21;:::i;:::-;45508:18;45529:24;;;:15;:24;;;;;;45902:10;:26;;45451:46;;-1:-1:-1;45529:24:0;;45451:46;;45902:26;;;;-1:-1:-1;;;45902:26:0;;;;;;;;;;;;;;;;;45880:48;;45966:11;45941:10;45952;45941:22;;;;;;-1:-1:-1;;;45941:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;46046:28;;;:15;:28;;;;;;;:41;;;46218:24;;;;;46211:31;46253:10;:16;;;;;-1:-1:-1;;;46253:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;45198:1079;;;;:::o;42688:221::-;42773:14;42790:20;42807:2;42790:16;:20::i;:::-;-1:-1:-1;;;;;42821:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42866:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;42688:221:0:o;33824:321::-;33954:18;33960:2;33964:7;33954:5;:18::i;:::-;34005:54;34036:1;34040:2;34044:7;34053:5;34005:22;:54::i;:::-;33983:154;;;;-1:-1:-1;;;33983:154:0;;;;;;;:::i;15283:387::-;15606:20;15654:8;;;15283:387::o;34481:382::-;-1:-1:-1;;;;;34561:16:0;;34553:61;;;;-1:-1:-1;;;34553:61:0;;;;;;;:::i;:::-;34634:16;34642:7;34634;:16::i;:::-;34633:17;34625:58;;;;-1:-1:-1;;;34625:58:0;;;;;;;:::i;:::-;34696:45;34725:1;34729:2;34733:7;34696:20;:45::i;:::-;-1:-1:-1;;;;;34754:13:0;;;;;;:9;:13;;;;;:18;;34771:1;;34754:13;:18;;34771:1;;34754:18;:::i;:::-;;;;-1:-1:-1;;34783:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34783:21:0;-1:-1:-1;;;;;34783:21:0;;;;;;;;34822:33;;34783:16;;;34822:33;;34783:16;;34822:33;34481:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:1;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:198;;918:2;906:9;897:7;893:23;889:32;886:2;;;939:6;931;924:22;886:2;967:31;988:9;967:31;:::i;1009:274::-;;;1138:2;1126:9;1117:7;1113:23;1109:32;1106:2;;;1159:6;1151;1144:22;1106:2;1187:31;1208:9;1187:31;:::i;:::-;1177:41;;1237:40;1273:2;1262:9;1258:18;1237:40;:::i;:::-;1227:50;;1096:187;;;;;:::o;1288:342::-;;;;1434:2;1422:9;1413:7;1409:23;1405:32;1402:2;;;1455:6;1447;1440:22;1402:2;1483:31;1504:9;1483:31;:::i;:::-;1473:41;;1533:40;1569:2;1558:9;1554:18;1533:40;:::i;:::-;1523:50;;1620:2;1609:9;1605:18;1592:32;1582:42;;1392:238;;;;;:::o;1635:702::-;;;;;1807:3;1795:9;1786:7;1782:23;1778:33;1775:2;;;1829:6;1821;1814:22;1775:2;1857:31;1878:9;1857:31;:::i;:::-;1847:41;;1907:40;1943:2;1932:9;1928:18;1907:40;:::i;:::-;1897:50;;1994:2;1983:9;1979:18;1966:32;1956:42;;2049:2;2038:9;2034:18;2021:32;2076:18;2068:6;2065:30;2062:2;;;2113:6;2105;2098:22;2062:2;2141:22;;2194:4;2186:13;;2182:27;-1:-1:-1;2172:2:1;;2228:6;2220;2213:22;2172:2;2256:75;2323:7;2318:2;2305:16;2300:2;2296;2292:11;2256:75;:::i;:::-;2246:85;;;1765:572;;;;;;;:::o;2342:369::-;;;2468:2;2456:9;2447:7;2443:23;2439:32;2436:2;;;2489:6;2481;2474:22;2436:2;2517:31;2538:9;2517:31;:::i;:::-;2507:41;;2598:2;2587:9;2583:18;2570:32;2645:5;2638:13;2631:21;2624:5;2621:32;2611:2;;2672:6;2664;2657:22;2611:2;2700:5;2690:15;;;2426:285;;;;;:::o;2716:266::-;;;2845:2;2833:9;2824:7;2820:23;2816:32;2813:2;;;2866:6;2858;2851:22;2813:2;2894:31;2915:9;2894:31;:::i;:::-;2884:41;2972:2;2957:18;;;;2944:32;;-1:-1:-1;;;2803:179:1:o;2987:257::-;;3098:2;3086:9;3077:7;3073:23;3069:32;3066:2;;;3119:6;3111;3104:22;3066:2;3163:9;3150:23;3182:32;3208:5;3182:32;:::i;3249:261::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:32;3474:5;3448:32;:::i;3515:482::-;;3637:2;3625:9;3616:7;3612:23;3608:32;3605:2;;;3658:6;3650;3643:22;3605:2;3703:9;3690:23;3736:18;3728:6;3725:30;3722:2;;;3773:6;3765;3758:22;3722:2;3801:22;;3854:4;3846:13;;3842:27;-1:-1:-1;3832:2:1;;3888:6;3880;3873:22;3832:2;3916:75;3983:7;3978:2;3965:16;3960:2;3956;3952:11;3916:75;:::i;4002:190::-;;4114:2;4102:9;4093:7;4089:23;4085:32;4082:2;;;4135:6;4127;4120:22;4082:2;-1:-1:-1;4163:23:1;;4072:120;-1:-1:-1;4072:120:1:o;4197:194::-;;4320:2;4308:9;4299:7;4295:23;4291:32;4288:2;;;4341:6;4333;4326:22;4288:2;-1:-1:-1;4369:16:1;;4278:113;-1:-1:-1;4278:113:1:o;4396:259::-;;4477:5;4471:12;4504:6;4499:3;4492:19;4520:63;4576:6;4569:4;4564:3;4560:14;4553:4;4546:5;4542:16;4520:63;:::i;:::-;4637:2;4616:15;-1:-1:-1;;4612:29:1;4603:39;;;;4644:4;4599:50;;4447:208;-1:-1:-1;;4447:208:1:o;4660:470::-;;4877:6;4871:13;4893:53;4939:6;4934:3;4927:4;4919:6;4915:17;4893:53;:::i;:::-;5009:13;;4968:16;;;;5031:57;5009:13;4968:16;5065:4;5053:17;;5031:57;:::i;:::-;5104:20;;4847:283;-1:-1:-1;;;;4847:283:1:o;5135:203::-;-1:-1:-1;;;;;5299:32:1;;;;5281:51;;5269:2;5254:18;;5236:102::o;5343:490::-;-1:-1:-1;;;;;5612:15:1;;;5594:34;;5664:15;;5659:2;5644:18;;5637:43;5711:2;5696:18;;5689:34;;;5759:3;5754:2;5739:18;;5732:31;;;5343:490;;5780:47;;5807:19;;5799:6;5780:47;:::i;:::-;5772:55;5546:287;-1:-1:-1;;;;;;5546:287:1:o;5838:187::-;6003:14;;5996:22;5978:41;;5966:2;5951:18;;5933:92::o;6030:221::-;;6179:2;6168:9;6161:21;6199:46;6241:2;6230:9;6226:18;6218:6;6199:46;:::i;6256:407::-;6458:2;6440:21;;;6497:2;6477:18;;;6470:30;6536:34;6531:2;6516:18;;6509:62;-1:-1:-1;;;6602:2:1;6587:18;;6580:41;6653:3;6638:19;;6430:233::o;6668:352::-;6870:2;6852:21;;;6909:2;6889:18;;;6882:30;6948;6943:2;6928:18;;6921:58;7011:2;6996:18;;6842:178::o;7025:414::-;7227:2;7209:21;;;7266:2;7246:18;;;7239:30;7305:34;7300:2;7285:18;;7278:62;-1:-1:-1;;;7371:2:1;7356:18;;7349:48;7429:3;7414:19;;7199:240::o;7444:402::-;7646:2;7628:21;;;7685:2;7665:18;;;7658:30;7724:34;7719:2;7704:18;;7697:62;-1:-1:-1;;;7790:2:1;7775:18;;7768:36;7836:3;7821:19;;7618:228::o;7851:352::-;8053:2;8035:21;;;8092:2;8072:18;;;8065:30;8131;8126:2;8111:18;;8104:58;8194:2;8179:18;;8025:178::o;8208:338::-;8410:2;8392:21;;;8449:2;8429:18;;;8422:30;-1:-1:-1;;;8483:2:1;8468:18;;8461:44;8537:2;8522:18;;8382:164::o;8551:400::-;8753:2;8735:21;;;8792:2;8772:18;;;8765:30;8831:34;8826:2;8811:18;;8804:62;-1:-1:-1;;;8897:2:1;8882:18;;8875:34;8941:3;8926:19;;8725:226::o;8956:349::-;9158:2;9140:21;;;9197:2;9177:18;;;9170:30;9236:27;9231:2;9216:18;;9209:55;9296:2;9281:18;;9130:175::o;9310:408::-;9512:2;9494:21;;;9551:2;9531:18;;;9524:30;9590:34;9585:2;9570:18;;9563:62;-1:-1:-1;;;9656:2:1;9641:18;;9634:42;9708:3;9693:19;;9484:234::o;9723:420::-;9925:2;9907:21;;;9964:2;9944:18;;;9937:30;10003:34;9998:2;9983:18;;9976:62;10074:26;10069:2;10054:18;;10047:54;10133:3;10118:19;;9897:246::o;10148:406::-;10350:2;10332:21;;;10389:2;10369:18;;;10362:30;10428:34;10423:2;10408:18;;10401:62;-1:-1:-1;;;10494:2:1;10479:18;;10472:40;10544:3;10529:19;;10322:232::o;10559:405::-;10761:2;10743:21;;;10800:2;10780:18;;;10773:30;10839:34;10834:2;10819:18;;10812:62;-1:-1:-1;;;10905:2:1;10890:18;;10883:39;10954:3;10939:19;;10733:231::o;10969:356::-;11171:2;11153:21;;;11190:18;;;11183:30;11249:34;11244:2;11229:18;;11222:62;11316:2;11301:18;;11143:182::o;11330:408::-;11532:2;11514:21;;;11571:2;11551:18;;;11544:30;11610:34;11605:2;11590:18;;11583:62;-1:-1:-1;;;11676:2:1;11661:18;;11654:42;11728:3;11713:19;;11504:234::o;11743:356::-;11945:2;11927:21;;;11964:18;;;11957:30;12023:34;12018:2;12003:18;;11996:62;12090:2;12075:18;;11917:182::o;12104:405::-;12306:2;12288:21;;;12345:2;12325:18;;;12318:30;12384:34;12379:2;12364:18;;12357:62;-1:-1:-1;;;12450:2:1;12435:18;;12428:39;12499:3;12484:19;;12278:231::o;12514:411::-;12716:2;12698:21;;;12755:2;12735:18;;;12728:30;12794:34;12789:2;12774:18;;12767:62;-1:-1:-1;;;12860:2:1;12845:18;;12838:45;12915:3;12900:19;;12688:237::o;12930:397::-;13132:2;13114:21;;;13171:2;13151:18;;;13144:30;13210:34;13205:2;13190:18;;13183:62;-1:-1:-1;;;13276:2:1;13261:18;;13254:31;13317:3;13302:19;;13104:223::o;13332:349::-;13534:2;13516:21;;;13573:2;13553:18;;;13546:30;13612:27;13607:2;13592:18;;13585:55;13672:2;13657:18;;13506:175::o;13686:413::-;13888:2;13870:21;;;13927:2;13907:18;;;13900:30;13966:34;13961:2;13946:18;;13939:62;-1:-1:-1;;;14032:2:1;14017:18;;14010:47;14089:3;14074:19;;13860:239::o;14104:340::-;14306:2;14288:21;;;14345:2;14325:18;;;14318:30;-1:-1:-1;;;14379:2:1;14364:18;;14357:46;14435:2;14420:18;;14278:166::o;14449:408::-;14651:2;14633:21;;;14690:2;14670:18;;;14663:30;14729:34;14724:2;14709:18;;14702:62;-1:-1:-1;;;14795:2:1;14780:18;;14773:42;14847:3;14832:19;;14623:234::o;14862:177::-;15008:25;;;14996:2;14981:18;;14963:76::o;15044:128::-;;15115:1;15111:6;15108:1;15105:13;15102:2;;;15121:18;;:::i;:::-;-1:-1:-1;15157:9:1;;15092:80::o;15177:120::-;;15243:1;15233:2;;15248:18;;:::i;:::-;-1:-1:-1;15282:9:1;;15223:74::o;15302:168::-;;15408:1;15404;15400:6;15396:14;15393:1;15390:21;15385:1;15378:9;15371:17;15367:45;15364:2;;;15415:18;;:::i;:::-;-1:-1:-1;15455:9:1;;15354:116::o;15475:125::-;;15543:1;15540;15537:8;15534:2;;;15548:18;;:::i;:::-;-1:-1:-1;15585:9:1;;15524:76::o;15605:258::-;15677:1;15687:113;15701:6;15698:1;15695:13;15687:113;;;15777:11;;;15771:18;15758:11;;;15751:39;15723:2;15716:10;15687:113;;;15818:6;15815:1;15812:13;15809:2;;;-1:-1:-1;;15853:1:1;15835:16;;15828:27;15658:205::o;15868:380::-;15953:1;15943:12;;16000:1;15990:12;;;16011:2;;16065:4;16057:6;16053:17;16043:27;;16011:2;16118;16110:6;16107:14;16087:18;16084:38;16081:2;;;16164:10;16159:3;16155:20;16152:1;16145:31;16199:4;16196:1;16189:15;16227:4;16224:1;16217:15;16081:2;;15923:325;;;:::o;16253:135::-;;-1:-1:-1;;16313:17:1;;16310:2;;;16333:18;;:::i;:::-;-1:-1:-1;16380:1:1;16369:13;;16300:88::o;16393:112::-;;16451:1;16441:2;;16456:18;;:::i;:::-;-1:-1:-1;16490:9:1;;16431:74::o;16510:127::-;16571:10;16566:3;16562:20;16559:1;16552:31;16602:4;16599:1;16592:15;16626:4;16623:1;16616:15;16642:127;16703:10;16698:3;16694:20;16691:1;16684:31;16734:4;16731:1;16724:15;16758:4;16755:1;16748:15;16774:127;16835:10;16830:3;16826:20;16823:1;16816:31;16866:4;16863:1;16856:15;16890:4;16887:1;16880:15;16906:133;-1:-1:-1;;;;;;16982:32:1;;16972:43;;16962:2;;17029:1;17026;17019:12

Swarm Source

ipfs://419607a7c93858f96de1f6ee8d8de696897aca429016fa92cb595bec0904ab48
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.