Independent extension of Frankencoin mechanics

Follow a price disagreement into the arena.

Oracle-free replaces an external liquidation price feed with participant challenges and auctions.

Challenge aversion and Dutch auction are different paths
Challenge startCollateral committed before position expiry
Aversion windowThrough start + one challenge period
Dutch auctionOnly after that boundary
Expired forced sale is a separate curve: 10× at expiration → 1× after one challenge period → 0 after two.
Conceptual arena, exact contract boundaries below. No external price feed or supplied challenger bot decides when to act.

Starting a challenge

A challenger commits the position's collateral token and supplies a minimum-price guard against an adverse price change. New challenges require now < expiration; none can start at or after expiration. The challenged size must be nonzero and generally at least the position minimum, unless it covers the entire remaining collateral balance.

A challenge is an economic action, not a free price report. The challenger may disagree with the stored liquidation price, but the subsequent transfer, bid and settlement rules determine the result.

Exact aversion and auction boundaries

At exactly challenge.start + challengePeriod, a bid still averts; the auction requires a strictly later timestamp. Existing challenges can continue after position expiration, but no new challenge can begin there.

Expired collateral uses another curve

expiredPurchasePrice is not the ordinary Dutch-auction price. For an expired position with no open challenge, forced sale uses these exact anchors:

Forced-sale proceeds first address outstanding debt and assigned reserve under the position rules. A zero contract price does not create a risk-free acquisition: token transfer behavior, debt settlement, competing transactions and state changes still matter.

What a read interface should show

No challenger, bidder, keeper or postponed-return automation is provided. Participants must assess and execute their own transactions. Repayment is a separate path and can remain possible during a challenge or after expiry; see repayment and withdrawal.