ETH Price: $3,483.31 (+3.32%)
Gas: 4 Gwei

Contract

0xd60E94434310381575C5e67Bb1D3E125133AD3eD
 

Overview

ETH Balance

0.04992285 ETH

Eth Value

$173.90 (@ $3,483.31/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Value
Sell Tokens202049802024-06-30 14:04:3516 hrs ago1719756275IN
0xd60E9443...5133AD3eD
0 ETH0.00065365.72380738
Sell Tokens202047932024-06-30 13:26:4716 hrs ago1719754007IN
0xd60E9443...5133AD3eD
0 ETH0.000745454.98783938
Sell Tokens202045432024-06-30 12:36:4717 hrs ago1719751007IN
0xd60E9443...5133AD3eD
0 ETH0.000477943.17110994
Sell Tokens202045362024-06-30 12:35:2317 hrs ago1719750923IN
0xd60E9443...5133AD3eD
0 ETH0.000592393.2474525
Sell Tokens202044702024-06-30 12:21:5917 hrs ago1719750119IN
0xd60E9443...5133AD3eD
0 ETH0.000314133.37972533
Sell Tokens202044612024-06-30 12:20:1117 hrs ago1719750011IN
0xd60E9443...5133AD3eD
0 ETH0.000309723.16863183
Sell Tokens202044572024-06-30 12:19:2317 hrs ago1719749963IN
0xd60E9443...5133AD3eD
0 ETH0.000308353.15458694
Sell Tokens202044492024-06-30 12:17:4718 hrs ago1719749867IN
0xd60E9443...5133AD3eD
0 ETH0.000313883.21118491
Sell Tokens202044392024-06-30 12:15:4718 hrs ago1719749747IN
0xd60E9443...5133AD3eD
0 ETH0.000336793.44562202
Sell Tokens202044172024-06-30 12:11:2318 hrs ago1719749483IN
0xd60E9443...5133AD3eD
0 ETH0.000372933.69384528
Sell Tokens202044152024-06-30 12:10:5918 hrs ago1719749459IN
0xd60E9443...5133AD3eD
0 ETH0.000654214.69346256
Sell Tokens202043452024-06-30 11:56:4718 hrs ago1719748607IN
0xd60E9443...5133AD3eD
0 ETH0.000698154.65919028
Sell Tokens202043442024-06-30 11:56:3518 hrs ago1719748595IN
0xd60E9443...5133AD3eD
0 ETH0.000305782.89121588
Sell Tokens202042372024-06-30 11:35:1118 hrs ago1719747311IN
0xd60E9443...5133AD3eD
0 ETH0.000365133.61229071
Sell Tokens202041932024-06-30 11:26:1118 hrs ago1719746771IN
0xd60E9443...5133AD3eD
0 ETH0.000438783.81513802
Sell Tokens202041292024-06-30 11:13:2319 hrs ago1719746003IN
0xd60E9443...5133AD3eD
0 ETH0.000273672.58470728
Sell Tokens202041222024-06-30 11:11:5919 hrs ago1719745919IN
0xd60E9443...5133AD3eD
0 ETH0.000261222.46713774
Sell Tokens202041142024-06-30 11:10:2319 hrs ago1719745823IN
0xd60E9443...5133AD3eD
0 ETH0.000289482.7340327
Sell Tokens202041052024-06-30 11:08:3519 hrs ago1719745715IN
0xd60E9443...5133AD3eD
0 ETH0.000335762.73017188
Sell Tokens202038352024-06-30 10:14:1120 hrs ago1719742451IN
0xd60E9443...5133AD3eD
0 ETH0.000233572.31074335
Sell Tokens202038222024-06-30 10:11:3520 hrs ago1719742295IN
0xd60E9443...5133AD3eD
0 ETH0.000238862.25588902
Sell Tokens202038112024-06-30 10:09:2320 hrs ago1719742163IN
0xd60E9443...5133AD3eD
0 ETH0.000236222.45434064
Sell Tokens202038012024-06-30 10:07:2320 hrs ago1719742043IN
0xd60E9443...5133AD3eD
0 ETH0.000266922.5209295
Sell Tokens202037942024-06-30 10:05:5920 hrs ago1719741959IN
0xd60E9443...5133AD3eD
0 ETH0.000266742.4359
Sell Tokens202037812024-06-30 10:03:2320 hrs ago1719741803IN
0xd60E9443...5133AD3eD
0 ETH0.000295062.58138202
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
202049802024-06-30 14:04:3516 hrs ago1719756275
0xd60E9443...5133AD3eD
0.00000001 ETH
202047932024-06-30 13:26:4716 hrs ago1719754007
0xd60E9443...5133AD3eD
0.00000001 ETH
202045432024-06-30 12:36:4717 hrs ago1719751007
0xd60E9443...5133AD3eD
0.00000001 ETH
202045362024-06-30 12:35:2317 hrs ago1719750923
0xd60E9443...5133AD3eD
0.00000001 ETH
202044702024-06-30 12:21:5917 hrs ago1719750119
0xd60E9443...5133AD3eD
0.00000001 ETH
202044612024-06-30 12:20:1117 hrs ago1719750011
0xd60E9443...5133AD3eD
0.00000001 ETH
202044572024-06-30 12:19:2317 hrs ago1719749963
0xd60E9443...5133AD3eD
0.00000001 ETH
202044492024-06-30 12:17:4718 hrs ago1719749867
0xd60E9443...5133AD3eD
0.00000001 ETH
202044392024-06-30 12:15:4718 hrs ago1719749747
0xd60E9443...5133AD3eD
0.00000001 ETH
202044172024-06-30 12:11:2318 hrs ago1719749483
0xd60E9443...5133AD3eD
0.00000001 ETH
202044152024-06-30 12:10:5918 hrs ago1719749459
0xd60E9443...5133AD3eD
0.00000001 ETH
202043452024-06-30 11:56:4718 hrs ago1719748607
0xd60E9443...5133AD3eD
0.00000001 ETH
202043442024-06-30 11:56:3518 hrs ago1719748595
0xd60E9443...5133AD3eD
0.00000001 ETH
202042372024-06-30 11:35:1118 hrs ago1719747311
0xd60E9443...5133AD3eD
0.00000001 ETH
202041932024-06-30 11:26:1118 hrs ago1719746771
0xd60E9443...5133AD3eD
0.00000001 ETH
202041292024-06-30 11:13:2319 hrs ago1719746003
0xd60E9443...5133AD3eD
0.00000001 ETH
202041222024-06-30 11:11:5919 hrs ago1719745919
0xd60E9443...5133AD3eD
0.00000001 ETH
202041142024-06-30 11:10:2319 hrs ago1719745823
0xd60E9443...5133AD3eD
0.00000001 ETH
202041052024-06-30 11:08:3519 hrs ago1719745715
0xd60E9443...5133AD3eD
0.00000001 ETH
202038352024-06-30 10:14:1120 hrs ago1719742451
0xd60E9443...5133AD3eD
0.00000001 ETH
202038222024-06-30 10:11:3520 hrs ago1719742295
0xd60E9443...5133AD3eD
0.00000001 ETH
202038112024-06-30 10:09:2320 hrs ago1719742163
0xd60E9443...5133AD3eD
0.00000001 ETH
202038012024-06-30 10:07:2320 hrs ago1719742043
0xd60E9443...5133AD3eD
0.00000001 ETH
202037942024-06-30 10:05:5920 hrs ago1719741959
0xd60E9443...5133AD3eD
0.00000001 ETH
202037812024-06-30 10:03:2320 hrs ago1719741803
0xd60E9443...5133AD3eD
0.00000001 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Harvestooor

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Harvestooor.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";

contract Harvestooor is Ownable, Pausable, ReentrancyGuard, IERC721Receiver {
    using Address for address;
    using ERC165Checker for address;

    /**
     * Value each NFT will be harvested for (in wei).
     */
    uint256 public constant FIXED_NFT_VALUE = 1e10;

    /**
     * Maps a NFT to its prior owner.
     */
    mapping(address => mapping(uint256 => address)) private _priorOwnerByToken;

    /**
     * Struct which represent a ERC-721 NFT.
     */
    struct NFT {
        address tokenAddress;
        uint256 tokenId;
    }

    /**
     * Event emitted when ETH is sent to the contract.
     */
    event ValueReceived(address indexed sender, uint256 amount);

    /**
     * Event emitted when non fungible token(s) are harvested by the contract.
     */
    event TokensHarvested(address indexed sender, NFT[] tokens);

    /**
     * Event emitted when non fungible token(s) are repurchased.
     */
    event TokensRepurchased(address indexed sender, NFT[] tokens);

    /**
     * Returns the prior owner of a NFT given its address and tokenId.
     */
    function getPriorOwnerByToken(address tokenAddress, uint256 tokenId)
        external
        view
        returns (address)
    {
        return _priorOwnerByToken[tokenAddress][tokenId];
    }

    /**
     * Function which enables external consumers to sell
     * multiple ERC-721 NFTs to the contract. By calling this function,
     * the contract will transfer the tokens to itself (the contract)
     * and pay the sender a fixed amount of ETH for each token.
     */
    function sellTokens(NFT[] calldata tokens)
        external
        nonReentrant
        whenNotPaused
    {
        // Require 'tokens' to not be empty
        require(tokens.length > 0, "Harvestooor: 'tokens' must not be empty");

        address payable sender = payable(msg.sender);
        uint256 calculatedValue = tokens.length * FIXED_NFT_VALUE;

        // Require contract to contain enough ETH balance
        require(
            address(this).balance >= calculatedValue,
            "Harvestooor: Insufficient Balance"
        );

        for (uint256 i = 0; i < tokens.length; ++i) {
            address tokenAddress = tokens[i].tokenAddress;
            uint256 tokenId = tokens[i].tokenId;

            // Sanity check NFT implements IERC721 interface
            require(
                tokenAddress.supportsInterface(type(IERC721).interfaceId),
                "Harvestooor: Token must implement IERC721 interface"
            );

            IERC721 nft = IERC721(tokenAddress);

            // Sanity check NFT is being sold by its owner
            require(
                nft.ownerOf(tokenId) == sender,
                "Harvestooor: NFT must be sold by its owner"
            );

            // Write owner to ownerByToken map
            _priorOwnerByToken[tokenAddress][tokenId] = sender;

            // Safe Transfer NFT to self (this contract)
            nft.safeTransferFrom(sender, address(this), tokenId);
        }

        // Emit event
        emit TokensHarvested(sender, tokens);

        // Transfer ETH to sender
        Address.sendValue(sender, calculatedValue);
    }

    /**
     * Function which enables external consumers to repurchase multiple
     * ERC-721 NFTs from the contract. By calling this function, the
     * contract will accept a fixed amount of ETH for every token
     * and transfer previously sold tokens back to their previous owner.
     */
    function repurchaseTokens(NFT[] calldata tokens)
        external
        payable
        nonReentrant
        whenNotPaused
    {
        // Require 'tokens' to not be empty
        require(tokens.length > 0, "Harvestooor: 'tokens' must not be empty");

        uint256 calculatedValue = tokens.length * FIXED_NFT_VALUE;

        // Require sender to have provided correct ETH value
        require(
            msg.value == calculatedValue,
            "Harvestooor: Transaction must include correct ETH value"
        );

        for (uint256 i = 0; i < tokens.length; ++i) {
            address tokenAddress = tokens[i].tokenAddress;
            uint256 tokenId = tokens[i].tokenId;

            // Require NFT to have previously been sold to the contract
            require(
                _priorOwnerByToken[tokenAddress][tokenId] == msg.sender,
                "Harvestooor: NFT must have been previously sold to the contract"
            );

            // Remove previous token from storage (must be done before token transfer)
            delete _priorOwnerByToken[tokenAddress][tokenId];

            // Transfer NFT back to sender (regular transfer)
            IERC721 nft = IERC721(tokenAddress);
            nft.transferFrom(address(this), msg.sender, tokenId);
        }

        // Emit event
        emit TokensRepurchased(msg.sender, tokens);
    }

    /**
     * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md#specification
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address from,
        uint256 tokenId,
        bytes memory
    ) public virtual override whenNotPaused returns (bytes4) {
        // Require NFT to have previously been sold to the contract (msg.sender is the NFT contract address)
        require(
            _priorOwnerByToken[msg.sender][tokenId] == from,
            "Harvestooor: NFT must have been previously sold to the contract"
        );

        return this.onERC721Received.selector;
    }

    /**
     * Pause the contract.
     */
    function pause() external nonReentrant onlyOwner whenNotPaused {
        _pause();
    }

    /**
     * Unpause the contract.
     */
    function unpause() external nonReentrant onlyOwner whenPaused {
        _unpause();
    }

    /**
     * Deposit ETH funds into the contract.
     */
    function deposit() external payable nonReentrant whenNotPaused {
        require(msg.value > 0, "Harvestooor: Value must be greater than zero");
        emit ValueReceived(msg.sender, msg.value);
    }

    /**
     * Withdrawal ETH funds to the given recipient address.
     */
    function withdraw(address payable recipient, uint256 amount)
        external
        nonReentrant
        onlyOwner
    {
        require(amount > 0, "Harvestooor: 'amount' must be greater than zero");
        require(
            recipient != address(this),
            "Harvestooor: 'recipient' must be an outside account"
        );

        Address.sendValue(recipient, amount);
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev 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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 3 of 10 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

File 4 of 10 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 7 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// 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 9 of 10 : ERC165Checker.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.2) (utils/introspection/ERC165Checker.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Library used to query support of an interface declared via {IERC165}.
 *
 * Note that these functions return the actual result of the query: they do not
 * `revert` if an interface is not supported. It is up to the caller to decide
 * what to do in these cases.
 */
library ERC165Checker {
    // As per the EIP-165 spec, no interface should ever match 0xffffffff
    bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

    /**
     * @dev Returns true if `account` supports the {IERC165} interface,
     */
    function supportsERC165(address account) internal view returns (bool) {
        // Any contract that implements ERC165 must explicitly indicate support of
        // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid
        return
            _supportsERC165Interface(account, type(IERC165).interfaceId) &&
            !_supportsERC165Interface(account, _INTERFACE_ID_INVALID);
    }

    /**
     * @dev Returns true if `account` supports the interface defined by
     * `interfaceId`. Support for {IERC165} itself is queried automatically.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {
        // query support of both ERC165 as per the spec and support of _interfaceId
        return supportsERC165(account) && _supportsERC165Interface(account, interfaceId);
    }

    /**
     * @dev Returns a boolean array where each value corresponds to the
     * interfaces passed in and whether they're supported or not. This allows
     * you to batch check interfaces for a contract where your expectation
     * is that some interfaces may not be supported.
     *
     * See {IERC165-supportsInterface}.
     *
     * _Available since v3.4._
     */
    function getSupportedInterfaces(address account, bytes4[] memory interfaceIds)
        internal
        view
        returns (bool[] memory)
    {
        // an array of booleans corresponding to interfaceIds and whether they're supported or not
        bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);

        // query support of ERC165 itself
        if (supportsERC165(account)) {
            // query support of each interface in interfaceIds
            for (uint256 i = 0; i < interfaceIds.length; i++) {
                interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]);
            }
        }

        return interfaceIdsSupported;
    }

    /**
     * @dev Returns true if `account` supports all the interfaces defined in
     * `interfaceIds`. Support for {IERC165} itself is queried automatically.
     *
     * Batch-querying can lead to gas savings by skipping repeated checks for
     * {IERC165} support.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
        // query support of ERC165 itself
        if (!supportsERC165(account)) {
            return false;
        }

        // query support of each interface in _interfaceIds
        for (uint256 i = 0; i < interfaceIds.length; i++) {
            if (!_supportsERC165Interface(account, interfaceIds[i])) {
                return false;
            }
        }

        // all interfaces supported
        return true;
    }

    /**
     * @notice Query if a contract implements an interface, does not check ERC165 support
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Assumes that account contains a contract that supports ERC165, otherwise
     * the behavior of this method is undefined. This precondition can be checked
     * with {supportsERC165}.
     * Interface identification is specified in ERC-165.
     */
    function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) {
        // prepare call
        bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId);

        // perform static call
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly {
            success := staticcall(30000, account, add(encodedParams, 0x20), mload(encodedParams), 0x00, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0x00)
        }

        return success && returnSize >= 0x20 && returnValue > 0;
    }
}

