Structs

Definition of structures used in Renfter Protocol

Offer

struct Offer {
    address lender;
    uint96 pricePerSecond;
    uint64 maxRentDuration;
    address beneficiary;
}

Structure containing rental offer data

Properties

Rent

struct Rent {
    address holderWallet;
    uint64 expirationTs;
}

Structure containing rental data

Properties

ConditionsParams

struct ConditionsParams {
    uint96 pricePerSecond;
    uint64 maxRentDuration;
    address beneficiary;
}

Structure containing offer conditions

Properties

WhitelistedParams

struct WhitelistedParams {
    bytes4 selector;
    uint112 callLimit;
}

Structure used for setting whitelisting method selectors

Properties

Whitelisted

 struct Whitelisted {
    bytes4 selector;
    uint112 callCount;
    uint112 callLimit;
}

Structure for storing whitelisted selectors data

Properties

Last updated