Skip to content

IConfigurableAvailabilityPeriodExtension

IConfigurableAvailabilityPeriodExtension

InvalidAvailabilityPeriodStart

error InvalidAvailabilityPeriodStart()

Thrown when the availability period start time is not strictly lesser than the end time

InvalidAvailabilityPeriodEnd

error InvalidAvailabilityPeriodEnd()

Thrown when the availability period end time is not greater or equal than the start time

__setAvailabilityPeriodStart

function __setAvailabilityPeriodStart(uint32 availabilityPeriodStart) external

Sets warper availability period starting time.

Name Type Description
availabilityPeriodStart uint32 Unix timestamp after which the warper is rentable.

__setAvailabilityPeriodEnd

function __setAvailabilityPeriodEnd(uint32 availabilityPeriodEnd) external

Sets warper availability period ending time.

Name Type Description
availabilityPeriodEnd uint32 Unix timestamp after which the warper is NOT rentable.