Skip to content

IAvailabilityPeriodMechanics

IAvailabilityPeriodMechanics

WarperIsNotAvailableForRenting

error WarperIsNotAvailableForRenting(uint256 currentTime, uint32 availabilityPeriodStart, uint32 availabilityPeriodEnd)

Thrown when the current time is not withing the warper availability period.

__availabilityPeriodStart

function __availabilityPeriodStart() external view returns (uint32)

Returns warper availability period starting time.

Name Type Description
[0] uint32 Unix timestamp after which the warper is rentable.

__availabilityPeriodEnd

function __availabilityPeriodEnd() external view returns (uint32)

Returns warper availability period ending time.

Name Type Description
[0] uint32 Unix timestamp after which the warper is NOT rentable.

__availabilityPeriodRange

function __availabilityPeriodRange() external view returns (uint32 availabilityPeriodStart, uint32 availabilityPeriodEnd)

Returns warper availability period.

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