Submitted by GreyArt, also found by leastwood and rayn
prePO Docs: Expiry
PrePOMarket.sol#L145-L156
The docs say that If a market has not settled by its expiry date, it will automatically settle at the lower bound of its Valuation Range.
However, in the implementation, the expiry date is entirely ignored. The default settlement after expiry is a 1:1 ratio of long and short token for 1 collateral token.
Should users believe that the market will settle at the lower bound, they would swap and hold long for short tokens instead of at a 1:1 ratio upon expiry. Thereafter, they would incur swap fees from having to swap some short tokens back for long tokens for redemption. User funds are also  affected should long tokens are repurchased at a higher price than when they were sold.
If the market is to settle at the lower valuation after expiry, then the following logic should be added:
Otherwise, the documentation should be updated to reflect the default behaviour of 1:1 redemption.
ramenforbreakfast (prePO) disagreed with Medium severity
ramenforbreakfast (prePO) agreed with Medium severity and commented:
gzeon (judge) commented:
