Skip to content

Offer

Represents an offer and provides functions to validate and compute offer-related data.

struct Offer {
    uint256 minPrice;
    uint256 maxPrice;
    uint64 rampUpStart;
    uint32 rampUpPeriod;
    uint32 lockTimeout;
    uint32 timeout;
    uint256 lockCollateral;
}