ETH Price: $2,868.75 (-9.23%)
Gas: 10 Gwei

Contract

0x26087fc50619c6F53e9ee025a47e3F4b386EF6f4
 
Transaction Hash
Method
Block
From
To
Value
Set Approval For...197689272024-04-30 15:09:4765 days ago1714489787IN
0x26087fc5...b386EF6f4
0 ETH0.0007160415.49811775
Set Approval For...197262852024-04-24 16:00:4771 days ago1713974447IN
0x26087fc5...b386EF6f4
0 ETH0.0008505718.40991732
Set Approval For...196430032024-04-13 0:10:1183 days ago1712967011IN
0x26087fc5...b386EF6f4
0 ETH0.0006681714.46194879
Set Approval For...194855832024-03-21 21:03:47105 days ago1711055027IN
0x26087fc5...b386EF6f4
0 ETH0.0014134430.59273988
Set Approval For...194367822024-03-15 0:27:47112 days ago1710462467IN
0x26087fc5...b386EF6f4
0 ETH0.0019961643.20523951
Set Approval For...193246162024-02-28 7:42:35128 days ago1709106155IN
0x26087fc5...b386EF6f4
0 ETH0.0015794734.18629355
Set Approval For...192972502024-02-24 11:48:47131 days ago1708775327IN
0x26087fc5...b386EF6f4
0 ETH0.0010621522.95362999
Set Approval For...191572402024-02-04 20:12:11151 days ago1707077531IN
0x26087fc5...b386EF6f4
0 ETH0.0006987915.12480397
Safe Transfer Fr...190805912024-01-25 2:15:59162 days ago1706148959IN
0x26087fc5...b386EF6f4
0 ETH0.0005939111.43726803
Safe Transfer Fr...190553042024-01-21 12:41:59165 days ago1705840919IN
0x26087fc5...b386EF6f4
0 ETH0.0007671514.7733774
Safe Transfer Fr...190550552024-01-21 11:51:47165 days ago1705837907IN
0x26087fc5...b386EF6f4
0 ETH0.0005925211.41584545
Set Approval For...189723312024-01-09 22:18:23177 days ago1704838703IN
0x26087fc5...b386EF6f4
0 ETH0.0022499448.69794331
Set Approval For...189404432024-01-05 10:20:59181 days ago1704450059IN
0x26087fc5...b386EF6f4
0 ETH0.0007512816.26095129
Set Approval For...188936922023-12-29 20:46:23188 days ago1703882783IN
0x26087fc5...b386EF6f4
0 ETH0.0008873819.20674173
Set Approval For...188712772023-12-26 17:11:47191 days ago1703610707IN
0x26087fc5...b386EF6f4
0 ETH0.0013271528.72501164
Set Approval For...188712022023-12-26 16:56:35191 days ago1703609795IN
0x26087fc5...b386EF6f4
0 ETH0.0009870621.36417657
Set Approval For...187799412023-12-13 21:31:59204 days ago1702503119IN
0x26087fc5...b386EF6f4
0 ETH0.0022985849.75077241
Safe Transfer Fr...187099912023-12-04 2:22:11214 days ago1701656531IN
0x26087fc5...b386EF6f4
0 ETH0.0020252839.00175861
Set Approval For...187026142023-12-03 1:31:23215 days ago1701567083IN
0x26087fc5...b386EF6f4
0 ETH0.0013317128.82382208
Set Approval For...186934062023-12-01 18:39:35216 days ago1701455975IN
0x26087fc5...b386EF6f4
0 ETH0.0028555461.80566568
Set Approval For...186928352023-12-01 16:44:35216 days ago1701449075IN
0x26087fc5...b386EF6f4
0 ETH0.0038414283.14413529
Set Approval For...186549372023-11-26 9:24:47222 days ago1700990687IN
0x26087fc5...b386EF6f4
0 ETH0.0008842819.13954236
Set Approval For...186326742023-11-23 6:34:59225 days ago1700721299IN
0x26087fc5...b386EF6f4
0 ETH0.0011094224
Safe Transfer Fr...186298292023-11-22 21:02:11225 days ago1700686931IN
0x26087fc5...b386EF6f4
0 ETH0.0017034349
Set Approval For...186194662023-11-21 10:12:59226 days ago1700561579IN
0x26087fc5...b386EF6f4
0 ETH0.0012089126.16583921
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
179680112023-08-22 4:56:47318 days ago1692680207
0x26087fc5...b386EF6f4
0.27 ETH
179670342023-08-22 1:40:11318 days ago1692668411
0x26087fc5...b386EF6f4
0.27 ETH
179669942023-08-22 1:32:11318 days ago1692667931
0x26087fc5...b386EF6f4
0.54 ETH
179660502023-08-21 22:21:47318 days ago1692656507
0x26087fc5...b386EF6f4
0.27 ETH
179660322023-08-21 22:18:11318 days ago1692656291
0x26087fc5...b386EF6f4
1.89 ETH
179658042023-08-21 21:32:23318 days ago1692653543
0x26087fc5...b386EF6f4
2.7 ETH
179655002023-08-21 20:31:23318 days ago1692649883
0x26087fc5...b386EF6f4
3.78 ETH
179654912023-08-21 20:29:35318 days ago1692649775
0x26087fc5...b386EF6f4
1.08 ETH
179651812023-08-21 19:27:23318 days ago1692646043
0x26087fc5...b386EF6f4
0.27 ETH
179651432023-08-21 19:19:47318 days ago1692645587
0x26087fc5...b386EF6f4
0.54 ETH
179648682023-08-21 18:24:47318 days ago1692642287
0x26087fc5...b386EF6f4
0.27 ETH
179647972023-08-21 18:10:35318 days ago1692641435
0x26087fc5...b386EF6f4
0.54 ETH
179647052023-08-21 17:51:59318 days ago1692640319
0x26087fc5...b386EF6f4
0.27 ETH
179641982023-08-21 16:10:11318 days ago1692634211
0x26087fc5...b386EF6f4
0.27 ETH
179627592023-08-21 11:18:11318 days ago1692616691
0x26087fc5...b386EF6f4
0.27 ETH
179622102023-08-21 9:27:59319 days ago1692610079
0x26087fc5...b386EF6f4
0.27 ETH
179622072023-08-21 9:27:11319 days ago1692610031
0x26087fc5...b386EF6f4
0.27 ETH
179622032023-08-21 9:26:23319 days ago1692609983
0x26087fc5...b386EF6f4
0.27 ETH
179620032023-08-21 8:46:23319 days ago1692607583
0x26087fc5...b386EF6f4
0.54 ETH
179593072023-08-20 23:42:47319 days ago1692574967
0x26087fc5...b386EF6f4
0.54 ETH
179592492023-08-20 23:31:11319 days ago1692574271
0x26087fc5...b386EF6f4
0.54 ETH
179587212023-08-20 21:44:59319 days ago1692567899
0x26087fc5...b386EF6f4
0.27 ETH
179586862023-08-20 21:37:47319 days ago1692567467
0x26087fc5...b386EF6f4
0.27 ETH
179579262023-08-20 19:04:59319 days ago1692558299
0x26087fc5...b386EF6f4
0.54 ETH
179576752023-08-20 18:14:47319 days ago1692555287
0x26087fc5...b386EF6f4
0.81 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UnchartedMarketplace

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-07-22
*/

// 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 (last updated v4.9.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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


// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

// 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/token/ERC1155/IERC1155.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] calldata accounts,
        uint256[] calldata ids
    ) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// 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/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;


/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;







/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    ) public view virtual override returns (uint256[] memory) {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address from, uint256 id, uint256 amount) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)

pragma solidity ^0.8.0;



/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }
}

// File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)

pragma solidity ^0.8.0;


/**
 * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
 *
 * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
 * stuck.
 *
 * @dev _Available since v3.1._
 */
contract ERC1155Holder is ERC1155Receiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

// File: chapter2_3.sol


pragma solidity 0.8.21;






interface IERC20_USDT {
    function transferFrom(address _from, address _to, uint _value) external;
}

