ETH Price: $3,545.21 (+7.52%)

Contract

0x97C3522f1900b9a075AeB513D956127627B5F86C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...177753452023-07-26 6:04:11490 days ago1690351451IN
0x97C3522f...627B5F86C
0 ETH0.0013993915.27942897
Safe Transfer Fr...177701652023-07-25 12:39:35491 days ago1690288775IN
0x97C3522f...627B5F86C
0 ETH0.0028213130.8047218
Safe Transfer Fr...161270262022-12-06 16:44:23721 days ago1670345063IN
0x97C3522f...627B5F86C
0 ETH0.0018191817.85596032
Safe Transfer Fr...160894242022-12-01 10:41:23727 days ago1669891283IN
0x97C3522f...627B5F86C
0 ETH0.0011106512.12680817
Safe Transfer Fr...159880972022-11-17 6:57:11741 days ago1668668231IN
0x97C3522f...627B5F86C
0 ETH0.0011795312.87879916
Safe Transfer Fr...159880732022-11-17 6:52:23741 days ago1668667943IN
0x97C3522f...627B5F86C
0 ETH0.0014609114.3394209
Safe Transfer Fr...159332192022-11-09 14:59:47749 days ago1668005987IN
0x97C3522f...627B5F86C
0 ETH0.0027723930.2745916
Safe Transfer Fr...159263382022-11-08 15:53:35749 days ago1667922815IN
0x97C3522f...627B5F86C
0 ETH0.0024787324.33259913
Safe Transfer Fr...156976062022-10-07 17:09:23781 days ago1665162563IN
0x97C3522f...627B5F86C
0 ETH0.002304922.62349798
Safe Transfer Fr...156463562022-09-30 13:09:35789 days ago1664543375IN
0x97C3522f...627B5F86C
0 ETH0.0017496919.53193933
Safe Transfer Fr...156462962022-09-30 12:57:23789 days ago1664542643IN
0x97C3522f...627B5F86C
0 ETH0.0020005919.63659113
Safe Transfer Fr...156385272022-09-29 10:52:23790 days ago1664448743IN
0x97C3522f...627B5F86C
0 ETH0.000735898.03595466
Safe Transfer Fr...156384952022-09-29 10:45:59790 days ago1664448359IN
0x97C3522f...627B5F86C
0 ETH0.000609076.65109994
Safe Transfer Fr...156019932022-09-24 8:22:11795 days ago1664007731IN
0x97C3522f...627B5F86C
0 ETH0.000588415.77555351
Safe Transfer Fr...155868942022-09-22 5:48:23797 days ago1663825703IN
0x97C3522f...627B5F86C
0 ETH0.000559075.48749401
Safe Transfer Fr...155726462022-09-20 5:35:47799 days ago1663652147IN
0x97C3522f...627B5F86C
0 ETH0.000752577.3867627
Safe Transfer Fr...155432862022-09-16 2:39:59803 days ago1663295999IN
0x97C3522f...627B5F86C
0 ETH0.000696927.60941553
Safe Transfer Fr...155378262022-09-15 8:10:11804 days ago1663229411IN
0x97C3522f...627B5F86C
0 ETH0.0025407224.93820601
Safe Transfer Fr...155159572022-09-11 16:58:21807 days ago1662915501IN
0x97C3522f...627B5F86C
0 ETH0.0010523410.32911572
Safe Transfer Fr...152741392022-08-04 5:55:31846 days ago1659592531IN
0x97C3522f...627B5F86C
0 ETH0.0018455920.6025395
Safe Transfer Fr...152741342022-08-04 5:54:49846 days ago1659592489IN
0x97C3522f...627B5F86C
0 ETH0.0016536918.46038036
Safe Transfer Fr...152741342022-08-04 5:54:49846 days ago1659592489IN
0x97C3522f...627B5F86C
0 ETH0.0016536918.46038036
Safe Transfer Fr...152741312022-08-04 5:54:01846 days ago1659592441IN
0x97C3522f...627B5F86C
0 ETH0.0015902717.75241143
Safe Transfer Fr...152741152022-08-04 5:50:32846 days ago1659592232IN
0x97C3522f...627B5F86C
0 ETH0.0011402212.72837068
Safe Transfer Fr...152741112022-08-04 5:49:02846 days ago1659592142IN
0x97C3522f...627B5F86C
0 ETH0.0010587910.39247214
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MergeBird

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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


// OpenZeppelin Contracts v4.4.1 (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/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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


// OpenZeppelin Contracts v4.4.1 (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/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (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);

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


// OpenZeppelin Contracts v4.4.1 (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/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (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 overridden 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 {
        _setApprovalForAll(_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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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


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

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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


// OpenZeppelin Contracts v4.4.1 (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();
    }
}

// File: MergeBird.sol


pragma solidity ^0.8.4;







