structRentalOffer {/// address of the user renting his NFTsaddress maker;/// address of the allowed tenant if private rental or `0x0` if public rentaladdress taker;/// NFTs included in this rental offer NFT[] nfts;/// address of the ERC20 token for rental feesaddress feeToken;/// amount of the rental feeuint256 feeAmount;/// nonceuint256 nonce;/// until when the rental offer is validuint256 deadline;}structNFT {/// address of the contract of the NFT to rentaddress token;/// specific NFT to be renteduint256 tokenId;/// how long the rent should beuint64 duration;/// percentage of rewards for the lender, in basis points formatuint16 basisPoints;}
Basis points are values between 0 and 10000 used as percentages.