The Offer type represents an offer for an NFT loan.
type Offer = {
createdAt: number;
offer: OfferDetails;
signature: `0x${string}`;
status: "ACTIVE" | "USED_TO_EXECUTE_LOAN" | "CANCELLED";
};
These properties provide comprehensive details about the offer, which can be used for various purposes such as tracking the status of the offer, verifying the authenticity of the offer, and managing the execution of the loan.
createdAt
A number representing the Unix timestamp (in seconds) for when the offer was created.
offer
An OfferDetails type(add link)
signature
A string representing the digital signature of the offer. It starts with "0x" followed by a string of hexadecimal digits.
status
A string representing the status of the offer. It can have one of the following values: "ACTIVE", "USED_TO_EXECUTE_LOAN", or "CANCELLED"