File 10 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"indexed":false,"internalType":"struct Harvestooor.NFT[]","name":"tokens","type":"tuple[]"}],"name":"TokensHarvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"indexed":false,"internalType":"struct Harvestooor.NFT[]","name":"tokens","type":"tuple[]"}],"name":"TokensRepurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ValueReceived","type":"event"},{"inputs":[],"name":"FIXED_NFT_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPriorOwnerByToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct Harvestooor.NFT[]","name":"tokens","type":"tuple[]"}],"name":"repurchaseTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct Harvestooor.NFT[]","name":"tokens","type":"tuple[]"}],"name":"sellTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5062000032620000266200005960201b60201c565b6200006160201b60201c565b60008060146101000a81548160ff0219169083151502179055506001808190555062000125565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61259f80620001356000396000f3fe6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063ec89b85c11610059578063ec89b85c14610211578063f2fde38b1461023a578063f3fef3a314610263578063fcb03ba11461028c576100c2565b80638da5cb5b1461019f578063b1dccc56146101ca578063d0e30db014610207576100c2565b8063150b7a02146100c75780632025353b146101045780633f4ba83a1461012f5780635c975abb14610146578063715018a6146101715780638456cb5914610188575b600080fd5b3480156100d357600080fd5b506100ee60048036038101906100e99190611667565b6102a8565b6040516100fb9190611725565b60405180910390f35b34801561011057600080fd5b506101196103a2565b604051610126919061174f565b60405180910390f35b34801561013b57600080fd5b506101446103ab565b005b34801561015257600080fd5b5061015b610419565b6040516101689190611785565b60405180910390f35b34801561017d57600080fd5b5061018661042f565b005b34801561019457600080fd5b5061019d610443565b005b3480156101ab57600080fd5b506101b46104b1565b6040516101c191906117af565b60405180910390f35b3480156101d657600080fd5b506101f160048036038101906101ec91906117ca565b6104da565b6040516101fe91906117af565b60405180910390f35b61020f610555565b005b34801561021d57600080fd5b506102386004803603810190610233919061186a565b610644565b005b34801561024657600080fd5b50610261600480360381019061025c91906118b7565b610a8b565b005b34801561026f57600080fd5b5061028a60048036038101906102859190611922565b610b0e565b005b6102a660048036038101906102a1919061186a565b610c29565b005b60006102b2610fb2565b8373ffffffffffffffffffffffffffffffffffffffff16600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610390576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610387906119e5565b60405180910390fd5b63150b7a0260e01b9050949350505050565b6402540be40081565b6002600154036103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e790611a51565b60405180910390fd5b6002600181905550610400610ffc565b61040861107a565b6104106110c3565b60018081905550565b60008060149054906101000a900460ff16905090565b610437610ffc565b6104416000611125565b565b600260015403610488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047f90611a51565b60405180910390fd5b6002600181905550610498610ffc565b6104a0610fb2565b6104a86111e9565b60018081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b60026001540361059a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059190611a51565b60405180910390fd5b60026001819055506105aa610fb2565b600034116105ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e490611ae3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f7e71433ddf847725166244795048ecf3e3f9f35628254ecbf73605666423349334604051610633919061174f565b60405180910390a260018081905550565b600260015403610689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068090611a51565b60405180910390fd5b6002600181905550610699610fb2565b600082829050116106df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d690611b75565b60405180910390fd5b600033905060006402540be400848490506106fa9190611bc4565b90508047101561073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690611c78565b60405180910390fd5b60005b84849050811015610a2357600085858381811061076257610761611c98565b5b905060400201600001602081019061077a91906118b7565b9050600086868481811061079157610790611c98565b5b9050604002016020013590506107e67f80ac58cd000000000000000000000000000000000000000000000000000000008373ffffffffffffffffffffffffffffffffffffffff1661124c90919063ffffffff16565b610825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081c90611d39565b60405180910390fd5b60008290508573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161087a919061174f565b602060405180830381865afa158015610897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bb9190611d6e565b73ffffffffffffffffffffffffffffffffffffffff1614610911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090890611e0d565b60405180910390fd5b85600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166342842e0e8730856040518463ffffffff1660e01b81526004016109dd93929190611e8c565b600060405180830381600087803b1580156109f757600080fd5b505af1158015610a0b573d6000803e3d6000fd5b5050505050505080610a1c90611ec3565b9050610742565b508173ffffffffffffffffffffffffffffffffffffffff167fac0350207e1f9fa4626b2bbe1325da7e9b6a7842331aab16aa0bd964553685fd8585604051610a6c92919061203e565b60405180910390a2610a7e8282611271565b5050600180819055505050565b610a93610ffc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906120d4565b60405180910390fd5b610b0b81611125565b50565b600260015403610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90611a51565b60405180910390fd5b6002600181905550610b63610ffc565b60008111610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90612166565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b906121f8565b60405180910390fd5b610c1e8282611271565b600180819055505050565b600260015403610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590611a51565b60405180910390fd5b6002600181905550610c7e610fb2565b60008282905011610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90611b75565b60405180910390fd5b60006402540be40083839050610cda9190611bc4565b9050803414610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d159061228a565b60405180910390fd5b60005b83839050811015610f55576000848483818110610d4157610d40611c98565b5b9050604002016000016020810190610d5991906118b7565b90506000858584818110610d7057610d6f611c98565b5b9050604002016020013590503373ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e51906119e5565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560008290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff1660e01b8152600401610f0f939291906122aa565b600060405180830381600087803b158015610f2957600080fd5b505af1158015610f3d573d6000803e3d6000fd5b5050505050505080610f4e90611ec3565b9050610d21565b503373ffffffffffffffffffffffffffffffffffffffff167f79c7a5b24bc110d55fbf3d31e45a1853048e7725b6c775e42a7a7bbfdff4b5c18484604051610f9e92919061203e565b60405180910390a250600180819055505050565b610fba610419565b15610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff19061232d565b60405180910390fd5b565b611004611365565b73ffffffffffffffffffffffffffffffffffffffff166110226104b1565b73ffffffffffffffffffffffffffffffffffffffff1614611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90612399565b60405180910390fd5b565b611082610419565b6110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890612405565b60405180910390fd5b565b6110cb61107a565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61110e611365565b60405161111b91906117af565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6111f1610fb2565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611235611365565b60405161124291906117af565b60405180910390a1565b60006112578361136d565b8015611269575061126883836113ba565b5b905092915050565b804710156112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab90612471565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516112da906124c2565b60006040518083038185875af1925050503d8060008114611317576040519150601f19603f3d011682016040523d82523d6000602084013e61131c565b606091505b5050905080611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790612549565b60405180910390fd5b505050565b600033905090565b6000611399827f01ffc9a7000000000000000000000000000000000000000000000000000000006113ba565b80156113b357506113b18263ffffffff60e01b6113ba565b155b9050919050565b6000806301ffc9a760e01b836040516024016113d69190611725565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506000806000602060008551602087018a617530fa92503d91506000519050828015611461575060208210155b801561146d5750600081115b94505050505092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006114b88261148d565b9050919050565b6114c8816114ad565b81146114d357600080fd5b50565b6000813590506114e5816114bf565b92915050565b6000819050919050565b6114fe816114eb565b811461150957600080fd5b50565b60008135905061151b816114f5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6115748261152b565b810181811067ffffffffffffffff821117156115935761159261153c565b5b80604052505050565b60006115a6611479565b90506115b2828261156b565b919050565b600067ffffffffffffffff8211156115d2576115d161153c565b5b6115db8261152b565b9050602081019050919050565b82818337600083830152505050565b600061160a611605846115b7565b61159c565b90508281526020810184848401111561162657611625611526565b5b6116318482856115e8565b509392505050565b600082601f83011261164e5761164d611521565b5b813561165e8482602086016115f7565b91505092915050565b6000806000806080858703121561168157611680611483565b5b600061168f878288016114d6565b94505060206116a0878288016114d6565b93505060406116b18782880161150c565b925050606085013567ffffffffffffffff8111156116d2576116d1611488565b5b6116de87828801611639565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61171f816116ea565b82525050565b600060208201905061173a6000830184611716565b92915050565b611749816114eb565b82525050565b60006020820190506117646000830184611740565b92915050565b60008115159050919050565b61177f8161176a565b82525050565b600060208201905061179a6000830184611776565b92915050565b6117a9816114ad565b82525050565b60006020820190506117c460008301846117a0565b92915050565b600080604083850312156117e1576117e0611483565b5b60006117ef858286016114d6565b92505060206118008582860161150c565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261182a57611829611521565b5b8235905067ffffffffffffffff8111156118475761184661180a565b5b6020830191508360408202830111156118635761186261180f565b5b9250929050565b6000806020838503121561188157611880611483565b5b600083013567ffffffffffffffff81111561189f5761189e611488565b5b6118ab85828601611814565b92509250509250929050565b6000602082840312156118cd576118cc611483565b5b60006118db848285016114d6565b91505092915050565b60006118ef8261148d565b9050919050565b6118ff816118e4565b811461190a57600080fd5b50565b60008135905061191c816118f6565b92915050565b6000806040838503121561193957611938611483565b5b60006119478582860161190d565b92505060206119588582860161150c565b9150509250929050565b600082825260208201905092915050565b7f486172766573746f6f6f723a204e4654206d7573742068617665206265656e2060008201527f70726576696f75736c7920736f6c6420746f2074686520636f6e747261637400602082015250565b60006119cf603f83611962565b91506119da82611973565b604082019050919050565b600060208201905081810360008301526119fe816119c2565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611a3b601f83611962565b9150611a4682611a05565b602082019050919050565b60006020820190508181036000830152611a6a81611a2e565b9050919050565b7f486172766573746f6f6f723a2056616c7565206d75737420626520677265617460008201527f6572207468616e207a65726f0000000000000000000000000000000000000000602082015250565b6000611acd602c83611962565b9150611ad882611a71565b604082019050919050565b60006020820190508181036000830152611afc81611ac0565b9050919050565b7f486172766573746f6f6f723a2027746f6b656e7327206d757374206e6f74206260008201527f6520656d70747900000000000000000000000000000000000000000000000000602082015250565b6000611b5f602783611962565b9150611b6a82611b03565b604082019050919050565b60006020820190508181036000830152611b8e81611b52565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611bcf826114eb565b9150611bda836114eb565b9250828202611be8816114eb565b91508282048414831517611bff57611bfe611b95565b5b5092915050565b7f486172766573746f6f6f723a20496e73756666696369656e742042616c616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000611c62602183611962565b9150611c6d82611c06565b604082019050919050565b60006020820190508181036000830152611c9181611c55565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f486172766573746f6f6f723a20546f6b656e206d75737420696d706c656d656e60008201527f74204945524337323120696e7465726661636500000000000000000000000000602082015250565b6000611d23603383611962565b9150611d2e82611cc7565b604082019050919050565b60006020820190508181036000830152611d5281611d16565b9050919050565b600081519050611d68816114bf565b92915050565b600060208284031215611d8457611d83611483565b5b6000611d9284828501611d59565b91505092915050565b7f486172766573746f6f6f723a204e4654206d75737420626520736f6c6420627960008201527f20697473206f776e657200000000000000000000000000000000000000000000602082015250565b6000611df7602a83611962565b9150611e0282611d9b565b604082019050919050565b60006020820190508181036000830152611e2681611dea565b9050919050565b6000819050919050565b6000611e52611e4d611e488461148d565b611e2d565b61148d565b9050919050565b6000611e6482611e37565b9050919050565b6000611e7682611e59565b9050919050565b611e8681611e6b565b82525050565b6000606082019050611ea16000830186611e7d565b611eae60208301856117a0565b611ebb6040830184611740565b949350505050565b6000611ece826114eb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f0057611eff611b95565b5b600182019050919050565b600082825260208201905092915050565b6000819050919050565b6000611f3560208401846114d6565b905092915050565b611f46816114ad565b82525050565b6000611f5b602084018461150c565b905092915050565b611f6c816114eb565b82525050565b60408201611f836000830183611f26565b611f906000850182611f3d565b50611f9e6020830183611f4c565b611fab6020850182611f63565b50505050565b6000611fbd8383611f72565b60408301905092915050565b600082905092915050565b6000604082019050919050565b6000611fed8385611f0b565b9350611ff882611f1c565b8060005b858110156120315761200e8284611fc9565b6120188882611fb1565b975061202383611fd4565b925050600181019050611ffc565b5085925050509392505050565b60006020820190508181036000830152612059818486611fe1565b90509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120be602683611962565b91506120c982612062565b604082019050919050565b600060208201905081810360008301526120ed816120b1565b9050919050565b7f486172766573746f6f6f723a2027616d6f756e7427206d75737420626520677260008201527f6561746572207468616e207a65726f0000000000000000000000000000000000602082015250565b6000612150602f83611962565b915061215b826120f4565b604082019050919050565b6000602082019050818103600083015261217f81612143565b9050919050565b7f486172766573746f6f6f723a2027726563697069656e7427206d75737420626560008201527f20616e206f757473696465206163636f756e7400000000000000000000000000602082015250565b60006121e2603383611962565b91506121ed82612186565b604082019050919050565b60006020820190508181036000830152612211816121d5565b9050919050565b7f486172766573746f6f6f723a205472616e73616374696f6e206d75737420696e60008201527f636c75646520636f7272656374204554482076616c7565000000000000000000602082015250565b6000612274603783611962565b915061227f82612218565b604082019050919050565b600060208201905081810360008301526122a381612267565b9050919050565b60006060820190506122bf60008301866117a0565b6122cc60208301856117a0565b6122d96040830184611740565b949350505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612317601083611962565b9150612322826122e1565b602082019050919050565b600060208201905081810360008301526123468161230a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612383602083611962565b915061238e8261234d565b602082019050919050565b600060208201905081810360008301526123b281612376565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006123ef601483611962565b91506123fa826123b9565b602082019050919050565b6000602082019050818103600083015261241e816123e2565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061245b601d83611962565b915061246682612425565b602082019050919050565b6000602082019050818103600083015261248a8161244e565b9050919050565b600081905092915050565b50565b60006124ac600083612491565b91506124b78261249c565b600082019050919050565b60006124cd8261249f565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612533603a83611962565b915061253e826124d7565b604082019050919050565b6000602082019050818103600083015261256281612526565b905091905056fea2646970667358221220d59c121c2a8682c50ba201262f52a378a934f40ba82c514fa6570b1b0d6cde5a64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063ec89b85c11610059578063ec89b85c14610211578063f2fde38b1461023a578063f3fef3a314610263578063fcb03ba11461028c576100c2565b80638da5cb5b1461019f578063b1dccc56146101ca578063d0e30db014610207576100c2565b8063150b7a02146100c75780632025353b146101045780633f4ba83a1461012f5780635c975abb14610146578063715018a6146101715780638456cb5914610188575b600080fd5b3480156100d357600080fd5b506100ee60048036038101906100e99190611667565b6102a8565b6040516100fb9190611725565b60405180910390f35b34801561011057600080fd5b506101196103a2565b604051610126919061174f565b60405180910390f35b34801561013b57600080fd5b506101446103ab565b005b34801561015257600080fd5b5061015b610419565b6040516101689190611785565b60405180910390f35b34801561017d57600080fd5b5061018661042f565b005b34801561019457600080fd5b5061019d610443565b005b3480156101ab57600080fd5b506101b46104b1565b6040516101c191906117af565b60405180910390f35b3480156101d657600080fd5b506101f160048036038101906101ec91906117ca565b6104da565b6040516101fe91906117af565b60405180910390f35b61020f610555565b005b34801561021d57600080fd5b506102386004803603810190610233919061186a565b610644565b005b34801561024657600080fd5b50610261600480360381019061025c91906118b7565b610a8b565b005b34801561026f57600080fd5b5061028a60048036038101906102859190611922565b610b0e565b005b6102a660048036038101906102a1919061186a565b610c29565b005b60006102b2610fb2565b8373ffffffffffffffffffffffffffffffffffffffff16600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610390576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610387906119e5565b60405180910390fd5b63150b7a0260e01b9050949350505050565b6402540be40081565b6002600154036103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e790611a51565b60405180910390fd5b6002600181905550610400610ffc565b61040861107a565b6104106110c3565b60018081905550565b60008060149054906101000a900460ff16905090565b610437610ffc565b6104416000611125565b565b600260015403610488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047f90611a51565b60405180910390fd5b6002600181905550610498610ffc565b6104a0610fb2565b6104a86111e9565b60018081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b60026001540361059a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059190611a51565b60405180910390fd5b60026001819055506105aa610fb2565b600034116105ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e490611ae3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f7e71433ddf847725166244795048ecf3e3f9f35628254ecbf73605666423349334604051610633919061174f565b60405180910390a260018081905550565b600260015403610689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068090611a51565b60405180910390fd5b6002600181905550610699610fb2565b600082829050116106df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d690611b75565b60405180910390fd5b600033905060006402540be400848490506106fa9190611bc4565b90508047101561073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690611c78565b60405180910390fd5b60005b84849050811015610a2357600085858381811061076257610761611c98565b5b905060400201600001602081019061077a91906118b7565b9050600086868481811061079157610790611c98565b5b9050604002016020013590506107e67f80ac58cd000000000000000000000000000000000000000000000000000000008373ffffffffffffffffffffffffffffffffffffffff1661124c90919063ffffffff16565b610825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081c90611d39565b60405180910390fd5b60008290508573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161087a919061174f565b602060405180830381865afa158015610897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bb9190611d6e565b73ffffffffffffffffffffffffffffffffffffffff1614610911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090890611e0d565b60405180910390fd5b85600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166342842e0e8730856040518463ffffffff1660e01b81526004016109dd93929190611e8c565b600060405180830381600087803b1580156109f757600080fd5b505af1158015610a0b573d6000803e3d6000fd5b5050505050505080610a1c90611ec3565b9050610742565b508173ffffffffffffffffffffffffffffffffffffffff167fac0350207e1f9fa4626b2bbe1325da7e9b6a7842331aab16aa0bd964553685fd8585604051610a6c92919061203e565b60405180910390a2610a7e8282611271565b5050600180819055505050565b610a93610ffc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906120d4565b60405180910390fd5b610b0b81611125565b50565b600260015403610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90611a51565b60405180910390fd5b6002600181905550610b63610ffc565b60008111610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90612166565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b906121f8565b60405180910390fd5b610c1e8282611271565b600180819055505050565b600260015403610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590611a51565b60405180910390fd5b6002600181905550610c7e610fb2565b60008282905011610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90611b75565b60405180910390fd5b60006402540be40083839050610cda9190611bc4565b9050803414610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d159061228a565b60405180910390fd5b60005b83839050811015610f55576000848483818110610d4157610d40611c98565b5b9050604002016000016020810190610d5991906118b7565b90506000858584818110610d7057610d6f611c98565b5b9050604002016020013590503373ffffffffffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e51906119e5565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560008290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff1660e01b8152600401610f0f939291906122aa565b600060405180830381600087803b158015610f2957600080fd5b505af1158015610f3d573d6000803e3d6000fd5b5050505050505080610f4e90611ec3565b9050610d21565b503373ffffffffffffffffffffffffffffffffffffffff167f79c7a5b24bc110d55fbf3d31e45a1853048e7725b6c775e42a7a7bbfdff4b5c18484604051610f9e92919061203e565b60405180910390a250600180819055505050565b610fba610419565b15610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff19061232d565b60405180910390fd5b565b611004611365565b73ffffffffffffffffffffffffffffffffffffffff166110226104b1565b73ffffffffffffffffffffffffffffffffffffffff1614611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90612399565b60405180910390fd5b565b611082610419565b6110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890612405565b60405180910390fd5b565b6110cb61107a565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61110e611365565b60405161111b91906117af565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6111f1610fb2565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611235611365565b60405161124291906117af565b60405180910390a1565b60006112578361136d565b8015611269575061126883836113ba565b5b905092915050565b804710156112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab90612471565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516112da906124c2565b60006040518083038185875af1925050503d8060008114611317576040519150601f19603f3d011682016040523d82523d6000602084013e61131c565b606091505b5050905080611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790612549565b60405180910390fd5b505050565b600033905090565b6000611399827f01ffc9a7000000000000000000000000000000000000000000000000000000006113ba565b80156113b357506113b18263ffffffff60e01b6113ba565b155b9050919050565b6000806301ffc9a760e01b836040516024016113d69190611725565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506000806000602060008551602087018a617530fa92503d91506000519050828015611461575060208210155b801561146d5750600081115b94505050505092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006114b88261148d565b9050919050565b6114c8816114ad565b81146114d357600080fd5b50565b6000813590506114e5816114bf565b92915050565b6000819050919050565b6114fe816114eb565b811461150957600080fd5b50565b60008135905061151b816114f5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6115748261152b565b810181811067ffffffffffffffff821117156115935761159261153c565b5b80604052505050565b60006115a6611479565b90506115b2828261156b565b919050565b600067ffffffffffffffff8211156115d2576115d161153c565b5b6115db8261152b565b9050602081019050919050565b82818337600083830152505050565b600061160a611605846115b7565b61159c565b90508281526020810184848401111561162657611625611526565b5b6116318482856115e8565b509392505050565b600082601f83011261164e5761164d611521565b5b813561165e8482602086016115f7565b91505092915050565b6000806000806080858703121561168157611680611483565b5b600061168f878288016114d6565b94505060206116a0878288016114d6565b93505060406116b18782880161150c565b925050606085013567ffffffffffffffff8111156116d2576116d1611488565b5b6116de87828801611639565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61171f816116ea565b82525050565b600060208201905061173a6000830184611716565b92915050565b611749816114eb565b82525050565b60006020820190506117646000830184611740565b92915050565b60008115159050919050565b61177f8161176a565b82525050565b600060208201905061179a6000830184611776565b92915050565b6117a9816114ad565b82525050565b60006020820190506117c460008301846117a0565b92915050565b600080604083850312156117e1576117e0611483565b5b60006117ef858286016114d6565b92505060206118008582860161150c565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261182a57611829611521565b5b8235905067ffffffffffffffff8111156118475761184661180a565b5b6020830191508360408202830111156118635761186261180f565b5b9250929050565b6000806020838503121561188157611880611483565b5b600083013567ffffffffffffffff81111561189f5761189e611488565b5b6118ab85828601611814565b92509250509250929050565b6000602082840312156118cd576118cc611483565b5b60006118db848285016114d6565b91505092915050565b60006118ef8261148d565b9050919050565b6118ff816118e4565b811461190a57600080fd5b50565b60008135905061191c816118f6565b92915050565b6000806040838503121561193957611938611483565b5b60006119478582860161190d565b92505060206119588582860161150c565b9150509250929050565b600082825260208201905092915050565b7f486172766573746f6f6f723a204e4654206d7573742068617665206265656e2060008201527f70726576696f75736c7920736f6c6420746f2074686520636f6e747261637400602082015250565b60006119cf603f83611962565b91506119da82611973565b604082019050919050565b600060208201905081810360008301526119fe816119c2565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611a3b601f83611962565b9150611a4682611a05565b602082019050919050565b60006020820190508181036000830152611a6a81611a2e565b9050919050565b7f486172766573746f6f6f723a2056616c7565206d75737420626520677265617460008201527f6572207468616e207a65726f0000000000000000000000000000000000000000602082015250565b6000611acd602c83611962565b9150611ad882611a71565b604082019050919050565b60006020820190508181036000830152611afc81611ac0565b9050919050565b7f486172766573746f6f6f723a2027746f6b656e7327206d757374206e6f74206260008201527f6520656d70747900000000000000000000000000000000000000000000000000602082015250565b6000611b5f602783611962565b9150611b6a82611b03565b604082019050919050565b60006020820190508181036000830152611b8e81611b52565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611bcf826114eb565b9150611bda836114eb565b9250828202611be8816114eb565b91508282048414831517611bff57611bfe611b95565b5b5092915050565b7f486172766573746f6f6f723a20496e73756666696369656e742042616c616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000611c62602183611962565b9150611c6d82611c06565b604082019050919050565b60006020820190508181036000830152611c9181611c55565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f486172766573746f6f6f723a20546f6b656e206d75737420696d706c656d656e60008201527f74204945524337323120696e7465726661636500000000000000000000000000602082015250565b6000611d23603383611962565b9150611d2e82611cc7565b604082019050919050565b60006020820190508181036000830152611d5281611d16565b9050919050565b600081519050611d68816114bf565b92915050565b600060208284031215611d8457611d83611483565b5b6000611d9284828501611d59565b91505092915050565b7f486172766573746f6f6f723a204e4654206d75737420626520736f6c6420627960008201527f20697473206f776e657200000000000000000000000000000000000000000000602082015250565b6000611df7602a83611962565b9150611e0282611d9b565b604082019050919050565b60006020820190508181036000830152611e2681611dea565b9050919050565b6000819050919050565b6000611e52611e4d611e488461148d565b611e2d565b61148d565b9050919050565b6000611e6482611e37565b9050919050565b6000611e7682611e59565b9050919050565b611e8681611e6b565b82525050565b6000606082019050611ea16000830186611e7d565b611eae60208301856117a0565b611ebb6040830184611740565b949350505050565b6000611ece826114eb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f0057611eff611b95565b5b600182019050919050565b600082825260208201905092915050565b6000819050919050565b6000611f3560208401846114d6565b905092915050565b611f46816114ad565b82525050565b6000611f5b602084018461150c565b905092915050565b611f6c816114eb565b82525050565b60408201611f836000830183611f26565b611f906000850182611f3d565b50611f9e6020830183611f4c565b611fab6020850182611f63565b50505050565b6000611fbd8383611f72565b60408301905092915050565b600082905092915050565b6000604082019050919050565b6000611fed8385611f0b565b9350611ff882611f1c565b8060005b858110156120315761200e8284611fc9565b6120188882611fb1565b975061202383611fd4565b925050600181019050611ffc565b5085925050509392505050565b60006020820190508181036000830152612059818486611fe1565b90509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120be602683611962565b91506120c982612062565b604082019050919050565b600060208201905081810360008301526120ed816120b1565b9050919050565b7f486172766573746f6f6f723a2027616d6f756e7427206d75737420626520677260008201527f6561746572207468616e207a65726f0000000000000000000000000000000000602082015250565b6000612150602f83611962565b915061215b826120f4565b604082019050919050565b6000602082019050818103600083015261217f81612143565b9050919050565b7f486172766573746f6f6f723a2027726563697069656e7427206d75737420626560008201527f20616e206f757473696465206163636f756e7400000000000000000000000000602082015250565b60006121e2603383611962565b91506121ed82612186565b604082019050919050565b60006020820190508181036000830152612211816121d5565b9050919050565b7f486172766573746f6f6f723a205472616e73616374696f6e206d75737420696e60008201527f636c75646520636f7272656374204554482076616c7565000000000000000000602082015250565b6000612274603783611962565b915061227f82612218565b604082019050919050565b600060208201905081810360008301526122a381612267565b9050919050565b60006060820190506122bf60008301866117a0565b6122cc60208301856117a0565b6122d96040830184611740565b949350505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612317601083611962565b9150612322826122e1565b602082019050919050565b600060208201905081810360008301526123468161230a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612383602083611962565b915061238e8261234d565b602082019050919050565b600060208201905081810360008301526123b281612376565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006123ef601483611962565b91506123fa826123b9565b602082019050919050565b6000602082019050818103600083015261241e816123e2565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061245b601d83611962565b915061246682612425565b602082019050919050565b6000602082019050818103600083015261248a8161244e565b9050919050565b600081905092915050565b50565b60006124ac600083612491565b91506124b78261249c565b600082019050919050565b60006124cd8261249f565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612533603a83611962565b915061253e826124d7565b604082019050919050565b6000602082019050818103600083015261256281612526565b905091905056fea2646970667358221220d59c121c2a8682c50ba201262f52a378a934f40ba82c514fa6570b1b0d6cde5a64736f6c63430008110033

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.