struct RentalOffer {
/// address of the user renting his NFTs
address maker;
/// address of the allowed tenant if private rental or `0x0` if public rental
address taker;
/// NFTs included in this rental offer
NFT[] nfts;
/// address of the ERC20 token for rental fees
address feeToken;
/// amount of the rental fee
uint256 feeAmount;
/// nonce
uint256 nonce;
/// until when the rental offer is valid
uint256 deadline;
}
struct NFT {
/// address of the contract of the NFT to rent
address token;
/// specific NFT to be rented
uint256 tokenId;
/// how long the rent should be
uint64 duration;
/// percentage of rewards for the lender, in basis points format
uint16 basisPoints;
}
Basis points are values between 0 and 10000 used as percentages.