Terms
A term is a position that ends. Its basis points go back to the position they came from.
How a term works
The seller lists basis points with a duration (1 day to 10 years). The buyer's position earns until expiresAt. The seller's position keeps the right to get them back, even if the seller sells it meanwhile.
When it ends
Anyone can call endLease once the term is over: the lessee is paid what it earned and the basis points go back. Our keeper does it the minute a term ends. Fees harvested between the end and that call still count for the lessee, so the keeper keeps that gap to about a minute.