Skip to content

IConfigurableRentalPeriodExtension

IConfigurableRentalPeriodExtension

InvalidMinRentalPeriod

error InvalidMinRentalPeriod()

Thrown when the the min rental period is not strictly lesser than max rental period

InvalidMaxRentalPeriod

error InvalidMaxRentalPeriod()

Thrown when the max rental period is not greater or equal than min rental period

__setMinRentalPeriod

function __setMinRentalPeriod(uint32 minRentalPeriod) external

Sets warper min rental period.

Name Type Description
minRentalPeriod uint32 New min rental period value.

__setMaxRentalPeriod

function __setMaxRentalPeriod(uint32 maxRentalPeriod) external

Sets warper max rental period.

Name Type Description
maxRentalPeriod uint32 New max rental period value.