Method whitelisting
Last updated
Last updated
Defining the methods that are going to be whitelisted can be done when the wrapper token is being offered for rent by calling the following function defined in Renfter smart contract:
whitelisted
parameter should contain an array of structure objects. This object contains info about the method selector, the call limit of the method, and if it's whitelisted or not. The lender can call the following function of NFT collection wrapper in order to add/remove whitelist and configure it:
The whitelist can only be changed only when the token of interest is not rented out.