Structs
Definition of structures used in Renfter Protocol
Offer
Structure containing rental offer data
Properties
lender
address
Token lender address
pricePerSecond
uint96
Price per second during rental period
maxRentDuration
uint64
Maximum rent duration in seconds
beneficiary
address
Address that should hold original token during rental period
Rent
Structure containing rental data
Properties
holderWallet
address
Wallet address holding original token during retal period
expirationTs
uint64
Rent expiration timestamp (UNIX)
ConditionsParams
Structure containing offer conditions
Properties
pricePerSecond
uint96
Price per second during rental period
maxRentDuration
uint64
Maximum rent duration in seconds
beneficiary
address
Address that should hold original token during rental period
WhitelistedParams
Structure used for setting whitelisting method selectors
Properties
selector
bytes4
Method selector
callLimit
uint112
Limit of calls for method
Whitelisted
Structure for storing whitelisted selectors data
Properties
selector
bytes4
Method selector
callCount
uint112
Current call count
callLimit
uint112
Limit of calls for method
Last updated