I have checked EIP 5058 and found it's good idea. https://eips.ethereum.org/EIPS/eip-5058
But when I am trying to implement I found some problems.
function lock(uint256 tokenId, uint256 expired) external; event Locked(address indexed operator, address indexed from, uint256 indexed tokenId, uint256 expired);
The lock function will emit the event Locked. And Locked function has parameter as an address of "from", which is not exist in lock function. How can I get the address of "from"? (I am thinking "from" is the address of marketplace that lock that NFT.)