ERC EIP for lending NFT (ERC-721) tokens?

I can imagine that key to my home is an ERC-721 compatible token.

I would like to rent my home for a period of 12 months.

I would like to keep the compatibility with all the existing standards and infrastructure.

https://eips.ethereum.org/EIPS/eip-721

function ownerOf(uint256 _tokenId) external view returns (address);

I was searching for “NFT lending” and saw this diagram via tinlake.com

It seems like the situation I describe would require “NFT Deposit Contract” or “NFT Wrapper Contract” that would be a superset of ERC-721. It would implement all the ERC-721 methods and a few more things:

  • internal state of ownership
  • function transferring the barebone (unwraped, raw) token to the rightful owner

Before I start overthinking too much, are you aware of any similar work in the space?

Hey, did you ever go anywhere with this? I don’t see any other works at the moment. I’m hoping that a standardized way of checking ownership can be used by apps, and a common interface can allow the wrappers to cross-check with other wrappers using ownerOf and EIP-165.

I think that this can be very useful, on top of rental use cases. I also made a prototype of this here:

I’ll like to build on it to include functions for

  • WrapperFactory that tracks created wrappers
  • Ability to query for ‘virtual ownership’ across different wrapper contracts.