Interface of the Offers.sol contract. Does not include restricted or optional functions. To view the full interface visit: link to interface on github.
Structs
struct Offer {
// offer creator
address creator;
// offer loan duration
uint32 duration;
// the expiration timestamp of the offer in a unix timestamp in seconds
uint32 expiration;
// is loan offer fixed terms or open for auction
bool fixedTerms;
// is offer for single NFT or for every NFT in a collection
bool floorTerm;
// whether or not this offer was made by a lender or a borrower
bool lenderOffer;
// offer NFT contract address
address nftContractAddress;
// offer NFT ID
uint256 nftId; // ignored if floorTerm is true
// offer asset type
address asset;
// offer loan amount
uint128 amount;
// offer interest rate per second. (Amount * InterestRate) / MAX-BPS / Duration
uint96 interestRatePerSecond;
}