contract MergeBird is
    ERC2981,
    ERC721,
    ERC721Enumerable,
    Pausable,
    Ownable,
    ERC721Burnable
{
    constructor() ERC721("MergeBird", "MERGEBIRD") {}

    function _baseURI() internal pure override returns (string memory) {
        return "https://meta.game.space/token/";
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function safeMint(address to, uint256 tokenId) public onlyOwner {
        _safeMint(to, tokenId);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) whenNotPaused {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        public
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) public onlyOwner {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable, ERC2981)
        returns (bool)
    {
        return
            interfaceId == type(ERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","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":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600981526020016813595c99d9509a5c9960ba1b8152506040518060400160405280600981526020016813515491d15092549160ba1b81525081600290805190602001906200006e929190620000fc565b50805162000084906003906020840190620000fc565b5050600c805460ff19169055506200009c33620000a2565b620001df565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010a90620001a2565b90600052602060002090601f0160209004810192826200012e576000855562000179565b82601f106200014957805160ff191683800117855562000179565b8280016001018555821562000179579182015b82811115620001795782518255916020019190600101906200015c565b50620001879291506200018b565b5090565b5b808211156200018757600081556001016200018c565b600181811c90821680620001b757607f821691505b60208210811415620001d957634e487b7160e01b600052602260045260246000fd5b50919050565b61224680620001ef6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80635944c753116100f957806395d89b4111610097578063b88d4fde11610071578063b88d4fde14610381578063c87b56dd14610394578063e985e9c5146103a7578063f2fde38b146103e357600080fd5b806395d89b4114610353578063a14481941461035b578063a22cb4651461036e57600080fd5b806370a08231116100d357806370a082311461031a578063715018a61461032d5780638456cb59146103355780638da5cb5b1461033d57600080fd5b80635944c753146102e95780635c975abb146102fc5780636352211e1461030757600080fd5b806323b872dd116101665780633f4ba83a116101405780633f4ba83a146102a857806342842e0e146102b057806342966c68146102c35780634f6ccce7146102d657600080fd5b806323b872dd146102505780632a55205a146102635780632f745c591461029557600080fd5b806301ffc9a7146101ae57806304634d8d146101d657806306fdde03146101eb578063081812fc14610200578063095ea7b31461022b57806318160ddd1461023e575b600080fd5b6101c16101bc366004611e47565b6103f6565b60405190151581526020015b60405180910390f35b6101e96101e4366004611e1e565b610421565b005b6101f3610468565b6040516101cd9190611f8b565b61021361020e366004611e7f565b6104fa565b6040516001600160a01b0390911681526020016101cd565b6101e9610239366004611df5565b61058f565b600a545b6040519081526020016101cd565b6101e961025e366004611cab565b6106a5565b610276610271366004611ed2565b6106d7565b604080516001600160a01b0390931683526020830191909152016101cd565b6102426102a3366004611df5565b610783565b6101e9610819565b6101e96102be366004611cab565b610853565b6101e96102d1366004611e7f565b61086e565b6102426102e4366004611e7f565b6108e8565b6101e96102f7366004611e97565b610989565b600c5460ff166101c1565b610213610315366004611e7f565b6109c4565b610242610328366004611c5f565b610a3b565b6101e9610ac2565b6101e9610afc565b600c5461010090046001600160a01b0316610213565b6101f3610b34565b6101e9610369366004611df5565b610b43565b6101e961037c366004611dbb565b610b7d565b6101e961038f366004611ce6565b610b88565b6101f36103a2366004611e7f565b610bc0565b6101c16103b5366004611c79565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101e96103f1366004611c5f565b610ccd565b60006001600160e01b03198216632baae9fd60e01b148061041b575061041b82610d6b565b92915050565b600c546001600160a01b0361010090910416331461045a5760405162461bcd60e51b815260040161045190611ff0565b60405180910390fd5b6104648282610d90565b5050565b6060600280546104779061214e565b80601f01602080910402602001604051908101604052809291908181526020018280546104a39061214e565b80156104f05780601f106104c5576101008083540402835291602001916104f0565b820191906000526020600020905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166105735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610451565b506000908152600660205260409020546001600160a01b031690565b600061059a826109c4565b9050806001600160a01b0316836001600160a01b031614156106085760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610451565b336001600160a01b0382161480610624575061062481336103b5565b6106965760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610451565b6106a08383610e4a565b505050565b6106b0335b82610eb8565b6106cc5760405162461bcd60e51b815260040161045190612025565b6106a0838383610faf565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161074c5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061076b906001600160601b0316876120ec565b61077591906120d8565b915196919550909350505050565b600061078e83610a3b565b82106107f05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610451565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b600c546001600160a01b036101009091041633146108495760405162461bcd60e51b815260040161045190611ff0565b610851611156565b565b6106a083838360405180602001604052806000815250610b88565b610877336106aa565b6108dc5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610451565b6108e5816111e9565b50565b60006108f3600a5490565b82106109565760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610451565b600a828154811061097757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600c546001600160a01b036101009091041633146109b95760405162461bcd60e51b815260040161045190611ff0565b6106a0838383611290565b6000818152600460205260408120546001600160a01b03168061041b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610451565b60006001600160a01b038216610aa65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610451565b506001600160a01b031660009081526005602052604090205490565b600c546001600160a01b03610100909104163314610af25760405162461bcd60e51b815260040161045190611ff0565b610851600061135b565b600c546001600160a01b03610100909104163314610b2c5760405162461bcd60e51b815260040161045190611ff0565b6108516113b5565b6060600380546104779061214e565b600c546001600160a01b03610100909104163314610b735760405162461bcd60e51b815260040161045190611ff0565b6104648282611430565b61046433838361144a565b610b923383610eb8565b610bae5760405162461bcd60e51b815260040161045190612025565b610bba84848484611519565b50505050565b6000818152600460205260409020546060906001600160a01b0316610c3f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610451565b6000610c7b60408051808201909152601e81527f68747470733a2f2f6d6574612e67616d652e73706163652f746f6b656e2f0000602082015290565b90506000815111610c9b5760405180602001604052806000815250610cc6565b80610ca58461154c565b604051602001610cb6929190611f1f565b6040516020818303038152906040525b9392505050565b600c546001600160a01b03610100909104163314610cfd5760405162461bcd60e51b815260040161045190611ff0565b6001600160a01b038116610d625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610451565b6108e58161135b565b60006001600160e01b0319821663780e9d6360e01b148061041b575061041b82611666565b6127106001600160601b0382161115610dbb5760405162461bcd60e51b815260040161045190612076565b6001600160a01b038216610e115760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610451565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e7f826109c4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316610f315760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610451565b6000610f3c836109c4565b9050806001600160a01b0316846001600160a01b03161480610f8357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80610fa75750836001600160a01b0316610f9c846104fa565b6001600160a01b0316145b949350505050565b826001600160a01b0316610fc2826109c4565b6001600160a01b0316146110265760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610451565b6001600160a01b0382166110885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610451565b6110938383836116a6565b61109e600082610e4a565b6001600160a01b03831660009081526005602052604081208054600192906110c790849061210b565b90915550506001600160a01b03821660009081526005602052604081208054600192906110f59084906120c0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c5460ff1661119f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610451565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006111f4826109c4565b9050611202816000846116a6565b61120d600083610e4a565b6001600160a01b038116600090815260056020526040812080546001929061123690849061210b565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127106001600160601b03821611156112bb5760405162461bcd60e51b815260040161045190612076565b6001600160a01b0382166113115760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610451565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156113fb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610451565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111cc3390565b6104648282604051806020016040528060008152506116f7565b816001600160a01b0316836001600160a01b031614156114ac5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610451565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611524848484610faf565b6115308484848461172a565b610bba5760405162461bcd60e51b815260040161045190611f9e565b6060816115705750506040805180820190915260018152600360fc1b602082015290565b8160005b811561159a578061158481612189565b91506115939050600a836120d8565b9150611574565b60008167ffffffffffffffff8111156115c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115ed576020820181803683370190505b5090505b8415610fa75761160260018361210b565b915061160f600a866121a4565b61161a9060306120c0565b60f81b81838151811061163d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061165f600a866120d8565b94506115f1565b60006001600160e01b031982166380ac58cd60e01b148061169757506001600160e01b03198216635b5e139f60e01b145b8061041b575061041b82611837565b600c5460ff16156116ec5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610451565b6106a083838361186c565b6117018383611924565b61170e600084848461172a565b6106a05760405162461bcd60e51b815260040161045190611f9e565b60006001600160a01b0384163b1561182c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061176e903390899088908890600401611f4e565b602060405180830381600087803b15801561178857600080fd5b505af19250505080156117b8575060408051601f3d908101601f191682019092526117b591810190611e63565b60015b611812573d8080156117e6576040519150601f19603f3d011682016040523d82523d6000602084013e6117eb565b606091505b50805161180a5760405162461bcd60e51b815260040161045190611f9e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fa7565b506001949350505050565b60006001600160e01b0319821663152a902d60e11b148061041b57506301ffc9a760e01b6001600160e01b031983161461041b565b6001600160a01b0383166118c7576118c281600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6118ea565b816001600160a01b0316836001600160a01b0316146118ea576118ea8382611a72565b6001600160a01b038216611901576106a081611b0f565b826001600160a01b0316826001600160a01b0316146106a0576106a08282611be8565b6001600160a01b03821661197a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610451565b6000818152600460205260409020546001600160a01b0316156119df5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610451565b6119eb600083836116a6565b6001600160a01b0382166000908152600560205260408120805460019290611a149084906120c0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611a7f84610a3b565b611a89919061210b565b600083815260096020526040902054909150808214611adc576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090611b219060019061210b565b6000838152600b6020526040812054600a8054939450909284908110611b5757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a8381548110611b8657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480611bcc57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611bf383610a3b565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b80356001600160a01b0381168114611c4357600080fd5b919050565b80356001600160601b0381168114611c4357600080fd5b600060208284031215611c70578081fd5b610cc682611c2c565b60008060408385031215611c8b578081fd5b611c9483611c2c565b9150611ca260208401611c2c565b90509250929050565b600080600060608486031215611cbf578081fd5b611cc884611c2c565b9250611cd660208501611c2c565b9150604084013590509250925092565b60008060008060808587031215611cfb578081fd5b611d0485611c2c565b9350611d1260208601611c2c565b925060408501359150606085013567ffffffffffffffff80821115611d35578283fd5b818701915087601f830112611d48578283fd5b813581811115611d5a57611d5a6121e4565b604051601f8201601f19908116603f01168101908382118183101715611d8257611d826121e4565b816040528281528a6020848701011115611d9a578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611dcd578182fd5b611dd683611c2c565b915060208301358015158114611dea578182fd5b809150509250929050565b60008060408385031215611e07578182fd5b611e1083611c2c565b946020939093013593505050565b60008060408385031215611e30578182fd5b611e3983611c2c565b9150611ca260208401611c48565b600060208284031215611e58578081fd5b8135610cc6816121fa565b600060208284031215611e74578081fd5b8151610cc6816121fa565b600060208284031215611e90578081fd5b5035919050565b600080600060608486031215611eab578283fd5b83359250611ebb60208501611c2c565b9150611ec960408501611c48565b90509250925092565b60008060408385031215611ee4578182fd5b50508035926020909101359150565b60008151808452611f0b816020860160208601612122565b601f01601f19169290920160200192915050565b60008351611f31818460208801612122565b835190830190611f45818360208801612122565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f8190830184611ef3565b9695505050505050565b602081526000610cc66020830184611ef3565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b600082198211156120d3576120d36121b8565b500190565b6000826120e7576120e76121ce565b500490565b6000816000190483118215151615612106576121066121b8565b500290565b60008282101561211d5761211d6121b8565b500390565b60005b8381101561213d578181015183820152602001612125565b83811115610bba5750506000910152565b600181811c9082168061216257607f821691505b6020821081141561218357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561219d5761219d6121b8565b5060010190565b6000826121b3576121b36121ce565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108e557600080fdfea2646970667358221220056c1e1057e025d3a82131f0f39d0a6f07eb4d864321aedac1d03ad54d47d92a64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80635944c753116100f957806395d89b4111610097578063b88d4fde11610071578063b88d4fde14610381578063c87b56dd14610394578063e985e9c5146103a7578063f2fde38b146103e357600080fd5b806395d89b4114610353578063a14481941461035b578063a22cb4651461036e57600080fd5b806370a08231116100d357806370a082311461031a578063715018a61461032d5780638456cb59146103355780638da5cb5b1461033d57600080fd5b80635944c753146102e95780635c975abb146102fc5780636352211e1461030757600080fd5b806323b872dd116101665780633f4ba83a116101405780633f4ba83a146102a857806342842e0e146102b057806342966c68146102c35780634f6ccce7146102d657600080fd5b806323b872dd146102505780632a55205a146102635780632f745c591461029557600080fd5b806301ffc9a7146101ae57806304634d8d146101d657806306fdde03146101eb578063081812fc14610200578063095ea7b31461022b57806318160ddd1461023e575b600080fd5b6101c16101bc366004611e47565b6103f6565b60405190151581526020015b60405180910390f35b6101e96101e4366004611e1e565b610421565b005b6101f3610468565b6040516101cd9190611f8b565b61021361020e366004611e7f565b6104fa565b6040516001600160a01b0390911681526020016101cd565b6101e9610239366004611df5565b61058f565b600a545b6040519081526020016101cd565b6101e961025e366004611cab565b6106a5565b610276610271366004611ed2565b6106d7565b604080516001600160a01b0390931683526020830191909152016101cd565b6102426102a3366004611df5565b610783565b6101e9610819565b6101e96102be366004611cab565b610853565b6101e96102d1366004611e7f565b61086e565b6102426102e4366004611e7f565b6108e8565b6101e96102f7366004611e97565b610989565b600c5460ff166101c1565b610213610315366004611e7f565b6109c4565b610242610328366004611c5f565b610a3b565b6101e9610ac2565b6101e9610afc565b600c5461010090046001600160a01b0316610213565b6101f3610b34565b6101e9610369366004611df5565b610b43565b6101e961037c366004611dbb565b610b7d565b6101e961038f366004611ce6565b610b88565b6101f36103a2366004611e7f565b610bc0565b6101c16103b5366004611c79565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101e96103f1366004611c5f565b610ccd565b60006001600160e01b03198216632baae9fd60e01b148061041b575061041b82610d6b565b92915050565b600c546001600160a01b0361010090910416331461045a5760405162461bcd60e51b815260040161045190611ff0565b60405180910390fd5b6104648282610d90565b5050565b6060600280546104779061214e565b80601f01602080910402602001604051908101604052809291908181526020018280546104a39061214e565b80156104f05780601f106104c5576101008083540402835291602001916104f0565b820191906000526020600020905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166105735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610451565b506000908152600660205260409020546001600160a01b031690565b600061059a826109c4565b9050806001600160a01b0316836001600160a01b031614156106085760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610451565b336001600160a01b0382161480610624575061062481336103b5565b6106965760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610451565b6106a08383610e4a565b505050565b6106b0335b82610eb8565b6106cc5760405162461bcd60e51b815260040161045190612025565b6106a0838383610faf565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161074c5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061076b906001600160601b0316876120ec565b61077591906120d8565b915196919550909350505050565b600061078e83610a3b565b82106107f05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610451565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b600c546001600160a01b036101009091041633146108495760405162461bcd60e51b815260040161045190611ff0565b610851611156565b565b6106a083838360405180602001604052806000815250610b88565b610877336106aa565b6108dc5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610451565b6108e5816111e9565b50565b60006108f3600a5490565b82106109565760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610451565b600a828154811061097757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600c546001600160a01b036101009091041633146109b95760405162461bcd60e51b815260040161045190611ff0565b6106a0838383611290565b6000818152600460205260408120546001600160a01b03168061041b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610451565b60006001600160a01b038216610aa65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610451565b506001600160a01b031660009081526005602052604090205490565b600c546001600160a01b03610100909104163314610af25760405162461bcd60e51b815260040161045190611ff0565b610851600061135b565b600c546001600160a01b03610100909104163314610b2c5760405162461bcd60e51b815260040161045190611ff0565b6108516113b5565b6060600380546104779061214e565b600c546001600160a01b03610100909104163314610b735760405162461bcd60e51b815260040161045190611ff0565b6104648282611430565b61046433838361144a565b610b923383610eb8565b610bae5760405162461bcd60e51b815260040161045190612025565b610bba84848484611519565b50505050565b6000818152600460205260409020546060906001600160a01b0316610c3f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610451565b6000610c7b60408051808201909152601e81527f68747470733a2f2f6d6574612e67616d652e73706163652f746f6b656e2f0000602082015290565b90506000815111610c9b5760405180602001604052806000815250610cc6565b80610ca58461154c565b604051602001610cb6929190611f1f565b6040516020818303038152906040525b9392505050565b600c546001600160a01b03610100909104163314610cfd5760405162461bcd60e51b815260040161045190611ff0565b6001600160a01b038116610d625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610451565b6108e58161135b565b60006001600160e01b0319821663780e9d6360e01b148061041b575061041b82611666565b6127106001600160601b0382161115610dbb5760405162461bcd60e51b815260040161045190612076565b6001600160a01b038216610e115760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610451565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e7f826109c4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316610f315760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610451565b6000610f3c836109c4565b9050806001600160a01b0316846001600160a01b03161480610f8357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80610fa75750836001600160a01b0316610f9c846104fa565b6001600160a01b0316145b949350505050565b826001600160a01b0316610fc2826109c4565b6001600160a01b0316146110265760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610451565b6001600160a01b0382166110885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610451565b6110938383836116a6565b61109e600082610e4a565b6001600160a01b03831660009081526005602052604081208054600192906110c790849061210b565b90915550506001600160a01b03821660009081526005602052604081208054600192906110f59084906120c0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c5460ff1661119f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610451565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006111f4826109c4565b9050611202816000846116a6565b61120d600083610e4a565b6001600160a01b038116600090815260056020526040812080546001929061123690849061210b565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127106001600160601b03821611156112bb5760405162461bcd60e51b815260040161045190612076565b6001600160a01b0382166113115760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610451565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156113fb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610451565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111cc3390565b6104648282604051806020016040528060008152506116f7565b816001600160a01b0316836001600160a01b031614156114ac5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610451565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611524848484610faf565b6115308484848461172a565b610bba5760405162461bcd60e51b815260040161045190611f9e565b6060816115705750506040805180820190915260018152600360fc1b602082015290565b8160005b811561159a578061158481612189565b91506115939050600a836120d8565b9150611574565b60008167ffffffffffffffff8111156115c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115ed576020820181803683370190505b5090505b8415610fa75761160260018361210b565b915061160f600a866121a4565b61161a9060306120c0565b60f81b81838151811061163d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061165f600a866120d8565b94506115f1565b60006001600160e01b031982166380ac58cd60e01b148061169757506001600160e01b03198216635b5e139f60e01b145b8061041b575061041b82611837565b600c5460ff16156116ec5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610451565b6106a083838361186c565b6117018383611924565b61170e600084848461172a565b6106a05760405162461bcd60e51b815260040161045190611f9e565b60006001600160a01b0384163b1561182c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061176e903390899088908890600401611f4e565b602060405180830381600087803b15801561178857600080fd5b505af19250505080156117b8575060408051601f3d908101601f191682019092526117b591810190611e63565b60015b611812573d8080156117e6576040519150601f19603f3d011682016040523d82523d6000602084013e6117eb565b606091505b50805161180a5760405162461bcd60e51b815260040161045190611f9e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fa7565b506001949350505050565b60006001600160e01b0319821663152a902d60e11b148061041b57506301ffc9a760e01b6001600160e01b031983161461041b565b6001600160a01b0383166118c7576118c281600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6118ea565b816001600160a01b0316836001600160a01b0316146118ea576118ea8382611a72565b6001600160a01b038216611901576106a081611b0f565b826001600160a01b0316826001600160a01b0316146106a0576106a08282611be8565b6001600160a01b03821661197a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610451565b6000818152600460205260409020546001600160a01b0316156119df5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610451565b6119eb600083836116a6565b6001600160a01b0382166000908152600560205260408120805460019290611a149084906120c0565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611a7f84610a3b565b611a89919061210b565b600083815260096020526040902054909150808214611adc576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090611b219060019061210b565b6000838152600b6020526040812054600a8054939450909284908110611b5757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a8381548110611b8657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480611bcc57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611bf383610a3b565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b80356001600160a01b0381168114611c4357600080fd5b919050565b80356001600160601b0381168114611c4357600080fd5b600060208284031215611c70578081fd5b610cc682611c2c565b60008060408385031215611c8b578081fd5b611c9483611c2c565b9150611ca260208401611c2c565b90509250929050565b600080600060608486031215611cbf578081fd5b611cc884611c2c565b9250611cd660208501611c2c565b9150604084013590509250925092565b60008060008060808587031215611cfb578081fd5b611d0485611c2c565b9350611d1260208601611c2c565b925060408501359150606085013567ffffffffffffffff80821115611d35578283fd5b818701915087601f830112611d48578283fd5b813581811115611d5a57611d5a6121e4565b604051601f8201601f19908116603f01168101908382118183101715611d8257611d826121e4565b816040528281528a6020848701011115611d9a578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611dcd578182fd5b611dd683611c2c565b915060208301358015158114611dea578182fd5b809150509250929050565b60008060408385031215611e07578182fd5b611e1083611c2c565b946020939093013593505050565b60008060408385031215611e30578182fd5b611e3983611c2c565b9150611ca260208401611c48565b600060208284031215611e58578081fd5b8135610cc6816121fa565b600060208284031215611e74578081fd5b8151610cc6816121fa565b600060208284031215611e90578081fd5b5035919050565b600080600060608486031215611eab578283fd5b83359250611ebb60208501611c2c565b9150611ec960408501611c48565b90509250925092565b60008060408385031215611ee4578182fd5b50508035926020909101359150565b60008151808452611f0b816020860160208601612122565b601f01601f19169290920160200192915050565b60008351611f31818460208801612122565b835190830190611f45818360208801612122565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f8190830184611ef3565b9695505050505050565b602081526000610cc66020830184611ef3565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b600082198211156120d3576120d36121b8565b500190565b6000826120e7576120e76121ce565b500490565b6000816000190483118215151615612106576121066121b8565b500290565b60008282101561211d5761211d6121b8565b500390565b60005b8381101561213d578181015183820152602001612125565b83811115610bba5750506000910152565b600181811c9082168061216257607f821691505b6020821081141561218357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561219d5761219d6121b8565b5060010190565b6000826121b3576121b36121ce565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108e557600080fdfea2646970667358221220056c1e1057e025d3a82131f0f39d0a6f07eb4d864321aedac1d03ad54d47d92a64736f6c63430008040033

Deployed Bytecode Sourcemap

53769:1488:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54963:291;;;;;;:::i;:::-;;:::i;:::-;;;6502:14:1;;6495:22;6477:41;;6465:2;6450:18;54963:291:0;;;;;;;;54580:167;;;;;;:::i;:::-;;:::i;:::-;;33585:100;;;:::i;:::-;;;;;;;:::i;35145:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5521:32:1;;;5503:51;;5491:2;5476:18;35145:221:0;5458:102:1;34668:411:0;;;;;;:::i;:::-;;:::i;48194:113::-;48282:10;:17;48194:113;;;16334:25:1;;;16322:2;16307:18;48194:113:0;16289:76:1;35895:339:0;;;;;;:::i;:::-;;:::i;21922:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6250:32:1;;;6232:51;;6314:2;6299:18;;6292:34;;;;6205:18;21922:442:0;6187:145:1;47862:256:0;;;;;;:::i;:::-;;:::i;54157:65::-;;;:::i;36305:185::-;;;;;;:::i;:::-;;:::i;46291:245::-;;;;;;:::i;:::-;;:::i;48384:233::-;;;;;;:::i;:::-;;:::i;54755:200::-;;;;;;:::i;:::-;;:::i;6679:86::-;6750:7;;;;6679:86;;33279:239;;;;;;:::i;:::-;;:::i;33009:208::-;;;;;;:::i;:::-;;:::i;4730:103::-;;;:::i;54088:61::-;;;:::i;4079:87::-;4152:6;;;;;-1:-1:-1;;;;;4152:6:0;4079:87;;33754:104;;;:::i;54230:105::-;;;;;;:::i;:::-;;:::i;35438:155::-;;;;;;:::i;:::-;;:::i;36561:328::-;;;;;;:::i;:::-;;:::i;33929:334::-;;;;;;:::i;:::-;;:::i;35664:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;35785:25:0;;;35761:4;35785:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35664:164;4988:201;;;;;;:::i;:::-;;:::i;54963:291::-;55111:4;-1:-1:-1;;;;;;55153:40:0;;-1:-1:-1;;;55153:40:0;;:93;;;55210:36;55234:11;55210:23;:36::i;:::-;55133:113;54963:291;-1:-1:-1;;54963:291:0:o;54580:167::-;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;;;;;;;;;54697:42:::1;54716:8;54726:12;54697:18;:42::i;:::-;54580:167:::0;;:::o;33585:100::-;33639:13;33672:5;33665:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33585:100;:::o;35145:221::-;35221:7;38488:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38488:16:0;35241:73;;;;-1:-1:-1;;;35241:73:0;;12429:2:1;35241:73:0;;;12411:21:1;12468:2;12448:18;;;12441:30;12507:34;12487:18;;;12480:62;-1:-1:-1;;;12558:18:1;;;12551:42;12610:19;;35241:73:0;12401:234:1;35241:73:0;-1:-1:-1;35334:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35334:24:0;;35145:221::o;34668:411::-;34749:13;34765:23;34780:7;34765:14;:23::i;:::-;34749:39;;34813:5;-1:-1:-1;;;;;34807:11:0;:2;-1:-1:-1;;;;;34807:11:0;;;34799:57;;;;-1:-1:-1;;;34799:57:0;;13619:2:1;34799:57:0;;;13601:21:1;13658:2;13638:18;;;13631:30;13697:34;13677:18;;;13670:62;-1:-1:-1;;;13748:18:1;;;13741:31;13789:19;;34799:57:0;13591:223:1;34799:57:0;2883:10;-1:-1:-1;;;;;34891:21:0;;;;:62;;-1:-1:-1;34916:37:0;34933:5;2883:10;35664:164;:::i;34916:37::-;34869:168;;;;-1:-1:-1;;;34869:168:0;;10822:2:1;34869:168:0;;;10804:21:1;10861:2;10841:18;;;10834:30;10900:34;10880:18;;;10873:62;10971:26;10951:18;;;10944:54;11015:19;;34869:168:0;10794:246:1;34869:168:0;35050:21;35059:2;35063:7;35050:8;:21::i;:::-;34668:411;;;:::o;35895:339::-;36090:41;2883:10;36109:12;36123:7;36090:18;:41::i;:::-;36082:103;;;;-1:-1:-1;;;36082:103:0;;;;;;;:::i;:::-;36198:28;36208:4;36214:2;36218:7;36198:9;:28::i;21922:442::-;22019:7;22077:27;;;:17;:27;;;;;;;;22048:56;;;;;;;;;-1:-1:-1;;;;;22048:56:0;;;;;-1:-1:-1;;;22048:56:0;;;-1:-1:-1;;;;;22048:56:0;;;;;;;;22019:7;;22117:92;;-1:-1:-1;22168:29:0;;;;;;;;;-1:-1:-1;22168:29:0;-1:-1:-1;;;;;22168:29:0;;;;-1:-1:-1;;;22168:29:0;;-1:-1:-1;;;;;22168:29:0;;;;;22117:92;22259:23;;;;22221:21;;22730:5;;22246:36;;-1:-1:-1;;;;;22246:36:0;:10;:36;:::i;:::-;22245:58;;;;:::i;:::-;22324:16;;;;;-1:-1:-1;21922:442:0;;-1:-1:-1;;;;21922:442:0:o;47862:256::-;47959:7;47995:23;48012:5;47995:16;:23::i;:::-;47987:5;:31;47979:87;;;;-1:-1:-1;;;47979:87:0;;7304:2:1;47979:87:0;;;7286:21:1;7343:2;7323:18;;;7316:30;7382:34;7362:18;;;7355:62;-1:-1:-1;;;7433:18:1;;;7426:41;7484:19;;47979:87:0;7276:233:1;47979:87:0;-1:-1:-1;;;;;;48084:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;47862:256::o;54157:65::-;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54204:10:::1;:8;:10::i;:::-;54157:65::o:0;36305:185::-;36443:39;36460:4;36466:2;36470:7;36443:39;;;;;;;;;;;;:16;:39::i;46291:245::-;46409:41;2883:10;46428:12;2803:98;46409:41;46401:102;;;;-1:-1:-1;;;46401:102:0;;15619:2:1;46401:102:0;;;15601:21:1;15658:2;15638:18;;;15631:30;15697:34;15677:18;;;15670:62;-1:-1:-1;;;15748:18:1;;;15741:46;15804:19;;46401:102:0;15591:238:1;46401:102:0;46514:14;46520:7;46514:5;:14::i;:::-;46291:245;:::o;48384:233::-;48459:7;48495:30;48282:10;:17;;48194:113;48495:30;48487:5;:38;48479:95;;;;-1:-1:-1;;;48479:95:0;;14795:2:1;48479:95:0;;;14777:21:1;14834:2;14814:18;;;14807:30;14873:34;14853:18;;;14846:62;-1:-1:-1;;;14924:18:1;;;14917:42;14976:19;;48479:95:0;14767:234:1;48479:95:0;48592:10;48603:5;48592:17;;;;;;-1:-1:-1;;;48592:17:0;;;;;;;;;;;;;;;;;48585:24;;48384:233;;;:::o;54755:200::-;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54898:49:::1;54915:7;54924:8;54934:12;54898:16;:49::i;33279:239::-:0;33351:7;33387:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33387:16:0;33422:19;33414:73;;;;-1:-1:-1;;;33414:73:0;;11658:2:1;33414:73:0;;;11640:21:1;11697:2;11677:18;;;11670:30;11736:34;11716:18;;;11709:62;-1:-1:-1;;;11787:18:1;;;11780:39;11836:19;;33414:73:0;11630:231:1;33009:208:0;33081:7;-1:-1:-1;;;;;33109:19:0;;33101:74;;;;-1:-1:-1;;;33101:74:0;;11247:2:1;33101:74:0;;;11229:21:1;11286:2;11266:18;;;11259:30;11325:34;11305:18;;;11298:62;-1:-1:-1;;;11376:18:1;;;11369:40;11426:19;;33101:74:0;11219:232:1;33101:74:0;-1:-1:-1;;;;;;33193:16:0;;;;;:9;:16;;;;;;;33009:208::o;4730:103::-;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;4795:30:::1;4822:1;4795:18;:30::i;54088:61::-:0;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54133:8:::1;:6;:8::i;33754:104::-:0;33810:13;33843:7;33836:14;;;;;:::i;54230:105::-;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;54305:22:::1;54315:2;54319:7;54305:9;:22::i;35438:155::-:0;35533:52;2883:10;35566:8;35576;35533:18;:52::i;36561:328::-;36736:41;2883:10;36769:7;36736:18;:41::i;:::-;36728:103;;;;-1:-1:-1;;;36728:103:0;;;;;;;:::i;:::-;36842:39;36856:4;36862:2;36866:7;36875:5;36842:13;:39::i;:::-;36561:328;;;;:::o;33929:334::-;38464:4;38488:16;;;:7;:16;;;;;;34002:13;;-1:-1:-1;;;;;38488:16:0;34028:76;;;;-1:-1:-1;;;34028:76:0;;13203:2:1;34028:76:0;;;13185:21:1;13242:2;13222:18;;;13215:30;13281:34;13261:18;;;13254:62;-1:-1:-1;;;13332:18:1;;;13325:45;13387:19;;34028:76:0;13175:237:1;34028:76:0;34117:21;34141:10;54033:39;;;;;;;;;;;;;;;;;;53955:125;34141:10;34117:34;;34193:1;34175:7;34169:21;:25;:86;;;;;;;;;;;;;;;;;34221:7;34230:18;:7;:16;:18::i;:::-;34204:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;34169:86;34162:93;33929:334;-1:-1:-1;;;33929:334:0:o;4988:201::-;4152:6;;-1:-1:-1;;;;;4152:6:0;;;;;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5077:22:0;::::1;5069:73;;;::::0;-1:-1:-1;;;5069:73:0;;8135:2:1;5069:73:0::1;::::0;::::1;8117:21:1::0;8174:2;8154:18;;;8147:30;8213:34;8193:18;;;8186:62;-1:-1:-1;;;8264:18:1;;;8257:36;8310:19;;5069:73:0::1;8107:228:1::0;5069:73:0::1;5153:28;5172:8;5153:18;:28::i;47554:224::-:0;47656:4;-1:-1:-1;;;;;;47680:50:0;;-1:-1:-1;;;47680:50:0;;:90;;;47734:36;47758:11;47734:23;:36::i;23014:332::-;22730:5;-1:-1:-1;;;;;23117:33:0;;;;23109:88;;;;-1:-1:-1;;;23109:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;23216:22:0;;23208:60;;;;-1:-1:-1;;;23208:60:0;;16036:2:1;23208:60:0;;;16018:21:1;16075:2;16055:18;;;16048:30;16114:27;16094:18;;;16087:55;16159:18;;23208:60:0;16008:175:1;23208:60:0;23303:35;;;;;;;;;-1:-1:-1;;;;;23303:35:0;;;;;;-1:-1:-1;;;;;23303:35:0;;;;;;;;;;-1:-1:-1;;;23281:57:0;;;;-1:-1:-1;23281:57:0;23014:332::o;42545:174::-;42620:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;42620:29:0;-1:-1:-1;;;;;42620:29:0;;;;;;;;:24;;42674:23;42620:24;42674:14;:23::i;:::-;-1:-1:-1;;;;;42665:46:0;;;;;;;;;;;42545:174;;:::o;38693:348::-;38786:4;38488:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38488:16:0;38803:73;;;;-1:-1:-1;;;38803:73:0;;10064:2:1;38803:73:0;;;10046:21:1;10103:2;10083:18;;;10076:30;10142:34;10122:18;;;10115:62;-1:-1:-1;;;10193:18:1;;;10186:42;10245:19;;38803:73:0;10036:234:1;38803:73:0;38887:13;38903:23;38918:7;38903:14;:23::i;:::-;38887:39;;38956:5;-1:-1:-1;;;;;38945:16:0;:7;-1:-1:-1;;;;;38945:16:0;;:52;;;-1:-1:-1;;;;;;35785:25:0;;;35761:4;35785:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;38965:32;38945:87;;;;39025:7;-1:-1:-1;;;;;39001:31:0;:20;39013:7;39001:11;:20::i;:::-;-1:-1:-1;;;;;39001:31:0;;38945:87;38937:96;38693:348;-1:-1:-1;;;;38693:348:0:o;41802:625::-;41961:4;-1:-1:-1;;;;;41934:31:0;:23;41949:7;41934:14;:23::i;:::-;-1:-1:-1;;;;;41934:31:0;;41926:81;;;;-1:-1:-1;;;41926:81:0;;8542:2:1;41926:81:0;;;8524:21:1;8581:2;8561:18;;;8554:30;8620:34;8600:18;;;8593:62;-1:-1:-1;;;8671:18:1;;;8664:35;8716:19;;41926:81:0;8514:227:1;41926:81:0;-1:-1:-1;;;;;42026:16:0;;42018:65;;;;-1:-1:-1;;;42018:65:0;;9305:2:1;42018:65:0;;;9287:21:1;9344:2;9324:18;;;9317:30;9383:34;9363:18;;;9356:62;-1:-1:-1;;;9434:18:1;;;9427:34;9478:19;;42018:65:0;9277:226:1;42018:65:0;42096:39;42117:4;42123:2;42127:7;42096:20;:39::i;:::-;42200:29;42217:1;42221:7;42200:8;:29::i;:::-;-1:-1:-1;;;;;42242:15:0;;;;;;:9;:15;;;;;:20;;42261:1;;42242:15;:20;;42261:1;;42242:20;:::i;:::-;;;;-1:-1:-1;;;;;;;42273:13:0;;;;;;:9;:13;;;;;:18;;42290:1;;42273:13;:18;;42290:1;;42273:18;:::i;:::-;;;;-1:-1:-1;;42302:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;42302:21:0;-1:-1:-1;;;;;42302:21:0;;;;;;;;;42341:27;;42302:16;;42341:27;;;;;;;34668:411;;;:::o;7738:120::-;6750:7;;;;7274:41;;;;-1:-1:-1;;;7274:41:0;;6955:2:1;7274:41:0;;;6937:21:1;6994:2;6974:18;;;6967:30;-1:-1:-1;;;7013:18:1;;;7006:50;7073:18;;7274:41:0;6927:170:1;7274:41:0;7797:7:::1;:15:::0;;-1:-1:-1;;7797:15:0::1;::::0;;7828:22:::1;2883:10:::0;7837:12:::1;7828:22;::::0;-1:-1:-1;;;;;5521:32:1;;;5503:51;;5491:2;5476:18;7828:22:0::1;;;;;;;7738:120::o:0;41045:420::-;41105:13;41121:23;41136:7;41121:14;:23::i;:::-;41105:39;;41157:48;41178:5;41193:1;41197:7;41157:20;:48::i;:::-;41246:29;41263:1;41267:7;41246:8;:29::i;:::-;-1:-1:-1;;;;;41288:16:0;;;;;;:9;:16;;;;;:21;;41308:1;;41288:16;:21;;41308:1;;41288:21;:::i;:::-;;;;-1:-1:-1;;41327:16:0;;;;:7;:16;;;;;;41320:23;;-1:-1:-1;;;;;;41320:23:0;;;41361:36;41335:7;;41327:16;-1:-1:-1;;;;;41361:36:0;;;;;41327:16;;41361:36;54580:167;;:::o;23841:390::-;22730:5;-1:-1:-1;;;;;23993:33:0;;;;23985:88;;;;-1:-1:-1;;;23985:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24092:22:0;;24084:62;;;;-1:-1:-1;;;24084:62:0;;14439:2:1;24084:62:0;;;14421:21:1;14478:2;14458:18;;;14451:30;14517:29;14497:18;;;14490:57;14564:18;;24084:62:0;14411:177:1;24084:62:0;24188:35;;;;;;;;-1:-1:-1;;;;;24188:35:0;;;;;-1:-1:-1;;;;;24188:35:0;;;;;;;;;;-1:-1:-1;24159:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;24159:64:0;;;;;;23841:390::o;5349:191::-;5442:6;;;-1:-1:-1;;;;;5459:17:0;;;5442:6;5459:17;;;-1:-1:-1;;;;;;5459:17:0;;;;;;5492:40;;5442:6;;;;;;;;5492:40;;5423:16;;5492:40;5349:191;;:::o;7479:118::-;6750:7;;;;7004:9;6996:38;;;;-1:-1:-1;;;6996:38:0;;10477:2:1;6996:38:0;;;10459:21:1;10516:2;10496:18;;;10489:30;-1:-1:-1;;;10535:18:1;;;10528:46;10591:18;;6996:38:0;10449:166:1;6996:38:0;7539:7:::1;:14:::0;;-1:-1:-1;;7539:14:0::1;7549:4;7539:14;::::0;;7569:20:::1;7576:12;2883:10:::0;;2803:98;39383:110;39459:26;39469:2;39473:7;39459:26;;;;;;;;;;;;:9;:26::i;42861:315::-;43016:8;-1:-1:-1;;;;;43007:17:0;:5;-1:-1:-1;;;;;43007:17:0;;;42999:55;;;;-1:-1:-1;;;42999:55:0;;9710:2:1;42999:55:0;;;9692:21:1;9749:2;9729:18;;;9722:30;9788:27;9768:18;;;9761:55;9833:18;;42999:55:0;9682:175:1;42999:55:0;-1:-1:-1;;;;;43065:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;43065:46:0;;;;;;;;;;43127:41;;6477::1;;;43127::0;;6450:18:1;43127:41:0;;;;;;;42861:315;;;:::o;37771:::-;37928:28;37938:4;37944:2;37948:7;37928:9;:28::i;:::-;37975:48;37998:4;38004:2;38008:7;38017:5;37975:22;:48::i;:::-;37967:111;;;;-1:-1:-1;;;37967:111:0;;;;;;;:::i;365:723::-;421:13;642:10;638:53;;-1:-1:-1;;669:10:0;;;;;;;;;;;;-1:-1:-1;;;669:10:0;;;;;365:723::o;638:53::-;716:5;701:12;757:78;764:9;;757:78;;790:8;;;;:::i;:::-;;-1:-1:-1;813:10:0;;-1:-1:-1;821:2:0;813:10;;:::i;:::-;;;757:78;;;845:19;877:6;867:17;;;;;;-1:-1:-1;;;867:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;867:17:0;;845:39;;895:154;902:10;;895:154;;929:11;939:1;929:11;;:::i;:::-;;-1:-1:-1;998:10:0;1006:2;998:5;:10;:::i;:::-;985:24;;:2;:24;:::i;:::-;972:39;;955:6;962;955:14;;;;;;-1:-1:-1;;;955:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;955:56:0;;;;;;;;-1:-1:-1;1026:11:0;1035:2;1026:11;;:::i;:::-;;;895:154;;32640:305;32742:4;-1:-1:-1;;;;;;32779:40:0;;-1:-1:-1;;;32779:40:0;;:105;;-1:-1:-1;;;;;;;32836:48:0;;-1:-1:-1;;;32836:48:0;32779:105;:158;;;;32901:36;32925:11;32901:23;:36::i;54343:229::-;6750:7;;;;7004:9;6996:38;;;;-1:-1:-1;;;6996:38:0;;10477:2:1;6996:38:0;;;10459:21:1;10516:2;10496:18;;;10489:30;-1:-1:-1;;;10535:18:1;;;10528:46;10591:18;;6996:38:0;10449:166:1;6996:38:0;54519:45:::1;54546:4;54552:2;54556:7;54519:26;:45::i;39720:321::-:0;39850:18;39856:2;39860:7;39850:5;:18::i;:::-;39901:54;39932:1;39936:2;39940:7;39949:5;39901:22;:54::i;:::-;39879:154;;;;-1:-1:-1;;;39879:154:0;;;;;;;:::i;43741:799::-;43896:4;-1:-1:-1;;;;;43917:13:0;;9393:19;:23;43913:620;;43953:72;;-1:-1:-1;;;43953:72:0;;-1:-1:-1;;;;;43953:36:0;;;;;:72;;2883:10;;44004:4;;44010:7;;44019:5;;43953:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43953:72:0;;;;;;;;-1:-1:-1;;43953:72:0;;;;;;;;;;;;:::i;:::-;;;43949:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44195:13:0;;44191:272;;44238:60;;-1:-1:-1;;;44238:60:0;;;;;;;:::i;44191:272::-;44413:6;44407:13;44398:6;44394:2;44390:15;44383:38;43949:529;-1:-1:-1;;;;;;44076:51:0;-1:-1:-1;;;44076:51:0;;-1:-1:-1;44069:58:0;;43913:620;-1:-1:-1;44517:4:0;43741:799;;;;;;:::o;21652:215::-;21754:4;-1:-1:-1;;;;;;21778:41:0;;-1:-1:-1;;;21778:41:0;;:81;;-1:-1:-1;;;;;;;;;;20211:40:0;;;21823:36;20102:157;49230:589;-1:-1:-1;;;;;49436:18:0;;49432:187;;49471:40;49503:7;50646:10;:17;;50619:24;;;;:15;:24;;;;;:44;;;50674:24;;;;;;;;;;;;50542:164;49471:40;49432:187;;;49541:2;-1:-1:-1;;;;;49533:10:0;:4;-1:-1:-1;;;;;49533:10:0;;49529:90;;49560:47;49593:4;49599:7;49560:32;:47::i;:::-;-1:-1:-1;;;;;49633:16:0;;49629:183;;49666:45;49703:7;49666:36;:45::i;49629:183::-;49739:4;-1:-1:-1;;;;;49733:10:0;:2;-1:-1:-1;;;;;49733:10:0;;49729:83;;49760:40;49788:2;49792:7;49760:27;:40::i;40377:439::-;-1:-1:-1;;;;;40457:16:0;;40449:61;;;;-1:-1:-1;;;40449:61:0;;12068:2:1;40449:61:0;;;12050:21:1;;;12087:18;;;12080:30;12146:34;12126:18;;;12119:62;12198:18;;40449:61:0;12040:182:1;40449:61:0;38464:4;38488:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38488:16:0;:30;40521:58;;;;-1:-1:-1;;;40521:58:0;;8948:2:1;40521:58:0;;;8930:21:1;8987:2;8967:18;;;8960:30;9026;9006:18;;;8999:58;9074:18;;40521:58:0;8920:178:1;40521:58:0;40592:45;40621:1;40625:2;40629:7;40592:20;:45::i;:::-;-1:-1:-1;;;;;40650:13:0;;;;;;:9;:13;;;;;:18;;40667:1;;40650:13;:18;;40667:1;;40650:18;:::i;:::-;;;;-1:-1:-1;;40679:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;40679:21:0;-1:-1:-1;;;;;40679:21:0;;;;;;;;40718:33;;40679:16;;;40718:33;;40679:16;;40718:33;54580:167;;:::o;51333:988::-;51599:22;51649:1;51624:22;51641:4;51624:16;:22::i;:::-;:26;;;;:::i;:::-;51661:18;51682:26;;;:17;:26;;;;;;51599:51;;-1:-1:-1;51815:28:0;;;51811:328;;-1:-1:-1;;;;;51882:18:0;;51860:19;51882:18;;;:12;:18;;;;;;;;:34;;;;;;;;;51933:30;;;;;;:44;;;52050:30;;:17;:30;;;;;:43;;;51811:328;-1:-1:-1;52235:26:0;;;;:17;:26;;;;;;;;52228:33;;;-1:-1:-1;;;;;52279:18:0;;;;;:12;:18;;;;;:34;;;;;;;52272:41;51333:988::o;52616:1079::-;52894:10;:17;52869:22;;52894:21;;52914:1;;52894:21;:::i;:::-;52926:18;52947:24;;;:15;:24;;;;;;53320:10;:26;;52869:46;;-1:-1:-1;52947:24:0;;52869:46;;53320:26;;;;-1:-1:-1;;;53320:26:0;;;;;;;;;;;;;;;;;53298:48;;53384:11;53359:10;53370;53359:22;;;;;;-1:-1:-1;;;53359:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;53464:28;;;:15;:28;;;;;;;:41;;;53636:24;;;;;53629:31;53671:10;:16;;;;;-1:-1:-1;;;53671:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;52616:1079;;;;:::o;50120:221::-;50205:14;50222:20;50239:2;50222:16;:20::i;:::-;-1:-1:-1;;;;;50253:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;50298:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;50120:221:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:179::-;259:20;;-1:-1:-1;;;;;308:38:1;;298:49;;288:2;;361:1;358;351:12;376:196;435:6;488:2;476:9;467:7;463:23;459:32;456:2;;;509:6;501;494:22;456:2;537:29;556:9;537:29;:::i;577:270::-;645:6;653;706:2;694:9;685:7;681:23;677:32;674:2;;;727:6;719;712:22;674:2;755:29;774:9;755:29;:::i;:::-;745:39;;803:38;837:2;826:9;822:18;803:38;:::i;:::-;793:48;;664:183;;;;;:::o;852:338::-;929:6;937;945;998:2;986:9;977:7;973:23;969:32;966:2;;;1019:6;1011;1004:22;966:2;1047:29;1066:9;1047:29;:::i;:::-;1037:39;;1095:38;1129:2;1118:9;1114:18;1095:38;:::i;:::-;1085:48;;1180:2;1169:9;1165:18;1152:32;1142:42;;956:234;;;;;:::o;1195:1183::-;1290:6;1298;1306;1314;1367:3;1355:9;1346:7;1342:23;1338:33;1335:2;;;1389:6;1381;1374:22;1335:2;1417:29;1436:9;1417:29;:::i;:::-;1407:39;;1465:38;1499:2;1488:9;1484:18;1465:38;:::i;:::-;1455:48;;1550:2;1539:9;1535:18;1522:32;1512:42;;1605:2;1594:9;1590:18;1577:32;1628:18;1669:2;1661:6;1658:14;1655:2;;;1690:6;1682;1675:22;1655:2;1733:6;1722:9;1718:22;1708:32;;1778:7;1771:4;1767:2;1763:13;1759:27;1749:2;;1805:6;1797;1790:22;1749:2;1846;1833:16;1868:2;1864;1861:10;1858:2;;;1874:18;;:::i;:::-;1949:2;1943:9;1917:2;2003:13;;-1:-1:-1;;1999:22:1;;;2023:2;1995:31;1991:40;1979:53;;;2047:18;;;2067:22;;;2044:46;2041:2;;;2093:18;;:::i;:::-;2133:10;2129:2;2122:22;2168:2;2160:6;2153:18;2208:7;2203:2;2198;2194;2190:11;2186:20;2183:33;2180:2;;;2234:6;2226;2219:22;2180:2;2295;2290;2286;2282:11;2277:2;2269:6;2265:15;2252:46;2318:15;;;2335:2;2314:24;2307:40;;;;1325:1053;;;;-1:-1:-1;1325:1053:1;;-1:-1:-1;;;;1325:1053:1:o;2383:367::-;2448:6;2456;2509:2;2497:9;2488:7;2484:23;2480:32;2477:2;;;2530:6;2522;2515:22;2477:2;2558:29;2577:9;2558:29;:::i;:::-;2548:39;;2637:2;2626:9;2622:18;2609:32;2684:5;2677:13;2670:21;2663:5;2660:32;2650:2;;2711:6;2703;2696:22;2650:2;2739:5;2729:15;;;2467:283;;;;;:::o;2755:264::-;2823:6;2831;2884:2;2872:9;2863:7;2859:23;2855:32;2852:2;;;2905:6;2897;2890:22;2852:2;2933:29;2952:9;2933:29;:::i;:::-;2923:39;3009:2;2994:18;;;;2981:32;;-1:-1:-1;;;2842:177:1:o;3024:268::-;3091:6;3099;3152:2;3140:9;3131:7;3127:23;3123:32;3120:2;;;3173:6;3165;3158:22;3120:2;3201:29;3220:9;3201:29;:::i;:::-;3191:39;;3249:37;3282:2;3271:9;3267:18;3249:37;:::i;3297:255::-;3355:6;3408:2;3396:9;3387:7;3383:23;3379:32;3376:2;;;3429:6;3421;3414:22;3376:2;3473:9;3460:23;3492:30;3516:5;3492:30;:::i;3557:259::-;3626:6;3679:2;3667:9;3658:7;3654:23;3650:32;3647:2;;;3700:6;3692;3685:22;3647:2;3737:9;3731:16;3756:30;3780:5;3756:30;:::i;3821:190::-;3880:6;3933:2;3921:9;3912:7;3908:23;3904:32;3901:2;;;3954:6;3946;3939:22;3901:2;-1:-1:-1;3982:23:1;;3891:120;-1:-1:-1;3891:120:1:o;4016:336::-;4092:6;4100;4108;4161:2;4149:9;4140:7;4136:23;4132:32;4129:2;;;4182:6;4174;4167:22;4129:2;4223:9;4210:23;4200:33;;4252:38;4286:2;4275:9;4271:18;4252:38;:::i;:::-;4242:48;;4309:37;4342:2;4331:9;4327:18;4309:37;:::i;:::-;4299:47;;4119:233;;;;;:::o;4357:258::-;4425:6;4433;4486:2;4474:9;4465:7;4461:23;4457:32;4454:2;;;4507:6;4499;4492:22;4454:2;-1:-1:-1;;4535:23:1;;;4605:2;4590:18;;;4577:32;;-1:-1:-1;4444:171:1:o;4620:257::-;4661:3;4699:5;4693:12;4726:6;4721:3;4714:19;4742:63;4798:6;4791:4;4786:3;4782:14;4775:4;4768:5;4764:16;4742:63;:::i;:::-;4859:2;4838:15;-1:-1:-1;;4834:29:1;4825:39;;;;4866:4;4821:50;;4669:208;-1:-1:-1;;4669:208:1:o;4882:470::-;5061:3;5099:6;5093:13;5115:53;5161:6;5156:3;5149:4;5141:6;5137:17;5115:53;:::i;:::-;5231:13;;5190:16;;;;5253:57;5231:13;5190:16;5287:4;5275:17;;5253:57;:::i;:::-;5326:20;;5069:283;-1:-1:-1;;;;5069:283:1:o;5565:488::-;-1:-1:-1;;;;;5834:15:1;;;5816:34;;5886:15;;5881:2;5866:18;;5859:43;5933:2;5918:18;;5911:34;;;5981:3;5976:2;5961:18;;5954:31;;;5759:4;;6002:45;;6027:19;;6019:6;6002:45;:::i;:::-;5994:53;5768:285;-1:-1:-1;;;;;;5768:285:1:o;6529:219::-;6678:2;6667:9;6660:21;6641:4;6698:44;6738:2;6727:9;6723:18;6715:6;6698:44;:::i;7514:414::-;7716:2;7698:21;;;7755:2;7735:18;;;7728:30;7794:34;7789:2;7774:18;;7767:62;-1:-1:-1;;;7860:2:1;7845:18;;7838:48;7918:3;7903:19;;7688:240::o;12640:356::-;12842:2;12824:21;;;12861:18;;;12854:30;12920:34;12915:2;12900:18;;12893:62;12987:2;12972:18;;12814:182::o;13819:413::-;14021:2;14003:21;;;14060:2;14040:18;;;14033:30;14099:34;14094:2;14079:18;;14072:62;-1:-1:-1;;;14165:2:1;14150:18;;14143:47;14222:3;14207:19;;13993:239::o;15006:406::-;15208:2;15190:21;;;15247:2;15227:18;;;15220:30;15286:34;15281:2;15266:18;;15259:62;-1:-1:-1;;;15352:2:1;15337:18;;15330:40;15402:3;15387:19;;15180:232::o;16370:128::-;16410:3;16441:1;16437:6;16434:1;16431:13;16428:2;;;16447:18;;:::i;:::-;-1:-1:-1;16483:9:1;;16418:80::o;16503:120::-;16543:1;16569;16559:2;;16574:18;;:::i;:::-;-1:-1:-1;16608:9:1;;16549:74::o;16628:168::-;16668:7;16734:1;16730;16726:6;16722:14;16719:1;16716:21;16711:1;16704:9;16697:17;16693:45;16690:2;;;16741:18;;:::i;:::-;-1:-1:-1;16781:9:1;;16680:116::o;16801:125::-;16841:4;16869:1;16866;16863:8;16860:2;;;16874:18;;:::i;:::-;-1:-1:-1;16911:9:1;;16850:76::o;16931:258::-;17003:1;17013:113;17027:6;17024:1;17021:13;17013:113;;;17103:11;;;17097:18;17084:11;;;17077:39;17049:2;17042:10;17013:113;;;17144:6;17141:1;17138:13;17135:2;;;-1:-1:-1;;17179:1:1;17161:16;;17154:27;16984:205::o;17194:380::-;17273:1;17269:12;;;;17316;;;17337:2;;17391:4;17383:6;17379:17;17369:27;;17337:2;17444;17436:6;17433:14;17413:18;17410:38;17407:2;;;17490:10;17485:3;17481:20;17478:1;17471:31;17525:4;17522:1;17515:15;17553:4;17550:1;17543:15;17407:2;;17249:325;;;:::o;17579:135::-;17618:3;-1:-1:-1;;17639:17:1;;17636:2;;;17659:18;;:::i;:::-;-1:-1:-1;17706:1:1;17695:13;;17626:88::o;17719:112::-;17751:1;17777;17767:2;;17782:18;;:::i;:::-;-1:-1:-1;17816:9:1;;17757:74::o;17836:127::-;17897:10;17892:3;17888:20;17885:1;17878:31;17928:4;17925:1;17918:15;17952:4;17949:1;17942:15;17968:127;18029:10;18024:3;18020:20;18017:1;18010:31;18060:4;18057:1;18050:15;18084:4;18081:1;18074:15;18100:127;18161:10;18156:3;18152:20;18149:1;18142:31;18192:4;18189:1;18182:15;18216:4;18213:1;18206:15;18232:131;-1:-1:-1;;;;;;18306:32:1;;18296:43;;18286:2;;18353:1;18350;18343:12

Swarm Source

ipfs://056c1e1057e025d3a82131f0f39d0a6f07eb4d864321aedac1d03ad54d47d92a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.