contract UnchartedMarketplace is ERC1155, Ownable {
    uint8 private constant TYPE1 = 1;
    uint256 private constant MINT_AMOUNT = 5000;

    // For airdrop
    IERC20_USDT public usdtAddress;

    // These variable are used to display contract name in Metamask, Opensea and so on
    string public name;
    string public symbol;

    address payable public walletToSend; // The wallet where ETH from purchases should be sent

    IERC1155 public nftAddress;
    uint256 public nftId;
    uint256 public nftPriceInUsdc; // in wei
    uint256 public nftPriceInEth; // in wei
    // allowable smart contract NFT limit (for pre-sale and sale limitation)
    uint256 public allowableSCLimit = 0;
    uint256 public limitPerWallet = 0;

    event BuyInUsdcEvent(address indexed buyer, address indexed tokenAddress, uint256 indexed tokenId, uint256 amount);
    event BuyInEthEvent(address indexed buyer, address indexed tokenAddress, uint256 indexed tokenId, uint256 amount);
    event GiveAwayEvent(address indexed tokenAddress, address indexed recipient, uint256 indexed tokenId, uint256 amount);
    event PriceUsdcChangedEvent(uint256 indexed price);
    event PriceEthChangedEvent(uint256 indexed price);
    event UsdcAddressChangedEvent(address indexed usdcAddress);
    event WalletToSendAddressChangedEvent(address indexed newAddress);
    event AllowableSCLimitChangedEvent(uint256 indexed amount);
    event NftAddressChangedEvent(address indexed _address);
    event NftHolderChangedEvent(address indexed _address);
    event NftIdChangedEvent(uint256 indexed _tokenId);
    event LimitPerWalletChangedEvent(uint256 indexed amount);

    constructor(
        address payable _walletToSend,
        uint256 _nftPriceInUsdc,
        uint256 _nftPriceInEth,
        string memory _uri, 
        string memory _name, 
        string memory _symbol        
    ) ERC1155(_uri) {
        _mint(address(this), TYPE1, MINT_AMOUNT, "");
        walletToSend = _walletToSend;
        usdtAddress = IERC20_USDT(0xdAC17F958D2ee523a2206206994597C13D831ec7);
        nftAddress = IERC1155(this);
        nftId = TYPE1;
        nftPriceInUsdc = _nftPriceInUsdc;
        nftPriceInEth = _nftPriceInEth;
        name = _name;
        symbol = _symbol;
    }

    function setNftId(uint256 _nftId) public onlyOwner {
        nftId = _nftId;

        emit NftIdChangedEvent(_nftId);
    }

    function setNftInEthPrice(uint256 price) public onlyOwner {
        nftPriceInEth = price;

        emit PriceEthChangedEvent(price);
    }

    function setNftInUsdcPrice(uint256 price) public onlyOwner {
        nftPriceInUsdc = price;

        emit PriceUsdcChangedEvent(price);
    }

    function setNftAddress(address _address) public onlyOwner {
        nftAddress = IERC1155(_address);

        emit NftAddressChangedEvent(_address);
    }

    function setAllowableSCLimit(uint256 amount) public onlyOwner {
        allowableSCLimit = amount;

        emit AllowableSCLimitChangedEvent(amount);
    }

    function setWalletToSend(address payable newAddress) external onlyOwner {
        require(newAddress != address(0x0), "Invalid address");
        walletToSend = newAddress;

        emit WalletToSendAddressChangedEvent(newAddress);
    }

    function setLimitPerWallet(uint256 amount) external onlyOwner {
        limitPerWallet = amount;

        emit LimitPerWalletChangedEvent(amount);
    }

    function buyInUsdc(uint256 amount, uint256 price) external {
        require(nftPriceInEth > 0, "Not for sale yet");
        require(amount * nftPriceInUsdc == price, "Price mismatch");
        require(nftAddress.balanceOf(address(this), nftId) >= amount, "There is no such amount of nfts");
        require(
            nftAddress.balanceOf(address(this), nftId) - amount >= allowableSCLimit,
            "Limit reached"
        );
        if (limitPerWallet > 0) {
            require(
                nftAddress.balanceOf(msg.sender, nftId) + amount <= limitPerWallet,
                "Limit per wallet reached"
            );
        }

        usdtAddress.transferFrom(msg.sender, walletToSend, price);
        nftAddress.safeTransferFrom(address(this), msg.sender, nftId, amount, "0x0");

        emit BuyInUsdcEvent(msg.sender, address(nftAddress), nftId, amount);
    }

    function buyInEth(uint256 amount) external payable {
        require(nftPriceInEth > 0, "Not for sale yet");
        require(amount * nftPriceInEth == msg.value, "Price mismatch");
        require(nftAddress.balanceOf(address(this), nftId) >= amount, "There is no such amount of nfts");
        require(
            nftAddress.balanceOf(address(this), nftId) - amount >= allowableSCLimit,
            "Limit reached"
        );
        if (limitPerWallet > 0) {
            require(
                nftAddress.balanceOf(msg.sender, nftId) + amount <= limitPerWallet,
                "Limit per wallet reached"
            );
        }

        walletToSend.transfer(msg.value);
        nftAddress.safeTransferFrom(address(this), msg.sender, nftId, amount, "0x0");

        emit BuyInEthEvent(msg.sender, address(nftAddress), nftId, amount);
    }

    function giveAway(address recipient, uint256 amount) external onlyOwner {
        nftAddress.safeTransferFrom(address(this), recipient, nftId, amount, "GiveAway");

        emit GiveAwayEvent(address(nftAddress), recipient, nftId, amount);
    }

    function giveAwayBatch(address[] memory recipients, uint256[] memory amount) external onlyOwner {
        require(recipients.length == amount.length, "Recipient and amount arrays mismatch");
        uint sum = 0;
        for (uint i = 0; i < recipients.length; i++) {
            require(recipients[i] != address(0), "Recipient should not have 0x0 address");
            sum += amount[i];
        }
        require(nftAddress.balanceOf(msg.sender, nftId) >= sum, "Insufficient amount of tokens");

        for (uint i = 0; i < recipients.length; i++) {
            nftAddress.safeTransferFrom(address(this), recipients[i], nftId, amount[i], "GiveAway");
            emit GiveAwayEvent(address(nftAddress), recipients[i], nftId, amount[i]);
        }
    }

    // If a user sends other tokens to this smart contract, the owner can transfer it to himself.
    function withdrawToken(address _tokenContract, address _recipient, uint256 _amount) external onlyOwner {
        IERC20 tokenContract = IERC20(_tokenContract);

        // transfer the token from address of this contract
        // to address of the user (executing the withdrawToken() function)
        tokenContract.transfer(_recipient, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_walletToSend","type":"address"},{"internalType":"uint256","name":"_nftPriceInUsdc","type":"uint256"},{"internalType":"uint256","name":"_nftPriceInEth","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AllowableSCLimitChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"buyer","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyInEthEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyInUsdcEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"GiveAwayEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LimitPerWalletChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"NftAddressChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"NftHolderChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"NftIdChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceEthChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceUsdcChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"usdcAddress","type":"address"}],"name":"UsdcAddressChangedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"WalletToSendAddressChangedEvent","type":"event"},{"inputs":[],"name":"allowableSCLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyInEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"buyInUsdc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"giveAwayBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPriceInEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPriceInUsdc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setAllowableSCLimit","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":"uint256","name":"amount","type":"uint256"}],"name":"setLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setNftAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftId","type":"uint256"}],"name":"setNftId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setNftInEthPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setNftInUsdcPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"}],"name":"setWalletToSend","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdtAddress","outputs":[{"internalType":"contract IERC20_USDT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletToSend","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040525f600c555f600d5534801562000018575f80fd5b5060405162003236380380620032368339810160408190526200003b9162000562565b826200004781620000fb565b5062000053336200010d565b6200007b30600160ff1661138860405180602001604052805f8152506200015e60201b60201c565b600780546001600160a01b0388166001600160a01b03199182161790915560048054821673dac17f958d2ee523a2206206994597c13d831ec717905560088054909116301790556001600955600a859055600b8490556005620000df8382620006a7565b506006620000ee8282620006a7565b5050505050505062000908565b6002620001098282620006a7565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416620001c45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b335f620001d1856200027b565b90505f620001df856200027b565b90505f868152602081815260408083206001600160a01b038b16845290915281208054879290620002129084906200076f565b909155505060408051878152602081018790526001600160a01b03808a16925f92918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a462000272835f89898989620002cf565b50505050505050565b6040805160018082528183019092526060915f91906020808301908036833701905050905082815f81518110620002b657620002b662000795565b602090810291909101015292915050565b505050505050565b6001600160a01b0384163b15620002c75760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190620003169089908990889088908890600401620007d6565b6020604051808303815f875af192505050801562000353575060408051601f3d908101601f1916820190925262000350918101906200081c565b60015b6200041357620003626200084c565b806308c379a003620003a257506200037962000866565b80620003865750620003a4565b8060405162461bcd60e51b8152600401620001bb9190620008f4565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401620001bb565b6001600160e01b0319811663f23a6e6160e01b14620002725760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401620001bb565b634e487b7160e01b5f52604160045260245ffd5b601f8201601f191681016001600160401b0381118282101715620004c257620004c262000486565b6040525050565b5f5b83811015620004e5578181015183820152602001620004cb565b50505f910152565b5f82601f830112620004fd575f80fd5b81516001600160401b0381111562000519576200051962000486565b60405162000532601f8301601f1916602001826200049a565b81815284602083860101111562000547575f80fd5b6200055a826020830160208701620004c9565b949350505050565b5f805f805f8060c0878903121562000578575f80fd5b86516001600160a01b03811681146200058f575f80fd5b6020880151604089015160608a015192985090965094506001600160401b0380821115620005bb575f80fd5b620005c98a838b01620004ed565b94506080890151915080821115620005df575f80fd5b620005ed8a838b01620004ed565b935060a089015191508082111562000603575f80fd5b506200061289828a01620004ed565b9150509295509295509295565b600181811c908216806200063457607f821691505b6020821081036200065357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620006a2575f81815260208120601f850160051c81016020861015620006815750805b601f850160051c820191505b81811015620002c7578281556001016200068d565b505050565b81516001600160401b03811115620006c357620006c362000486565b620006db81620006d484546200061f565b8462000659565b602080601f83116001811462000711575f8415620006f95750858301515b5f19600386901b1c1916600185901b178555620002c7565b5f85815260208120601f198616915b82811015620007415788860151825594840194600190910190840162000720565b50858210156200075f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200078f57634e487b7160e01b5f52601160045260245ffd5b92915050565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452620007c2816020860160208601620004c9565b601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f906200081190830184620007a9565b979650505050505050565b5f602082840312156200082d575f80fd5b81516001600160e01b03198116811462000845575f80fd5b9392505050565b5f60033d1115620008635760045f803e505f5160e01c5b90565b5f60443d1015620008745790565b6040516003193d81016004833e81513d6001600160401b038083116024840183101715620008a457505050505090565b8285019150815181811115620008bd5750505050505090565b843d8701016020828501011115620008d85750505050505090565b620008e9602082860101876200049a565b509095945050505050565b602081525f620008456020830184620007a9565b61292080620009165f395ff3fe6080604052600436106101e5575f3560e01c8063762385bd11610108578063a620ce5a1161009d578063d6b3b9341161006d578063d6b3b9341461054f578063e985e9c514610562578063f242432a146105a9578063f2fde38b146105c8578063f9b51d64146105e7575f80fd5b8063a620ce5a146104e7578063c6bc5182146104fc578063c92059ef14610511578063ca80014414610530575f80fd5b806395d89b41116100d857806395d89b4114610476578063996758621461048a5780639ab4a445146104a9578063a22cb465146104c8575f80fd5b8063762385bd146104065780637a04a32b1461041b57806380e709d91461043a5780638da5cb5b14610459575f80fd5b80632eb2c2d61161017e5780635bf8633a1161014e5780635bf8633a1461038757806361d2cc8f146103be57806363c766b9146103d3578063715018a6146103f2575f80fd5b80632eb2c2d6146102fe5780634e1273f41461031d57806350a43d3314610349578063593f2be114610368575f80fd5b806306fdde03116101b957806306fdde031461028a5780630b102d1a146102ab5780630e89341c146102ca5780631b82a925146102e9575f80fd5b8062fdd58e146101e957806301e336671461021b57806301ffc9a71461023c57806305cf67151461026b575b5f80fd5b3480156101f4575f80fd5b50610208610203366004611fb1565b610606565b6040519081526020015b60405180910390f35b348015610226575f80fd5b5061023a610235366004611fdb565b61069d565b005b348015610247575f80fd5b5061025b61025636600461202e565b61071f565b6040519015158152602001610212565b348015610276575f80fd5b5061023a610285366004612050565b61076e565b348015610295575f80fd5b5061029e6107a8565b60405161021291906120aa565b3480156102b6575f80fd5b5061023a6102c53660046120bc565b610834565b3480156102d5575f80fd5b5061029e6102e4366004612050565b610885565b3480156102f4575f80fd5b50610208600c5481565b348015610309575f80fd5b5061023a610318366004612219565b610917565b348015610328575f80fd5b5061033c6103373660046122c0565b61095c565b60405161021291906123c0565b348015610354575f80fd5b5061023a610363366004612050565b610a84565b348015610373575f80fd5b5061023a6103823660046123d2565b610abe565b348015610392575f80fd5b506008546103a6906001600160a01b031681565b6040516001600160a01b039091168152602001610212565b3480156103c9575f80fd5b50610208600b5481565b3480156103de575f80fd5b5061023a6103ed366004612050565b610eba565b3480156103fd575f80fd5b5061023a610ef4565b348015610411575f80fd5b50610208600a5481565b348015610426575f80fd5b5061023a6104353660046122c0565b610f07565b348015610445575f80fd5b5061023a610454366004612050565b611250565b348015610464575f80fd5b506003546001600160a01b03166103a6565b348015610481575f80fd5b5061029e61128a565b348015610495575f80fd5b506007546103a6906001600160a01b031681565b3480156104b4575f80fd5b506004546103a6906001600160a01b031681565b3480156104d3575f80fd5b5061023a6104e23660046123ff565b611297565b3480156104f2575f80fd5b50610208600d5481565b348015610507575f80fd5b5061020860095481565b34801561051c575f80fd5b5061023a61052b3660046120bc565b6112a6565b34801561053b575f80fd5b5061023a61054a366004611fb1565b61133f565b61023a61055d366004612050565b6113f1565b34801561056d575f80fd5b5061025b61057c366004612436565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205460ff1690565b3480156105b4575f80fd5b5061023a6105c3366004612462565b6117b7565b3480156105d3575f80fd5b5061023a6105e23660046120bc565b6117fc565b3480156105f2575f80fd5b5061023a610601366004612050565b611875565b5f6001600160a01b0383166106755760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b505f818152602081815260408083206001600160a01b03861684529091529020545b92915050565b6106a56118af565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284919082169063a9059cbb906044016020604051808303815f875af11580156106f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071891906124c6565b5050505050565b5f6001600160e01b03198216636cdb3d1360e11b148061074f57506001600160e01b031982166303a24d0760e21b145b8061069757506301ffc9a760e01b6001600160e01b0319831614610697565b6107766118af565b600c81905560405181907f909bfd1af868858f3ffdc0a30faebd35d07c09b1b42e65c12d963362a6537945905f90a250565b600580546107b5906124e1565b80601f01602080910402602001604051908101604052809291908181526020018280546107e1906124e1565b801561082c5780601f106108035761010080835404028352916020019161082c565b820191905f5260205f20905b81548152906001019060200180831161080f57829003601f168201915b505050505081565b61083c6118af565b600880546001600160a01b0319166001600160a01b0383169081179091556040517f8f78f5c4cac87ed78af07f994892171abfa315838a4903fa0eee94dab982c310905f90a250565b606060028054610894906124e1565b80601f01602080910402602001604051908101604052809291908181526020018280546108c0906124e1565b801561090b5780601f106108e25761010080835404028352916020019161090b565b820191905f5260205f20905b8154815290600101906020018083116108ee57829003601f168201915b50505050509050919050565b6001600160a01b0385163314806109335750610933853361057c565b61094f5760405162461bcd60e51b815260040161066c90612519565b6107188585858585611909565b606081518351146109c15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161066c565b5f835167ffffffffffffffff8111156109dc576109dc6120d7565b604051908082528060200260200182016040528015610a05578160200160208202803683370190505b5090505f5b8451811015610a7c57610a4f858281518110610a2857610a28612567565b6020026020010151858381518110610a4257610a42612567565b6020026020010151610606565b828281518110610a6157610a61612567565b6020908102919091010152610a758161258f565b9050610a0a565b509392505050565b610a8c6118af565b600b81905560405181907f36e094928f98f8cec60b3d624636487f98cc8bd746f1e11eb74b0479ee75190a905f90a250565b5f600b5411610b025760405162461bcd60e51b815260206004820152601060248201526f139bdd08199bdc881cd85b19481e595d60821b604482015260640161066c565b80600a5483610b1191906125a7565b14610b4f5760405162461bcd60e51b815260206004820152600e60248201526d0a0e4d2c6ca40dad2e6dac2e8c6d60931b604482015260640161066c565b600854600954604051627eeac760e11b8152306004820152602481019190915283916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610b9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc291906125be565b1015610c105760405162461bcd60e51b815260206004820152601f60248201527f5468657265206973206e6f207375636820616d6f756e74206f66206e66747300604482015260640161066c565b600c54600854600954604051627eeac760e11b8152306004820152602481019190915284916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610c62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8691906125be565b610c9091906125d5565b1015610cce5760405162461bcd60e51b815260206004820152600d60248201526c131a5b5a5d081c995858da1959609a1b604482015260640161066c565b600d5415610d9f57600d54600854600954604051627eeac760e11b8152336004820152602481019190915284916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4c91906125be565b610d5691906125e8565b1115610d9f5760405162461bcd60e51b8152602060048201526018602482015277131a5b5a5d081c195c881dd85b1b195d081c995858da195960421b604482015260640161066c565b600480546007546040516323b872dd60e01b815233938101939093526001600160a01b0390811660248401526044830184905216906323b872dd906064015f604051808303815f87803b158015610df4575f80fd5b505af1158015610e06573d5f803e3d5ffd5b5050600854600954604051637921219560e11b81526001600160a01b03909216935063f242432a9250610e41913091339188906004016125fb565b5f604051808303815f87803b158015610e58575f80fd5b505af1158015610e6a573d5f803e3d5ffd5b50506009546008546040518681529193506001600160a01b0316915033907f8ac82b892f5a7a1077d49a06156185dc5f0660f45cf72a2dc31419c05f160bb6906020015b60405180910390a45050565b610ec26118af565b600d81905560405181907f8df92967b8af7b122cdd61e9ba879e7e6896e7a7f3243e53062d51a4f5968a53905f90a250565b610efc6118af565b610f055f611ae1565b565b610f0f6118af565b8051825114610f6c5760405162461bcd60e51b8152602060048201526024808201527f526563697069656e7420616e6420616d6f756e7420617272617973206d69736d6044820152630c2e8c6d60e31b606482015260840161066c565b5f805b8351811015611039575f6001600160a01b0316848281518110610f9457610f94612567565b60200260200101516001600160a01b0316036110005760405162461bcd60e51b815260206004820152602560248201527f526563697069656e742073686f756c64206e6f74206861766520307830206164604482015264647265737360d81b606482015260840161066c565b82818151811061101257611012612567565b60200260200101518261102591906125e8565b9150806110318161258f565b915050610f6f565b50600854600954604051627eeac760e11b8152336004820152602481019190915282916001600160a01b03169062fdd58e90604401602060405180830381865afa158015611089573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ad91906125be565b10156110fb5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420616d6f756e74206f6620746f6b656e73000000604482015260640161066c565b5f5b835181101561124a5760085484516001600160a01b039091169063f242432a90309087908590811061113157611131612567565b602002602001015160095487868151811061114e5761114e612567565b60200260200101516040518563ffffffff1660e01b8152600401611175949392919061263f565b5f604051808303815f87803b15801561118c575f80fd5b505af115801561119e573d5f803e3d5ffd5b505050506009548482815181106111b7576111b7612567565b60200260200101516001600160a01b031660085f9054906101000a90046001600160a01b03166001600160a01b03167f6471fc0ecea71a6d8f27f057d247518b49800882874ede8f8f3708d4549f3d7d86858151811061121957611219612567565b602002602001015160405161123091815260200190565b60405180910390a4806112428161258f565b9150506110fd565b50505050565b6112586118af565b600981905560405181907f1a564230c85432e6e10ca9a0baad0cb4271cf8f3739123315dd596d2733ea92b905f90a250565b600680546107b5906124e1565b6112a2338383611b32565b5050565b6112ae6118af565b6001600160a01b0381166112f65760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161066c565b600780546001600160a01b0319166001600160a01b0383169081179091556040517fec110daf3a677eeaaa88ee47fc5f448169c5d572c7120a743a3a22f8c8621911905f90a250565b6113476118af565b600854600954604051637921219560e11b81526001600160a01b039092169163f242432a9161137e9130918791879060040161263f565b5f604051808303815f87803b158015611395575f80fd5b505af11580156113a7573d5f803e3d5ffd5b50506009546008546040518581529193506001600160a01b03868116935016907f6471fc0ecea71a6d8f27f057d247518b49800882874ede8f8f3708d4549f3d7d90602001610eae565b5f600b54116114355760405162461bcd60e51b815260206004820152601060248201526f139bdd08199bdc881cd85b19481e595d60821b604482015260640161066c565b34600b548261144491906125a7565b146114825760405162461bcd60e51b815260206004820152600e60248201526d0a0e4d2c6ca40dad2e6dac2e8c6d60931b604482015260640161066c565b600854600954604051627eeac760e11b8152306004820152602481019190915282916001600160a01b03169062fdd58e90604401602060405180830381865afa1580156114d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f591906125be565b10156115435760405162461bcd60e51b815260206004820152601f60248201527f5468657265206973206e6f207375636820616d6f756e74206f66206e66747300604482015260640161066c565b600c54600854600954604051627eeac760e11b8152306004820152602481019190915283916001600160a01b03169062fdd58e90604401602060405180830381865afa158015611595573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b991906125be565b6115c391906125d5565b10156116015760405162461bcd60e51b815260206004820152600d60248201526c131a5b5a5d081c995858da1959609a1b604482015260640161066c565b600d54156116d257600d54600854600954604051627eeac760e11b8152336004820152602481019190915283916001600160a01b03169062fdd58e90604401602060405180830381865afa15801561165b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167f91906125be565b61168991906125e8565b11156116d25760405162461bcd60e51b8152602060048201526018602482015277131a5b5a5d081c195c881dd85b1b195d081c995858da195960421b604482015260640161066c565b6007546040516001600160a01b03909116903480156108fc02915f818181858888f19350505050158015611708573d5f803e3d5ffd5b50600854600954604051637921219560e11b81526001600160a01b039092169163f242432a91611740913091339187906004016125fb565b5f604051808303815f87803b158015611757575f80fd5b505af1158015611769573d5f803e3d5ffd5b50506009546008546040518581529193506001600160a01b0316915033907fb44a08b3844883d6c46eb9f595eaf6f55624789a28632ae2608c463373ec96f09060200160405180910390a450565b6001600160a01b0385163314806117d357506117d3853361057c565b6117ef5760405162461bcd60e51b815260040161066c90612519565b6107188585858585611c11565b6118046118af565b6001600160a01b0381166118695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066c565b61187281611ae1565b50565b61187d6118af565b600a81905560405181907f187faa28b1fcec706d0856e694c2ea0af55b18be163df50c6996c27b3ef2c34c905f90a250565b6003546001600160a01b03163314610f055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066c565b815183511461196b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161066c565b6001600160a01b0384166119915760405162461bcd60e51b815260040161066c90612688565b335f5b8451811015611a73575f8582815181106119b0576119b0612567565b602002602001015190505f8583815181106119cd576119cd612567565b6020908102919091018101515f84815280835260408082206001600160a01b038e168352909352919091205490915081811015611a1c5760405162461bcd60e51b815260040161066c906126cd565b5f838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611a589084906125e8565b9250508190555050505080611a6c9061258f565b9050611994565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ac3929190612717565b60405180910390a4611ad9818787878787611d37565b505050505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b816001600160a01b0316836001600160a01b031603611ba55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161066c565b6001600160a01b038381165f81815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611c375760405162461bcd60e51b815260040161066c90612688565b335f611c4285611e9a565b90505f611c4e85611e9a565b90505f868152602081815260408083206001600160a01b038c16845290915290205485811015611c905760405162461bcd60e51b815260040161066c906126cd565b5f878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611ccc9084906125e8565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611d2c848a8a8a8a8a611ee3565b505050505050505050565b6001600160a01b0384163b15611ad95760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611d7b9089908990889088908890600401612744565b6020604051808303815f875af1925050508015611db5575060408051601f3d908101601f19168201909252611db2918101906127a1565b60015b611e6157611dc16127bc565b806308c379a003611dfa5750611dd56127d5565b80611de05750611dfc565b8060405162461bcd60e51b815260040161066c91906120aa565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161066c565b6001600160e01b0319811663bc197c8160e01b14611e915760405162461bcd60e51b815260040161066c9061285e565b50505050505050565b6040805160018082528183019092526060915f91906020808301908036833701905050905082815f81518110611ed257611ed2612567565b602090810291909101015292915050565b6001600160a01b0384163b15611ad95760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f2790899089908890889088906004016128a6565b6020604051808303815f875af1925050508015611f61575060408051601f3d908101601f19168201909252611f5e918101906127a1565b60015b611f6d57611dc16127bc565b6001600160e01b0319811663f23a6e6160e01b14611e915760405162461bcd60e51b815260040161066c9061285e565b6001600160a01b0381168114611872575f80fd5b5f8060408385031215611fc2575f80fd5b8235611fcd81611f9d565b946020939093013593505050565b5f805f60608486031215611fed575f80fd5b8335611ff881611f9d565b9250602084013561200881611f9d565b929592945050506040919091013590565b6001600160e01b031981168114611872575f80fd5b5f6020828403121561203e575f80fd5b813561204981612019565b9392505050565b5f60208284031215612060575f80fd5b5035919050565b5f81518084525f5b8181101561208b5760208185018101518683018201520161206f565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6120496020830184612067565b5f602082840312156120cc575f80fd5b813561204981611f9d565b634e487b7160e01b5f52604160045260245ffd5b601f8201601f1916810167ffffffffffffffff81118282101715612111576121116120d7565b6040525050565b5f67ffffffffffffffff821115612131576121316120d7565b5060051b60200190565b5f82601f83011261214a575f80fd5b8135602061215782612118565b60405161216482826120eb565b83815260059390931b8501820192828101915086841115612183575f80fd5b8286015b8481101561219e5780358352918301918301612187565b509695505050505050565b5f82601f8301126121b8575f80fd5b813567ffffffffffffffff8111156121d2576121d26120d7565b6040516121e9601f8301601f1916602001826120eb565b8181528460208386010111156121fd575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a0868803121561222d575f80fd5b853561223881611f9d565b9450602086013561224881611f9d565b9350604086013567ffffffffffffffff80821115612264575f80fd5b61227089838a0161213b565b94506060880135915080821115612285575f80fd5b61229189838a0161213b565b935060808801359150808211156122a6575f80fd5b506122b3888289016121a9565b9150509295509295909350565b5f80604083850312156122d1575f80fd5b823567ffffffffffffffff808211156122e8575f80fd5b818501915085601f8301126122fb575f80fd5b8135602061230882612118565b60405161231582826120eb565b83815260059390931b8501820192828101915089841115612334575f80fd5b948201945b8386101561235b57853561234c81611f9d565b82529482019490820190612339565b96505086013592505080821115612370575f80fd5b5061237d8582860161213b565b9150509250929050565b5f8151808452602080850194508084015f5b838110156123b557815187529582019590820190600101612399565b509495945050505050565b602081525f6120496020830184612387565b5f80604083850312156123e3575f80fd5b50508035926020909101359150565b8015158114611872575f80fd5b5f8060408385031215612410575f80fd5b823561241b81611f9d565b9150602083013561242b816123f2565b809150509250929050565b5f8060408385031215612447575f80fd5b823561245281611f9d565b9150602083013561242b81611f9d565b5f805f805f60a08688031215612476575f80fd5b853561248181611f9d565b9450602086013561249181611f9d565b93506040860135925060608601359150608086013567ffffffffffffffff8111156124ba575f80fd5b6122b3888289016121a9565b5f602082840312156124d6575f80fd5b8151612049816123f2565b600181811c908216806124f557607f821691505b60208210810361251357634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f600182016125a0576125a061257b565b5060010190565b80820281158282048414176106975761069761257b565b5f602082840312156125ce575f80fd5b5051919050565b818103818111156106975761069761257b565b808201808211156106975761069761257b565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a0608082018190526003908201526203078360ec1b60c082015260e00190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260089082015267476976654177617960c01b60c082015260e00190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081525f6127296040830185612387565b828103602084015261273b8185612387565b95945050505050565b6001600160a01b0386811682528516602082015260a0604082018190525f9061276f90830186612387565b82810360608401526127818186612387565b905082810360808401526127958185612067565b98975050505050505050565b5f602082840312156127b1575f80fd5b815161204981612019565b5f60033d11156127d25760045f803e505f5160e01c5b90565b5f60443d10156127e25790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561281257505050505090565b828501915081518181111561282a5750505050505090565b843d87010160208285010111156128445750505050505090565b612853602082860101876120eb565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f906128df90830184612067565b97965050505050505056fea264697066735822122002fabbcf3c240ccc5355a14d5b254645ae319c505b22023f9571e19aabf9246c64736f6c63430008150033000000000000000000000000090f3caf118b3c429b2d259cc53e99bc01152726000000000000000000000000000000000000000000000000000000001dcd650000000000000000000000000000000000000000000000000003782dace9d9000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f746865756e636861727465642e73706163652f312f7b69647d2e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002854686520556e636861727465643a20436861707465722054776f3a204561676c65204e6562756c61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002854686520556e636861727465643a20436861707465722054776f3a204561676c65204e6562756c61000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e5575f3560e01c8063762385bd11610108578063a620ce5a1161009d578063d6b3b9341161006d578063d6b3b9341461054f578063e985e9c514610562578063f242432a146105a9578063f2fde38b146105c8578063f9b51d64146105e7575f80fd5b8063a620ce5a146104e7578063c6bc5182146104fc578063c92059ef14610511578063ca80014414610530575f80fd5b806395d89b41116100d857806395d89b4114610476578063996758621461048a5780639ab4a445146104a9578063a22cb465146104c8575f80fd5b8063762385bd146104065780637a04a32b1461041b57806380e709d91461043a5780638da5cb5b14610459575f80fd5b80632eb2c2d61161017e5780635bf8633a1161014e5780635bf8633a1461038757806361d2cc8f146103be57806363c766b9146103d3578063715018a6146103f2575f80fd5b80632eb2c2d6146102fe5780634e1273f41461031d57806350a43d3314610349578063593f2be114610368575f80fd5b806306fdde03116101b957806306fdde031461028a5780630b102d1a146102ab5780630e89341c146102ca5780631b82a925146102e9575f80fd5b8062fdd58e146101e957806301e336671461021b57806301ffc9a71461023c57806305cf67151461026b575b5f80fd5b3480156101f4575f80fd5b50610208610203366004611fb1565b610606565b6040519081526020015b60405180910390f35b348015610226575f80fd5b5061023a610235366004611fdb565b61069d565b005b348015610247575f80fd5b5061025b61025636600461202e565b61071f565b6040519015158152602001610212565b348015610276575f80fd5b5061023a610285366004612050565b61076e565b348015610295575f80fd5b5061029e6107a8565b60405161021291906120aa565b3480156102b6575f80fd5b5061023a6102c53660046120bc565b610834565b3480156102d5575f80fd5b5061029e6102e4366004612050565b610885565b3480156102f4575f80fd5b50610208600c5481565b348015610309575f80fd5b5061023a610318366004612219565b610917565b348015610328575f80fd5b5061033c6103373660046122c0565b61095c565b60405161021291906123c0565b348015610354575f80fd5b5061023a610363366004612050565b610a84565b348015610373575f80fd5b5061023a6103823660046123d2565b610abe565b348015610392575f80fd5b506008546103a6906001600160a01b031681565b6040516001600160a01b039091168152602001610212565b3480156103c9575f80fd5b50610208600b5481565b3480156103de575f80fd5b5061023a6103ed366004612050565b610eba565b3480156103fd575f80fd5b5061023a610ef4565b348015610411575f80fd5b50610208600a5481565b348015610426575f80fd5b5061023a6104353660046122c0565b610f07565b348015610445575f80fd5b5061023a610454366004612050565b611250565b348015610464575f80fd5b506003546001600160a01b03166103a6565b348015610481575f80fd5b5061029e61128a565b348015610495575f80fd5b506007546103a6906001600160a01b031681565b3480156104b4575f80fd5b506004546103a6906001600160a01b031681565b3480156104d3575f80fd5b5061023a6104e23660046123ff565b611297565b3480156104f2575f80fd5b50610208600d5481565b348015610507575f80fd5b5061020860095481565b34801561051c575f80fd5b5061023a61052b3660046120bc565b6112a6565b34801561053b575f80fd5b5061023a61054a366004611fb1565b61133f565b61023a61055d366004612050565b6113f1565b34801561056d575f80fd5b5061025b61057c366004612436565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205460ff1690565b3480156105b4575f80fd5b5061023a6105c3366004612462565b6117b7565b3480156105d3575f80fd5b5061023a6105e23660046120bc565b6117fc565b3480156105f2575f80fd5b5061023a610601366004612050565b611875565b5f6001600160a01b0383166106755760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b505f818152602081815260408083206001600160a01b03861684529091529020545b92915050565b6106a56118af565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284919082169063a9059cbb906044016020604051808303815f875af11580156106f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071891906124c6565b5050505050565b5f6001600160e01b03198216636cdb3d1360e11b148061074f57506001600160e01b031982166303a24d0760e21b145b8061069757506301ffc9a760e01b6001600160e01b0319831614610697565b6107766118af565b600c81905560405181907f909bfd1af868858f3ffdc0a30faebd35d07c09b1b42e65c12d963362a6537945905f90a250565b600580546107b5906124e1565b80601f01602080910402602001604051908101604052809291908181526020018280546107e1906124e1565b801561082c5780601f106108035761010080835404028352916020019161082c565b820191905f5260205f20905b81548152906001019060200180831161080f57829003601f168201915b505050505081565b61083c6118af565b600880546001600160a01b0319166001600160a01b0383169081179091556040517f8f78f5c4cac87ed78af07f994892171abfa315838a4903fa0eee94dab982c310905f90a250565b606060028054610894906124e1565b80601f01602080910402602001604051908101604052809291908181526020018280546108c0906124e1565b801561090b5780601f106108e25761010080835404028352916020019161090b565b820191905f5260205f20905b8154815290600101906020018083116108ee57829003601f168201915b50505050509050919050565b6001600160a01b0385163314806109335750610933853361057c565b61094f5760405162461bcd60e51b815260040161066c90612519565b6107188585858585611909565b606081518351146109c15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161066c565b5f835167ffffffffffffffff8111156109dc576109dc6120d7565b604051908082528060200260200182016040528015610a05578160200160208202803683370190505b5090505f5b8451811015610a7c57610a4f858281518110610a2857610a28612567565b6020026020010151858381518110610a4257610a42612567565b6020026020010151610606565b828281518110610a6157610a61612567565b6020908102919091010152610a758161258f565b9050610a0a565b509392505050565b610a8c6118af565b600b81905560405181907f36e094928f98f8cec60b3d624636487f98cc8bd746f1e11eb74b0479ee75190a905f90a250565b5f600b5411610b025760405162461bcd60e51b815260206004820152601060248201526f139bdd08199bdc881cd85b19481e595d60821b604482015260640161066c565b80600a5483610b1191906125a7565b14610b4f5760405162461bcd60e51b815260206004820152600e60248201526d0a0e4d2c6ca40dad2e6dac2e8c6d60931b604482015260640161066c565b600854600954604051627eeac760e11b8152306004820152602481019190915283916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610b9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc291906125be565b1015610c105760405162461bcd60e51b815260206004820152601f60248201527f5468657265206973206e6f207375636820616d6f756e74206f66206e66747300604482015260640161066c565b600c54600854600954604051627eeac760e11b8152306004820152602481019190915284916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610c62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8691906125be565b610c9091906125d5565b1015610cce5760405162461bcd60e51b815260206004820152600d60248201526c131a5b5a5d081c995858da1959609a1b604482015260640161066c565b600d5415610d9f57600d54600854600954604051627eeac760e11b8152336004820152602481019190915284916001600160a01b03169062fdd58e90604401602060405180830381865afa158015610d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4c91906125be565b610d5691906125e8565b1115610d9f5760405162461bcd60e51b8152602060048201526018602482015277131a5b5a5d081c195c881dd85b1b195d081c995858da195960421b604482015260640161066c565b600480546007546040516323b872dd60e01b815233938101939093526001600160a01b0390811660248401526044830184905216906323b872dd906064015f604051808303815f87803b158015610df4575f80fd5b505af1158015610e06573d5f803e3d5ffd5b5050600854600954604051637921219560e11b81526001600160a01b03909216935063f242432a9250610e41913091339188906004016125fb565b5f604051808303815f87803b158015610e58575f80fd5b505af1158015610e6a573d5f803e3d5ffd5b50506009546008546040518681529193506001600160a01b0316915033907f8ac82b892f5a7a1077d49a06156185dc5f0660f45cf72a2dc31419c05f160bb6906020015b60405180910390a45050565b610ec26118af565b600d81905560405181907f8df92967b8af7b122cdd61e9ba879e7e6896e7a7f3243e53062d51a4f5968a53905f90a250565b610efc6118af565b610f055f611ae1565b565b610f0f6118af565b8051825114610f6c5760405162461bcd60e51b8152602060048201526024808201527f526563697069656e7420616e6420616d6f756e7420617272617973206d69736d6044820152630c2e8c6d60e31b606482015260840161066c565b5f805b8351811015611039575f6001600160a01b0316848281518110610f9457610f94612567565b60200260200101516001600160a01b0316036110005760405162461bcd60e51b815260206004820152602560248201527f526563697069656e742073686f756c64206e6f74206861766520307830206164604482015264647265737360d81b606482015260840161066c565b82818151811061101257611012612567565b60200260200101518261102591906125e8565b9150806110318161258f565b915050610f6f565b50600854600954604051627eeac760e11b8152336004820152602481019190915282916001600160a01b03169062fdd58e90604401602060405180830381865afa158015611089573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ad91906125be565b10156110fb5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420616d6f756e74206f6620746f6b656e73000000604482015260640161066c565b5f5b835181101561124a5760085484516001600160a01b039091169063f242432a90309087908590811061113157611131612567565b602002602001015160095487868151811061114e5761114e612567565b60200260200101516040518563ffffffff1660e01b8152600401611175949392919061263f565b5f604051808303815f87803b15801561118c575f80fd5b505af115801561119e573d5f803e3d5ffd5b505050506009548482815181106111b7576111b7612567565b60200260200101516001600160a01b031660085f9054906101000a90046001600160a01b03166001600160a01b03167f6471fc0ecea71a6d8f27f057d247518b49800882874ede8f8f3708d4549f3d7d86858151811061121957611219612567565b602002602001015160405161123091815260200190565b60405180910390a4806112428161258f565b9150506110fd565b50505050565b6112586118af565b600981905560405181907f1a564230c85432e6e10ca9a0baad0cb4271cf8f3739123315dd596d2733ea92b905f90a250565b600680546107b5906124e1565b6112a2338383611b32565b5050565b6112ae6118af565b6001600160a01b0381166112f65760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161066c565b600780546001600160a01b0319166001600160a01b0383169081179091556040517fec110daf3a677eeaaa88ee47fc5f448169c5d572c7120a743a3a22f8c8621911905f90a250565b6113476118af565b600854600954604051637921219560e11b81526001600160a01b039092169163f242432a9161137e9130918791879060040161263f565b5f604051808303815f87803b158015611395575f80fd5b505af11580156113a7573d5f803e3d5ffd5b50506009546008546040518581529193506001600160a01b03868116935016907f6471fc0ecea71a6d8f27f057d247518b49800882874ede8f8f3708d4549f3d7d90602001610eae565b5f600b54116114355760405162461bcd60e51b815260206004820152601060248201526f139bdd08199bdc881cd85b19481e595d60821b604482015260640161066c565b34600b548261144491906125a7565b146114825760405162461bcd60e51b815260206004820152600e60248201526d0a0e4d2c6ca40dad2e6dac2e8c6d60931b604482015260640161066c565b600854600954604051627eeac760e11b8152306004820152602481019190915282916001600160a01b03169062fdd58e90604401602060405180830381865afa1580156114d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f591906125be565b10156115435760405162461bcd60e51b815260206004820152601f60248201527f5468657265206973206e6f207375636820616d6f756e74206f66206e66747300604482015260640161066c565b600c54600854600954604051627eeac760e11b8152306004820152602481019190915283916001600160a01b03169062fdd58e90604401602060405180830381865afa158015611595573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b991906125be565b6115c391906125d5565b10156116015760405162461bcd60e51b815260206004820152600d60248201526c131a5b5a5d081c995858da1959609a1b604482015260640161066c565b600d54156116d257600d54600854600954604051627eeac760e11b8152336004820152602481019190915283916001600160a01b03169062fdd58e90604401602060405180830381865afa15801561165b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167f91906125be565b61168991906125e8565b11156116d25760405162461bcd60e51b8152602060048201526018602482015277131a5b5a5d081c195c881dd85b1b195d081c995858da195960421b604482015260640161066c565b6007546040516001600160a01b03909116903480156108fc02915f818181858888f19350505050158015611708573d5f803e3d5ffd5b50600854600954604051637921219560e11b81526001600160a01b039092169163f242432a91611740913091339187906004016125fb565b5f604051808303815f87803b158015611757575f80fd5b505af1158015611769573d5f803e3d5ffd5b50506009546008546040518581529193506001600160a01b0316915033907fb44a08b3844883d6c46eb9f595eaf6f55624789a28632ae2608c463373ec96f09060200160405180910390a450565b6001600160a01b0385163314806117d357506117d3853361057c565b6117ef5760405162461bcd60e51b815260040161066c90612519565b6107188585858585611c11565b6118046118af565b6001600160a01b0381166118695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066c565b61187281611ae1565b50565b61187d6118af565b600a81905560405181907f187faa28b1fcec706d0856e694c2ea0af55b18be163df50c6996c27b3ef2c34c905f90a250565b6003546001600160a01b03163314610f055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066c565b815183511461196b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161066c565b6001600160a01b0384166119915760405162461bcd60e51b815260040161066c90612688565b335f5b8451811015611a73575f8582815181106119b0576119b0612567565b602002602001015190505f8583815181106119cd576119cd612567565b6020908102919091018101515f84815280835260408082206001600160a01b038e168352909352919091205490915081811015611a1c5760405162461bcd60e51b815260040161066c906126cd565b5f838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611a589084906125e8565b9250508190555050505080611a6c9061258f565b9050611994565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ac3929190612717565b60405180910390a4611ad9818787878787611d37565b505050505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b816001600160a01b0316836001600160a01b031603611ba55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161066c565b6001600160a01b038381165f81815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611c375760405162461bcd60e51b815260040161066c90612688565b335f611c4285611e9a565b90505f611c4e85611e9a565b90505f868152602081815260408083206001600160a01b038c16845290915290205485811015611c905760405162461bcd60e51b815260040161066c906126cd565b5f878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611ccc9084906125e8565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611d2c848a8a8a8a8a611ee3565b505050505050505050565b6001600160a01b0384163b15611ad95760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611d7b9089908990889088908890600401612744565b6020604051808303815f875af1925050508015611db5575060408051601f3d908101601f19168201909252611db2918101906127a1565b60015b611e6157611dc16127bc565b806308c379a003611dfa5750611dd56127d5565b80611de05750611dfc565b8060405162461bcd60e51b815260040161066c91906120aa565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161066c565b6001600160e01b0319811663bc197c8160e01b14611e915760405162461bcd60e51b815260040161066c9061285e565b50505050505050565b6040805160018082528183019092526060915f91906020808301908036833701905050905082815f81518110611ed257611ed2612567565b602090810291909101015292915050565b6001600160a01b0384163b15611ad95760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f2790899089908890889088906004016128a6565b6020604051808303815f875af1925050508015611f61575060408051601f3d908101601f19168201909252611f5e918101906127a1565b60015b611f6d57611dc16127bc565b6001600160e01b0319811663f23a6e6160e01b14611e915760405162461bcd60e51b815260040161066c9061285e565b6001600160a01b0381168114611872575f80fd5b5f8060408385031215611fc2575f80fd5b8235611fcd81611f9d565b946020939093013593505050565b5f805f60608486031215611fed575f80fd5b8335611ff881611f9d565b9250602084013561200881611f9d565b929592945050506040919091013590565b6001600160e01b031981168114611872575f80fd5b5f6020828403121561203e575f80fd5b813561204981612019565b9392505050565b5f60208284031215612060575f80fd5b5035919050565b5f81518084525f5b8181101561208b5760208185018101518683018201520161206f565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6120496020830184612067565b5f602082840312156120cc575f80fd5b813561204981611f9d565b634e487b7160e01b5f52604160045260245ffd5b601f8201601f1916810167ffffffffffffffff81118282101715612111576121116120d7565b6040525050565b5f67ffffffffffffffff821115612131576121316120d7565b5060051b60200190565b5f82601f83011261214a575f80fd5b8135602061215782612118565b60405161216482826120eb565b83815260059390931b8501820192828101915086841115612183575f80fd5b8286015b8481101561219e5780358352918301918301612187565b509695505050505050565b5f82601f8301126121b8575f80fd5b813567ffffffffffffffff8111156121d2576121d26120d7565b6040516121e9601f8301601f1916602001826120eb565b8181528460208386010111156121fd575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a0868803121561222d575f80fd5b853561223881611f9d565b9450602086013561224881611f9d565b9350604086013567ffffffffffffffff80821115612264575f80fd5b61227089838a0161213b565b94506060880135915080821115612285575f80fd5b61229189838a0161213b565b935060808801359150808211156122a6575f80fd5b506122b3888289016121a9565b9150509295509295909350565b5f80604083850312156122d1575f80fd5b823567ffffffffffffffff808211156122e8575f80fd5b818501915085601f8301126122fb575f80fd5b8135602061230882612118565b60405161231582826120eb565b83815260059390931b8501820192828101915089841115612334575f80fd5b948201945b8386101561235b57853561234c81611f9d565b82529482019490820190612339565b96505086013592505080821115612370575f80fd5b5061237d8582860161213b565b9150509250929050565b5f8151808452602080850194508084015f5b838110156123b557815187529582019590820190600101612399565b509495945050505050565b602081525f6120496020830184612387565b5f80604083850312156123e3575f80fd5b50508035926020909101359150565b8015158114611872575f80fd5b5f8060408385031215612410575f80fd5b823561241b81611f9d565b9150602083013561242b816123f2565b809150509250929050565b5f8060408385031215612447575f80fd5b823561245281611f9d565b9150602083013561242b81611f9d565b5f805f805f60a08688031215612476575f80fd5b853561248181611f9d565b9450602086013561249181611f9d565b93506040860135925060608601359150608086013567ffffffffffffffff8111156124ba575f80fd5b6122b3888289016121a9565b5f602082840312156124d6575f80fd5b8151612049816123f2565b600181811c908216806124f557607f821691505b60208210810361251357634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f600182016125a0576125a061257b565b5060010190565b80820281158282048414176106975761069761257b565b5f602082840312156125ce575f80fd5b5051919050565b818103818111156106975761069761257b565b808201808211156106975761069761257b565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a0608082018190526003908201526203078360ec1b60c082015260e00190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260089082015267476976654177617960c01b60c082015260e00190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081525f6127296040830185612387565b828103602084015261273b8185612387565b95945050505050565b6001600160a01b0386811682528516602082015260a0604082018190525f9061276f90830186612387565b82810360608401526127818186612387565b905082810360808401526127958185612067565b98975050505050505050565b5f602082840312156127b1575f80fd5b815161204981612019565b5f60033d11156127d25760045f803e505f5160e01c5b90565b5f60443d10156127e25790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561281257505050505090565b828501915081518181111561282a5750505050505090565b843d87010160208285010111156128445750505050505090565b612853602082860101876120eb565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f906128df90830184612067565b97965050505050505056fea264697066735822122002fabbcf3c240ccc5355a14d5b254645ae319c505b22023f9571e19aabf9246c64736f6c63430008150033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000090f3caf118b3c429b2d259cc53e99bc01152726000000000000000000000000000000000000000000000000000000001dcd650000000000000000000000000000000000000000000000000003782dace9d9000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f746865756e636861727465642e73706163652f312f7b69647d2e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002854686520556e636861727465643a20436861707465722054776f3a204561676c65204e6562756c61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002854686520556e636861727465643a20436861707465722054776f3a204561676c65204e6562756c61000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _walletToSend (address): 0x090F3cAF118b3C429b2d259CC53E99bc01152726
Arg [1] : _nftPriceInUsdc (uint256): 500000000
Arg [2] : _nftPriceInEth (uint256): 250000000000000000
Arg [3] : _uri (string): https://theuncharted.space/1/{id}.json
Arg [4] : _name (string): The Uncharted: Chapter Two: Eagle Nebula
Arg [5] : _symbol (string): The Uncharted: Chapter Two: Eagle Nebula

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 000000000000000000000000090f3caf118b3c429b2d259cc53e99bc01152726
Arg [1] : 000000000000000000000000000000000000000000000000000000001dcd6500
Arg [2] : 00000000000000000000000000000000000000000000000003782dace9d90000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [7] : 68747470733a2f2f746865756e636861727465642e73706163652f312f7b6964
Arg [8] : 7d2e6a736f6e0000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [10] : 54686520556e636861727465643a20436861707465722054776f3a204561676c
Arg [11] : 65204e6562756c61000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [13] : 54686520556e636861727465643a20436861707465722054776f3a204561676c
Arg [14] : 65204e6562756c61000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

44632:6769:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27488:230;;;;;;;;;;-1:-1:-1;27488:230:0;;;;;:::i;:::-;;:::i;:::-;;;616:25:1;;;604:2;589:18;27488:230:0;;;;;;;;51038:360;;;;;;;;;;-1:-1:-1;51038:360:0;;;;;:::i;:::-;;:::i;:::-;;26511:310;;;;;;;;;;-1:-1:-1;26511:310:0;;;;;:::i;:::-;;:::i;:::-;;;1664:14:1;;1657:22;1639:41;;1627:2;1612:18;26511:310:0;1499:187:1;47547:160:0;;;;;;;;;;-1:-1:-1;47547:160:0;;;;;:::i;:::-;;:::i;44927:18::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47381:158::-;;;;;;;;;;-1:-1:-1;47381:158:0;;;;;:::i;:::-;;:::i;27232:105::-;;;;;;;;;;-1:-1:-1;27232:105:0;;;;;:::i;:::-;;:::i;45308:35::-;;;;;;;;;;;;;;;;29406:438;;;;;;;;;;-1:-1:-1;29406:438:0;;;;;:::i;:::-;;:::i;27884:499::-;;;;;;;;;;-1:-1:-1;27884:499:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;47076:143::-;;;;;;;;;;-1:-1:-1;47076:143:0;;;;;:::i;:::-;;:::i;48129:896::-;;;;;;;;;;-1:-1:-1;48129:896:0;;;;;:::i;:::-;;:::i;45079:26::-;;;;;;;;;;-1:-1:-1;45079:26:0;;;;-1:-1:-1;;;;;45079:26:0;;;;;;-1:-1:-1;;;;;8141:32:1;;;8123:51;;8111:2;8096:18;45079:26:0;7961:219:1;45185:28:0;;;;;;;;;;;;;;;;47965:156;;;;;;;;;;-1:-1:-1;47965:156:0;;;;;:::i;:::-;;:::i;2769:103::-;;;;;;;;;;;;;:::i;45139:29::-;;;;;;;;;;;;;;;;50163:768;;;;;;;;;;-1:-1:-1;50163:768:0;;;;;:::i;:::-;;:::i;46941:127::-;;;;;;;;;;-1:-1:-1;46941:127:0;;;;;:::i;:::-;;:::i;2128:87::-;;;;;;;;;;-1:-1:-1;2201:6:0;;-1:-1:-1;;;;;2201:6:0;2128:87;;44952:20;;;;;;;;;;;;;:::i;44981:35::-;;;;;;;;;;-1:-1:-1;44981:35:0;;;;-1:-1:-1;;;;;44981:35:0;;;44800:30;;;;;;;;;;-1:-1:-1;44800:30:0;;;;-1:-1:-1;;;;;44800:30:0;;;28456:155;;;;;;;;;;-1:-1:-1;28456:155:0;;;;;:::i;:::-;;:::i;45350:33::-;;;;;;;;;;;;;;;;45112:20;;;;;;;;;;;;;;;;47715:242;;;;;;;;;;-1:-1:-1;47715:242:0;;;;;:::i;:::-;;:::i;49906:249::-;;;;;;;;;;-1:-1:-1;49906:249:0;;;;;:::i;:::-;;:::i;49033:865::-;;;;;;:::i;:::-;;:::i;28683:168::-;;;;;;;;;;-1:-1:-1;28683:168:0;;;;;:::i;:::-;-1:-1:-1;;;;;28806:27:0;;;28782:4;28806:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;28683:168;28923:406;;;;;;;;;;-1:-1:-1;28923:406:0;;;;;:::i;:::-;;:::i;3027:201::-;;;;;;;;;;-1:-1:-1;3027:201:0;;;;;:::i;:::-;;:::i;47227:146::-;;;;;;;;;;-1:-1:-1;47227:146:0;;;;;:::i;:::-;;:::i;27488:230::-;27574:7;-1:-1:-1;;;;;27602:21:0;;27594:76;;;;-1:-1:-1;;;27594:76:0;;10949:2:1;27594:76:0;;;10931:21:1;10988:2;10968:18;;;10961:30;11027:34;11007:18;;;11000:62;-1:-1:-1;;;11078:18:1;;;11071:40;11128:19;;27594:76:0;;;;;;;;;-1:-1:-1;27688:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;27688:22:0;;;;;;;;;;27488:230;;;;;:::o;51038:360::-;2014:13;:11;:13::i;:::-;51347:43:::1;::::0;-1:-1:-1;;;51347:43:0;;-1:-1:-1;;;;;11350:32:1;;;51347:43:0::1;::::0;::::1;11332:51:1::0;11399:18;;;11392:34;;;51182:14:0;;51347:22;;::::1;::::0;::::1;::::0;11305:18:1;;51347:43:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51141:257;51038:360:::0;;;:::o;26511:310::-;26613:4;-1:-1:-1;;;;;;26650:41:0;;-1:-1:-1;;;26650:41:0;;:110;;-1:-1:-1;;;;;;;26708:52:0;;-1:-1:-1;;;26708:52:0;26650:110;:163;;;-1:-1:-1;;;;;;;;;;22811:40:0;;;26777:36;22702:157;47547:160;2014:13;:11;:13::i;:::-;47620:16:::1;:25:::0;;;47663:36:::1;::::0;47639:6;;47663:36:::1;::::0;;;::::1;47547:160:::0;:::o;44927:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47381:158::-;2014:13;:11;:13::i;:::-;47450:10:::1;:31:::0;;-1:-1:-1;;;;;;47450:31:0::1;-1:-1:-1::0;;;;;47450:31:0;::::1;::::0;;::::1;::::0;;;47499:32:::1;::::0;::::1;::::0;-1:-1:-1;;47499:32:0::1;47381:158:::0;:::o;27232:105::-;27292:13;27325:4;27318:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27232:105;;;:::o;29406:438::-;-1:-1:-1;;;;;29639:20:0;;759:10;29639:20;;:60;;-1:-1:-1;29663:36:0;29680:4;759:10;28683:168;:::i;29663:36::-;29617:156;;;;-1:-1:-1;;;29617:156:0;;;;;;;:::i;:::-;29784:52;29807:4;29813:2;29817:3;29822:7;29831:4;29784:22;:52::i;27884:499::-;28020:16;28076:3;:10;28057:8;:15;:29;28049:83;;;;-1:-1:-1;;;28049:83:0;;12689:2:1;28049:83:0;;;12671:21:1;12728:2;12708:18;;;12701:30;12767:34;12747:18;;;12740:62;-1:-1:-1;;;12818:18:1;;;12811:39;12867:19;;28049:83:0;12487:405:1;28049:83:0;28145:30;28192:8;:15;28178:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28178:30:0;;28145:63;;28226:9;28221:122;28245:8;:15;28241:1;:19;28221:122;;;28301:30;28311:8;28320:1;28311:11;;;;;;;;:::i;:::-;;;;;;;28324:3;28328:1;28324:6;;;;;;;;:::i;:::-;;;;;;;28301:9;:30::i;:::-;28282:13;28296:1;28282:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;28262:3;;;:::i;:::-;;;28221:122;;;-1:-1:-1;28362:13:0;27884:499;-1:-1:-1;;;27884:499:0:o;47076:143::-;2014:13;:11;:13::i;:::-;47145::::1;:21:::0;;;47184:27:::1;::::0;47161:5;;47184:27:::1;::::0;;;::::1;47076:143:::0;:::o;48129:896::-;48223:1;48207:13;;:17;48199:46;;;;-1:-1:-1;;;48199:46:0;;13503:2:1;48199:46:0;;;13485:21:1;13542:2;13522:18;;;13515:30;-1:-1:-1;;;13561:18:1;;;13554:46;13617:18;;48199:46:0;13301:340:1;48199:46:0;48291:5;48273:14;;48264:6;:23;;;;:::i;:::-;:32;48256:59;;;;-1:-1:-1;;;48256:59:0;;14021:2:1;48256:59:0;;;14003:21:1;14060:2;14040:18;;;14033:30;-1:-1:-1;;;14079:18:1;;;14072:44;14133:18;;48256:59:0;13819:338:1;48256:59:0;48334:10;;48370:5;;48334:42;;-1:-1:-1;;;48334:42:0;;48363:4;48334:42;;;11332:51:1;11399:18;;;11392:34;;;;48380:6:0;;-1:-1:-1;;;;;48334:10:0;;:20;;11305:18:1;;48334:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;48326:96;;;;-1:-1:-1;;;48326:96:0;;14553:2:1;48326:96:0;;;14535:21:1;14592:2;14572:18;;;14565:30;14631:33;14611:18;;;14604:61;14682:18;;48326:96:0;14351:355:1;48326:96:0;48510:16;;48455:10;;48491:5;;48455:42;;-1:-1:-1;;;48455:42:0;;48484:4;48455:42;;;11332:51:1;11399:18;;;11392:34;;;;48500:6:0;;-1:-1:-1;;;;;48455:10:0;;:20;;11305:18:1;;48455:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;;;:::i;:::-;:71;;48433:134;;;;-1:-1:-1;;;48433:134:0;;15046:2:1;48433:134:0;;;15028:21:1;15085:2;15065:18;;;15058:30;-1:-1:-1;;;15104:18:1;;;15097:43;15157:18;;48433:134:0;14844:337:1;48433:134:0;48582:14;;:18;48578:203;;48695:14;;48643:10;;48676:5;;48643:39;;-1:-1:-1;;;48643:39:0;;48664:10;48643:39;;;11332:51:1;11399:18;;;11392:34;;;;48685:6:0;;-1:-1:-1;;;;;48643:10:0;;:20;;11305:18:1;;48643:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;:::i;:::-;:66;;48617:152;;;;-1:-1:-1;;;48617:152:0;;15518:2:1;48617:152:0;;;15500:21:1;15557:2;15537:18;;;15530:30;-1:-1:-1;;;15576:18:1;;;15569:54;15640:18;;48617:152:0;15316:348:1;48617:152:0;48793:11;;;48830:12;;48793:57;;-1:-1:-1;;;48793:57:0;;48818:10;48793:57;;;15917:34:1;;;;-1:-1:-1;;;;;48830:12:0;;;15967:18:1;;;15960:43;16019:18;;;16012:34;;;48793:11:0;;:24;;15852:18:1;;48793:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48861:10:0;;48916:5;;48861:76;;-1:-1:-1;;;48861:76:0;;-1:-1:-1;;;;;48861:10:0;;;;-1:-1:-1;48861:27:0;;-1:-1:-1;48861:76:0;;48897:4;;48904:10;;48923:6;;48861:76;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49003:5:0;;48990:10;;48955:62;;616:25:1;;;49003:5:0;;-1:-1:-1;;;;;;48990:10:0;;-1:-1:-1;48970:10:0;;48955:62;;604:2:1;589:18;48955:62:0;;;;;;;;48129:896;;:::o;47965:156::-;2014:13;:11;:13::i;:::-;48038:14:::1;:23:::0;;;48079:34:::1;::::0;48055:6;;48079:34:::1;::::0;;;::::1;47965:156:::0;:::o;2769:103::-;2014:13;:11;:13::i;:::-;2834:30:::1;2861:1;2834:18;:30::i;:::-;2769:103::o:0;50163:768::-;2014:13;:11;:13::i;:::-;50299:6:::1;:13;50278:10;:17;:34;50270:83;;;::::0;-1:-1:-1;;;50270:83:0;;16934:2:1;50270:83:0::1;::::0;::::1;16916:21:1::0;16973:2;16953:18;;;16946:30;17012:34;16992:18;;;16985:62;-1:-1:-1;;;17063:18:1;;;17056:34;17107:19;;50270:83:0::1;16732:400:1::0;50270:83:0::1;50364:8;50392:6:::0;50387:180:::1;50408:10;:17;50404:1;:21;50387:180;;;50480:1;-1:-1:-1::0;;;;;50455:27:0::1;:10;50466:1;50455:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;50455:27:0::1;::::0;50447:77:::1;;;::::0;-1:-1:-1;;;50447:77:0;;17339:2:1;50447:77:0::1;::::0;::::1;17321:21:1::0;17378:2;17358:18;;;17351:30;17417:34;17397:18;;;17390:62;-1:-1:-1;;;17468:18:1;;;17461:35;17513:19;;50447:77:0::1;17137:401:1::0;50447:77:0::1;50546:6;50553:1;50546:9;;;;;;;;:::i;:::-;;;;;;;50539:16;;;;;:::i;:::-;::::0;-1:-1:-1;50427:3:0;::::1;::::0;::::1;:::i;:::-;;;;50387:180;;;-1:-1:-1::0;50585:10:0::1;::::0;50618:5:::1;::::0;50585:39:::1;::::0;-1:-1:-1;;;50585:39:0;;50606:10:::1;50585:39;::::0;::::1;11332:51:1::0;11399:18;;;11392:34;;;;50628:3:0;;-1:-1:-1;;;;;50585:10:0::1;::::0;:20:::1;::::0;11305:18:1;;50585:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;50577:88;;;::::0;-1:-1:-1;;;50577:88:0;;17745:2:1;50577:88:0::1;::::0;::::1;17727:21:1::0;17784:2;17764:18;;;17757:30;17823:31;17803:18;;;17796:59;17872:18;;50577:88:0::1;17543:353:1::0;50577:88:0::1;50683:6;50678:246;50699:10;:17;50695:1;:21;50678:246;;;50738:10;::::0;50781:13;;-1:-1:-1;;;;;50738:10:0;;::::1;::::0;:27:::1;::::0;50774:4:::1;::::0;50781:10;;50792:1;;50781:13;::::1;;;;;:::i;:::-;;;;;;;50796:5;;50803:6;50810:1;50803:9;;;;;;;;:::i;:::-;;;;;;;50738:87;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50895:5;;50880:10;50891:1;50880:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;50845:67:0::1;50867:10;;;;;;;;;-1:-1:-1::0;;;;;50867:10:0::1;-1:-1:-1::0;;;;;50845:67:0::1;;50902:6;50909:1;50902:9;;;;;;;;:::i;:::-;;;;;;;50845:67;;;;616:25:1::0;;604:2;589:18;;470:177;50845:67:0::1;;;;;;;;50718:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50678:246;;;;50259:672;50163:768:::0;;:::o;46941:127::-;2014:13;:11;:13::i;:::-;47003:5:::1;:14:::0;;;47035:25:::1;::::0;47011:6;;47035:25:::1;::::0;;;::::1;46941:127:::0;:::o;44952:20::-;;;;;;;:::i;28456:155::-;28551:52;759:10;28584:8;28594;28551:18;:52::i;:::-;28456:155;;:::o;47715:242::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;47806:26:0;::::1;47798:54;;;::::0;-1:-1:-1;;;47798:54:0;;18783:2:1;47798:54:0::1;::::0;::::1;18765:21:1::0;18822:2;18802:18;;;18795:30;-1:-1:-1;;;18841:18:1;;;18834:45;18896:18;;47798:54:0::1;18581:339:1::0;47798:54:0::1;47863:12;:25:::0;;-1:-1:-1;;;;;;47863:25:0::1;-1:-1:-1::0;;;;;47863:25:0;::::1;::::0;;::::1;::::0;;;47906:43:::1;::::0;::::1;::::0;-1:-1:-1;;47906:43:0::1;47715:242:::0;:::o;49906:249::-;2014:13;:11;:13::i;:::-;49989:10:::1;::::0;50043:5:::1;::::0;49989:80:::1;::::0;-1:-1:-1;;;49989:80:0;;-1:-1:-1;;;;;49989:10:0;;::::1;::::0;:27:::1;::::0;:80:::1;::::0;50025:4:::1;::::0;50032:9;;50050:6;;49989:80:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;50133:5:0::1;::::0;50109:10:::1;::::0;50087:60:::1;::::0;616:25:1;;;50133:5:0;;-1:-1:-1;;;;;;50087:60:0;;::::1;::::0;-1:-1:-1;50109:10:0::1;::::0;50087:60:::1;::::0;604:2:1;589:18;50087:60:0::1;470:177:1::0;49033:865:0;49119:1;49103:13;;:17;49095:46;;;;-1:-1:-1;;;49095:46:0;;13503:2:1;49095:46:0;;;13485:21:1;13542:2;13522:18;;;13515:30;-1:-1:-1;;;13561:18:1;;;13554:46;13617:18;;49095:46:0;13301:340:1;49095:46:0;49186:9;49169:13;;49160:6;:22;;;;:::i;:::-;:35;49152:62;;;;-1:-1:-1;;;49152:62:0;;14021:2:1;49152:62:0;;;14003:21:1;14060:2;14040:18;;;14033:30;-1:-1:-1;;;14079:18:1;;;14072:44;14133:18;;49152:62:0;13819:338:1;49152:62:0;49233:10;;49269:5;;49233:42;;-1:-1:-1;;;49233:42:0;;49262:4;49233:42;;;11332:51:1;11399:18;;;11392:34;;;;49279:6:0;;-1:-1:-1;;;;;49233:10:0;;:20;;11305:18:1;;49233:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;49225:96;;;;-1:-1:-1;;;49225:96:0;;14553:2:1;49225:96:0;;;14535:21:1;14592:2;14572:18;;;14565:30;14631:33;14611:18;;;14604:61;14682:18;;49225:96:0;14351:355:1;49225:96:0;49409:16;;49354:10;;49390:5;;49354:42;;-1:-1:-1;;;49354:42:0;;49383:4;49354:42;;;11332:51:1;11399:18;;;11392:34;;;;49399:6:0;;-1:-1:-1;;;;;49354:10:0;;:20;;11305:18:1;;49354:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;;;:::i;:::-;:71;;49332:134;;;;-1:-1:-1;;;49332:134:0;;15046:2:1;49332:134:0;;;15028:21:1;15085:2;15065:18;;;15058:30;-1:-1:-1;;;15104:18:1;;;15097:43;15157:18;;49332:134:0;14844:337:1;49332:134:0;49481:14;;:18;49477:203;;49594:14;;49542:10;;49575:5;;49542:39;;-1:-1:-1;;;49542:39:0;;49563:10;49542:39;;;11332:51:1;11399:18;;;11392:34;;;;49584:6:0;;-1:-1:-1;;;;;49542:10:0;;:20;;11305:18:1;;49542:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;:::i;:::-;:66;;49516:152;;;;-1:-1:-1;;;49516:152:0;;15518:2:1;49516:152:0;;;15500:21:1;15557:2;15537:18;;;15530:30;-1:-1:-1;;;15576:18:1;;;15569:54;15640:18;;49516:152:0;15316:348:1;49516:152:0;49692:12;;:32;;-1:-1:-1;;;;;49692:12:0;;;;49714:9;49692:32;;;;;:12;:32;:12;:32;49714:9;49692:12;:32;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49735:10:0;;49790:5;;49735:76;;-1:-1:-1;;;49735:76:0;;-1:-1:-1;;;;;49735:10:0;;;;:27;;:76;;49771:4;;49778:10;;49797:6;;49735:76;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49876:5:0;;49863:10;;49829:61;;616:25:1;;;49876:5:0;;-1:-1:-1;;;;;;49863:10:0;;-1:-1:-1;49843:10:0;;49829:61;;604:2:1;589:18;49829:61:0;;;;;;;49033:865;:::o;28923:406::-;-1:-1:-1;;;;;29131:20:0;;759:10;29131:20;;:60;;-1:-1:-1;29155:36:0;29172:4;759:10;28683:168;:::i;29155:36::-;29109:156;;;;-1:-1:-1;;;29109:156:0;;;;;;;:::i;:::-;29276:45;29294:4;29300:2;29304;29308:6;29316:4;29276:17;:45::i;3027:201::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3116:22:0;::::1;3108:73;;;::::0;-1:-1:-1;;;3108:73:0;;19127:2:1;3108:73:0::1;::::0;::::1;19109:21:1::0;19166:2;19146:18;;;19139:30;19205:34;19185:18;;;19178:62;-1:-1:-1;;;19256:18:1;;;19249:36;19302:19;;3108:73:0::1;18925:402:1::0;3108:73:0::1;3192:28;3211:8;3192:18;:28::i;:::-;3027:201:::0;:::o;47227:146::-;2014:13;:11;:13::i;:::-;47297:14:::1;:22:::0;;;47337:28:::1;::::0;47314:5;;47337:28:::1;::::0;;;::::1;47227:146:::0;:::o;2293:132::-;2201:6;;-1:-1:-1;;;;;2201:6:0;759:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;19534:2:1;2349:68:0;;;19516:21:1;;;19553:18;;;19546:30;19612:34;19592:18;;;19585:62;19664:18;;2349:68:0;19332:356:1;31640:1146:0;31867:7;:14;31853:3;:10;:28;31845:81;;;;-1:-1:-1;;;31845:81:0;;19895:2:1;31845:81:0;;;19877:21:1;19934:2;19914:18;;;19907:30;19973:34;19953:18;;;19946:62;-1:-1:-1;;;20024:18:1;;;20017:38;20072:19;;31845:81:0;19693:404:1;31845:81:0;-1:-1:-1;;;;;31945:16:0;;31937:66;;;;-1:-1:-1;;;31937:66:0;;;;;;;:::i;:::-;759:10;32016:16;32133:421;32157:3;:10;32153:1;:14;32133:421;;;32189:10;32202:3;32206:1;32202:6;;;;;;;;:::i;:::-;;;;;;;32189:19;;32223:14;32240:7;32248:1;32240:10;;;;;;;;:::i;:::-;;;;;;;;;;;;32267:19;32289:13;;;;;;;;;;-1:-1:-1;;;;;32289:19:0;;;;;;;;;;;;32240:10;;-1:-1:-1;32331:21:0;;;;32323:76;;;;-1:-1:-1;;;32323:76:0;;;;;;;:::i;:::-;32443:9;:13;;;;;;;;;;;-1:-1:-1;;;;;32443:19:0;;;;;;;;;;32465:20;;;32443:42;;32515:17;;;;;;;:27;;32465:20;;32443:9;32515:27;;32465:20;;32515:27;:::i;:::-;;;;;;;;32174:380;;;32169:3;;;;:::i;:::-;;;32133:421;;;;32601:2;-1:-1:-1;;;;;32571:47:0;32595:4;-1:-1:-1;;;;;32571:47:0;32585:8;-1:-1:-1;;;;;32571:47:0;;32605:3;32610:7;32571:47;;;;;;;:::i;:::-;;;;;;;;32703:75;32739:8;32749:4;32755:2;32759:3;32764:7;32773:4;32703:35;:75::i;:::-;31834:952;31640:1146;;;;;:::o;3388:191::-;3481:6;;;-1:-1:-1;;;;;3498:17:0;;;-1:-1:-1;;;;;;3498:17:0;;;;;;;3531:40;;3481:6;;;3498:17;3481:6;;3531:40;;3462:16;;3531:40;3451:128;3388:191;:::o;38406:297::-;38527:8;-1:-1:-1;;;;;38518:17:0;:5;-1:-1:-1;;;;;38518:17:0;;38510:71;;;;-1:-1:-1;;;38510:71:0;;21591:2:1;38510:71:0;;;21573:21:1;21630:2;21610:18;;;21603:30;21669:34;21649:18;;;21642:62;-1:-1:-1;;;21720:18:1;;;21713:39;21769:19;;38510:71:0;21389:405:1;38510:71:0;-1:-1:-1;;;;;38592:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;38592:46:0;;;;;;;;;;38654:41;;1639::1;;;38654::0;;1612:18:1;38654:41:0;;;;;;;38406:297;;;:::o;30308:974::-;-1:-1:-1;;;;;30496:16:0;;30488:66;;;;-1:-1:-1;;;30488:66:0;;;;;;;:::i;:::-;759:10;30567:16;30632:21;30650:2;30632:17;:21::i;:::-;30609:44;;30664:24;30691:25;30709:6;30691:17;:25::i;:::-;30664:52;;30802:19;30824:13;;;;;;;;;;;-1:-1:-1;;;;;30824:19:0;;;;;;;;;;30862:21;;;;30854:76;;;;-1:-1:-1;;;30854:76:0;;;;;;;:::i;:::-;30966:9;:13;;;;;;;;;;;-1:-1:-1;;;;;30966:19:0;;;;;;;;;;30988:20;;;30966:42;;31030:17;;;;;;;:27;;30988:20;;30966:9;31030:27;;30988:20;;31030:27;:::i;:::-;;;;-1:-1:-1;;31075:46:0;;;21973:25:1;;;22029:2;22014:18;;22007:34;;;-1:-1:-1;;;;;31075:46:0;;;;;;;;;;;;;;21946:18:1;31075:46:0;;;;;;;31206:68;31237:8;31247:4;31253:2;31257;31261:6;31269:4;31206:30;:68::i;:::-;30477:805;;;;30308:974;;;;;:::o;41817:813::-;-1:-1:-1;;;;;42057:13:0;;5355:19;:23;42053:570;;42093:79;;-1:-1:-1;;;42093:79:0;;-1:-1:-1;;;;;42093:43:0;;;;;:79;;42137:8;;42147:4;;42153:3;;42158:7;;42167:4;;42093:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42093:79:0;;;;;;;;-1:-1:-1;;42093:79:0;;;;;;;;;;;;:::i;:::-;;;42089:523;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;42485:6;42478:14;;-1:-1:-1;;;42478:14:0;;;;;;;;:::i;42089:523::-;;;42534:62;;-1:-1:-1;;;42534:62:0;;24200:2:1;42534:62:0;;;24182:21:1;24239:2;24219:18;;;24212:30;24278:34;24258:18;;;24251:62;-1:-1:-1;;;24329:18:1;;;24322:50;24389:19;;42534:62:0;23998:416:1;42089:523:0;-1:-1:-1;;;;;;42254:60:0;;-1:-1:-1;;;42254:60:0;42250:159;;42339:50;;-1:-1:-1;;;42339:50:0;;;;;;;:::i;42250:159::-;42173:251;41817:813;;;;;;:::o;42638:198::-;42758:16;;;42772:1;42758:16;;;;;;;;;42704;;42733:22;;42758:16;;;;;;;;;;;;-1:-1:-1;42758:16:0;42733:41;;42796:7;42785:5;42791:1;42785:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;42823:5;42638:198;-1:-1:-1;;42638:198:0:o;41065:744::-;-1:-1:-1;;;;;41280:13:0;;5355:19;:23;41276:526;;41316:72;;-1:-1:-1;;;41316:72:0;;-1:-1:-1;;;;;41316:38:0;;;;;:72;;41355:8;;41365:4;;41371:2;;41375:6;;41383:4;;41316:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41316:72:0;;;;;;;;-1:-1:-1;;41316:72:0;;;;;;;;;;;;:::i;:::-;;;41312:479;;;;:::i;:::-;-1:-1:-1;;;;;;41438:55:0;;-1:-1:-1;;;41438:55:0;41434:154;;41518:50;;-1:-1:-1;;;41518:50:0;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:315;218:6;226;279:2;267:9;258:7;254:23;250:32;247:52;;;295:1;292;285:12;247:52;334:9;321:23;353:31;378:5;353:31;:::i;:::-;403:5;455:2;440:18;;;;427:32;;-1:-1:-1;;;150:315:1:o;652:456::-;729:6;737;745;798:2;786:9;777:7;773:23;769:32;766:52;;;814:1;811;804:12;766:52;853:9;840:23;872:31;897:5;872:31;:::i;:::-;922:5;-1:-1:-1;979:2:1;964:18;;951:32;992:33;951:32;992:33;:::i;:::-;652:456;;1044:7;;-1:-1:-1;;;1098:2:1;1083:18;;;;1070:32;;652:456::o;1113:131::-;-1:-1:-1;;;;;;1187:32:1;;1177:43;;1167:71;;1234:1;1231;1224:12;1249:245;1307:6;1360:2;1348:9;1339:7;1335:23;1331:32;1328:52;;;1376:1;1373;1366:12;1328:52;1415:9;1402:23;1434:30;1458:5;1434:30;:::i;:::-;1483:5;1249:245;-1:-1:-1;;;1249:245:1:o;1691:180::-;1750:6;1803:2;1791:9;1782:7;1778:23;1774:32;1771:52;;;1819:1;1816;1809:12;1771:52;-1:-1:-1;1842:23:1;;1691:180;-1:-1:-1;1691:180:1:o;1876:423::-;1918:3;1956:5;1950:12;1983:6;1978:3;1971:19;2008:1;2018:162;2032:6;2029:1;2026:13;2018:162;;;2094:4;2150:13;;;2146:22;;2140:29;2122:11;;;2118:20;;2111:59;2047:12;2018:162;;;2022:3;2225:1;2218:4;2209:6;2204:3;2200:16;2196:27;2189:38;2288:4;2281:2;2277:7;2272:2;2264:6;2260:15;2256:29;2251:3;2247:39;2243:50;2236:57;;;1876:423;;;;:::o;2304:220::-;2453:2;2442:9;2435:21;2416:4;2473:45;2514:2;2503:9;2499:18;2491:6;2473:45;:::i;2529:247::-;2588:6;2641:2;2629:9;2620:7;2616:23;2612:32;2609:52;;;2657:1;2654;2647:12;2609:52;2696:9;2683:23;2715:31;2740:5;2715:31;:::i;2781:127::-;2842:10;2837:3;2833:20;2830:1;2823:31;2873:4;2870:1;2863:15;2897:4;2894:1;2887:15;2913:249;3023:2;3004:13;;-1:-1:-1;;3000:27:1;2988:40;;3058:18;3043:34;;3079:22;;;3040:62;3037:88;;;3105:18;;:::i;:::-;3141:2;3134:22;-1:-1:-1;;2913:249:1:o;3167:183::-;3227:4;3260:18;3252:6;3249:30;3246:56;;;3282:18;;:::i;:::-;-1:-1:-1;3327:1:1;3323:14;3339:4;3319:25;;3167:183::o;3355:724::-;3409:5;3462:3;3455:4;3447:6;3443:17;3439:27;3429:55;;3480:1;3477;3470:12;3429:55;3516:6;3503:20;3542:4;3565:43;3605:2;3565:43;:::i;:::-;3637:2;3631:9;3649:31;3677:2;3669:6;3649:31;:::i;:::-;3715:18;;;3807:1;3803:10;;;;3791:23;;3787:32;;;3749:15;;;;-1:-1:-1;3831:15:1;;;3828:35;;;3859:1;3856;3849:12;3828:35;3895:2;3887:6;3883:15;3907:142;3923:6;3918:3;3915:15;3907:142;;;3989:17;;3977:30;;4027:12;;;;3940;;3907:142;;;-1:-1:-1;4067:6:1;3355:724;-1:-1:-1;;;;;;3355:724:1:o;4084:555::-;4126:5;4179:3;4172:4;4164:6;4160:17;4156:27;4146:55;;4197:1;4194;4187:12;4146:55;4233:6;4220:20;4259:18;4255:2;4252:26;4249:52;;;4281:18;;:::i;:::-;4330:2;4324:9;4342:67;4397:2;4378:13;;-1:-1:-1;;4374:27:1;4403:4;4370:38;4324:9;4342:67;:::i;:::-;4433:2;4425:6;4418:18;4479:3;4472:4;4467:2;4459:6;4455:15;4451:26;4448:35;4445:55;;;4496:1;4493;4486:12;4445:55;4560:2;4553:4;4545:6;4541:17;4534:4;4526:6;4522:17;4509:54;4607:1;4583:15;;;4600:4;4579:26;4572:37;;;;4587:6;4084:555;-1:-1:-1;;;4084:555:1:o;4644:1071::-;4798:6;4806;4814;4822;4830;4883:3;4871:9;4862:7;4858:23;4854:33;4851:53;;;4900:1;4897;4890:12;4851:53;4939:9;4926:23;4958:31;4983:5;4958:31;:::i;:::-;5008:5;-1:-1:-1;5065:2:1;5050:18;;5037:32;5078:33;5037:32;5078:33;:::i;:::-;5130:7;-1:-1:-1;5188:2:1;5173:18;;5160:32;5211:18;5241:14;;;5238:34;;;5268:1;5265;5258:12;5238:34;5291:61;5344:7;5335:6;5324:9;5320:22;5291:61;:::i;:::-;5281:71;;5405:2;5394:9;5390:18;5377:32;5361:48;;5434:2;5424:8;5421:16;5418:36;;;5450:1;5447;5440:12;5418:36;5473:63;5528:7;5517:8;5506:9;5502:24;5473:63;:::i;:::-;5463:73;;5589:3;5578:9;5574:19;5561:33;5545:49;;5619:2;5609:8;5606:16;5603:36;;;5635:1;5632;5625:12;5603:36;;5658:51;5701:7;5690:8;5679:9;5675:24;5658:51;:::i;:::-;5648:61;;;4644:1071;;;;;;;;:::o;5720:1277::-;5838:6;5846;5899:2;5887:9;5878:7;5874:23;5870:32;5867:52;;;5915:1;5912;5905:12;5867:52;5955:9;5942:23;5984:18;6025:2;6017:6;6014:14;6011:34;;;6041:1;6038;6031:12;6011:34;6079:6;6068:9;6064:22;6054:32;;6124:7;6117:4;6113:2;6109:13;6105:27;6095:55;;6146:1;6143;6136:12;6095:55;6182:2;6169:16;6204:4;6227:43;6267:2;6227:43;:::i;:::-;6299:2;6293:9;6311:31;6339:2;6331:6;6311:31;:::i;:::-;6377:18;;;6465:1;6461:10;;;;6453:19;;6449:28;;;6411:15;;;;-1:-1:-1;6489:19:1;;;6486:39;;;6521:1;6518;6511:12;6486:39;6545:11;;;;6565:217;6581:6;6576:3;6573:15;6565:217;;;6661:3;6648:17;6678:31;6703:5;6678:31;:::i;:::-;6722:18;;6598:12;;;;6760;;;;6565:217;;;6801:6;-1:-1:-1;;6845:18:1;;6832:32;;-1:-1:-1;;6876:16:1;;;6873:36;;;6905:1;6902;6895:12;6873:36;;6928:63;6983:7;6972:8;6961:9;6957:24;6928:63;:::i;:::-;6918:73;;;5720:1277;;;;;:::o;7002:435::-;7055:3;7093:5;7087:12;7120:6;7115:3;7108:19;7146:4;7175:2;7170:3;7166:12;7159:19;;7212:2;7205:5;7201:14;7233:1;7243:169;7257:6;7254:1;7251:13;7243:169;;;7318:13;;7306:26;;7352:12;;;;7387:15;;;;7279:1;7272:9;7243:169;;;-1:-1:-1;7428:3:1;;7002:435;-1:-1:-1;;;;;7002:435:1:o;7442:261::-;7621:2;7610:9;7603:21;7584:4;7641:56;7693:2;7682:9;7678:18;7670:6;7641:56;:::i;7708:248::-;7776:6;7784;7837:2;7825:9;7816:7;7812:23;7808:32;7805:52;;;7853:1;7850;7843:12;7805:52;-1:-1:-1;;7876:23:1;;;7946:2;7931:18;;;7918:32;;-1:-1:-1;7708:248:1:o;8845:118::-;8931:5;8924:13;8917:21;8910:5;8907:32;8897:60;;8953:1;8950;8943:12;8968:382;9033:6;9041;9094:2;9082:9;9073:7;9069:23;9065:32;9062:52;;;9110:1;9107;9100:12;9062:52;9149:9;9136:23;9168:31;9193:5;9168:31;:::i;:::-;9218:5;-1:-1:-1;9275:2:1;9260:18;;9247:32;9288:30;9247:32;9288:30;:::i;:::-;9337:7;9327:17;;;8968:382;;;;;:::o;9615:388::-;9683:6;9691;9744:2;9732:9;9723:7;9719:23;9715:32;9712:52;;;9760:1;9757;9750:12;9712:52;9799:9;9786:23;9818:31;9843:5;9818:31;:::i;:::-;9868:5;-1:-1:-1;9925:2:1;9910:18;;9897:32;9938:33;9897:32;9938:33;:::i;10008:734::-;10112:6;10120;10128;10136;10144;10197:3;10185:9;10176:7;10172:23;10168:33;10165:53;;;10214:1;10211;10204:12;10165:53;10253:9;10240:23;10272:31;10297:5;10272:31;:::i;:::-;10322:5;-1:-1:-1;10379:2:1;10364:18;;10351:32;10392:33;10351:32;10392:33;:::i;:::-;10444:7;-1:-1:-1;10498:2:1;10483:18;;10470:32;;-1:-1:-1;10549:2:1;10534:18;;10521:32;;-1:-1:-1;10604:3:1;10589:19;;10576:33;10632:18;10621:30;;10618:50;;;10664:1;10661;10654:12;10618:50;10687:49;10728:7;10719:6;10708:9;10704:22;10687:49;:::i;11437:245::-;11504:6;11557:2;11545:9;11536:7;11532:23;11528:32;11525:52;;;11573:1;11570;11563:12;11525:52;11605:9;11599:16;11624:28;11646:5;11624:28;:::i;11687:380::-;11766:1;11762:12;;;;11809;;;11830:61;;11884:4;11876:6;11872:17;11862:27;;11830:61;11937:2;11929:6;11926:14;11906:18;11903:38;11900:161;;11983:10;11978:3;11974:20;11971:1;11964:31;12018:4;12015:1;12008:15;12046:4;12043:1;12036:15;11900:161;;11687:380;;;:::o;12072:410::-;12274:2;12256:21;;;12313:2;12293:18;;;12286:30;12352:34;12347:2;12332:18;;12325:62;-1:-1:-1;;;12418:2:1;12403:18;;12396:44;12472:3;12457:19;;12072:410::o;12897:127::-;12958:10;12953:3;12949:20;12946:1;12939:31;12989:4;12986:1;12979:15;13013:4;13010:1;13003:15;13029:127;13090:10;13085:3;13081:20;13078:1;13071:31;13121:4;13118:1;13111:15;13145:4;13142:1;13135:15;13161:135;13200:3;13221:17;;;13218:43;;13241:18;;:::i;:::-;-1:-1:-1;13288:1:1;13277:13;;13161:135::o;13646:168::-;13719:9;;;13750;;13767:15;;;13761:22;;13747:37;13737:71;;13788:18;;:::i;14162:184::-;14232:6;14285:2;14273:9;14264:7;14260:23;14256:32;14253:52;;;14301:1;14298;14291:12;14253:52;-1:-1:-1;14324:16:1;;14162:184;-1:-1:-1;14162:184:1:o;14711:128::-;14778:9;;;14799:11;;;14796:37;;;14813:18;;:::i;15186:125::-;15251:9;;;15272:10;;;15269:36;;;15285:18;;:::i;16057:670::-;-1:-1:-1;;;;;16408:15:1;;;16390:34;;16460:15;;;;16455:2;16440:18;;16433:43;16507:2;16492:18;;16485:34;16550:2;16535:18;;16528:34;;;;16370:3;16593;16578:19;;16571:32;;;16640:1;16619:19;;;16612:30;-1:-1:-1;;;16673:3:1;16658:19;;16651:34;16717:3;16702:19;;16057:670::o;17901:675::-;-1:-1:-1;;;;;18252:15:1;;;18234:34;;18304:15;;;;18299:2;18284:18;;18277:43;18351:2;18336:18;;18329:34;18394:2;18379:18;;18372:34;;;;18214:3;18437;18422:19;;18415:32;;;18484:1;18463:19;;;18456:30;-1:-1:-1;;;18517:3:1;18502:19;;18495:39;18566:3;18551:19;;17901:675::o;20102:401::-;20304:2;20286:21;;;20343:2;20323:18;;;20316:30;20382:34;20377:2;20362:18;;20355:62;-1:-1:-1;;;20448:2:1;20433:18;;20426:35;20493:3;20478:19;;20102:401::o;20508:406::-;20710:2;20692:21;;;20749:2;20729:18;;;20722:30;20788:34;20783:2;20768:18;;20761:62;-1:-1:-1;;;20854:2:1;20839:18;;20832:40;20904:3;20889:19;;20508:406::o;20919:465::-;21176:2;21165:9;21158:21;21139:4;21202:56;21254:2;21243:9;21239:18;21231:6;21202:56;:::i;:::-;21306:9;21298:6;21294:22;21289:2;21278:9;21274:18;21267:50;21334:44;21371:6;21363;21334:44;:::i;:::-;21326:52;20919:465;-1:-1:-1;;;;;20919:465:1:o;22052:827::-;-1:-1:-1;;;;;22449:15:1;;;22431:34;;22501:15;;22496:2;22481:18;;22474:43;22411:3;22548:2;22533:18;;22526:31;;;22374:4;;22580:57;;22617:19;;22609:6;22580:57;:::i;:::-;22685:9;22677:6;22673:22;22668:2;22657:9;22653:18;22646:50;22719:44;22756:6;22748;22719:44;:::i;:::-;22705:58;;22812:9;22804:6;22800:22;22794:3;22783:9;22779:19;22772:51;22840:33;22866:6;22858;22840:33;:::i;:::-;22832:41;22052:827;-1:-1:-1;;;;;;;;22052:827:1:o;22884:249::-;22953:6;23006:2;22994:9;22985:7;22981:23;22977:32;22974:52;;;23022:1;23019;23012:12;22974:52;23054:9;23048:16;23073:30;23097:5;23073:30;:::i;23138:179::-;23173:3;23215:1;23197:16;23194:23;23191:120;;;23261:1;23258;23255;23240:23;-1:-1:-1;23298:1:1;23292:8;23287:3;23283:18;23191:120;23138:179;:::o;23322:671::-;23361:3;23403:4;23385:16;23382:26;23379:39;;;23322:671;:::o;23379:39::-;23445:2;23439:9;-1:-1:-1;;23510:16:1;23506:25;;23503:1;23439:9;23482:50;23561:4;23555:11;23585:16;23620:18;23691:2;23684:4;23676:6;23672:17;23669:25;23664:2;23656:6;23653:14;23650:45;23647:58;;;23698:5;;;;;23322:671;:::o;23647:58::-;23735:6;23729:4;23725:17;23714:28;;23771:3;23765:10;23798:2;23790:6;23787:14;23784:27;;;23804:5;;;;;;23322:671;:::o;23784:27::-;23888:2;23869:16;23863:4;23859:27;23855:36;23848:4;23839:6;23834:3;23830:16;23826:27;23823:69;23820:82;;;23895:5;;;;;;23322:671;:::o;23820:82::-;23911:57;23962:4;23953:6;23945;23941:19;23937:30;23931:4;23911:57;:::i;:::-;-1:-1:-1;23984:3:1;;23322:671;-1:-1:-1;;;;;23322:671:1:o;24419:404::-;24621:2;24603:21;;;24660:2;24640:18;;;24633:30;24699:34;24694:2;24679:18;;24672:62;-1:-1:-1;;;24765:2:1;24750:18;;24743:38;24813:3;24798:19;;24419:404::o;24828:561::-;-1:-1:-1;;;;;25125:15:1;;;25107:34;;25177:15;;25172:2;25157:18;;25150:43;25224:2;25209:18;;25202:34;;;25267:2;25252:18;;25245:34;;;25087:3;25310;25295:19;;25288:32;;;25050:4;;25337:46;;25363:19;;25355:6;25337:46;:::i;:::-;25329:54;24828:561;-1:-1:-1;;;;;;;24828:561:1:o

Swarm Source

ipfs://02fabbcf3c240ccc5355a14d5b254645ae319c505b22023f9571e19aabf9246c

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  ]
[ 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.