Skip to main content
GET
Reports, for the market and each of its three upgradeable satellites, which implementation it runs, which one the factory serves today, and whether an upgrade is available. The market, its interest rate model, its liquidation router and its insurance fund are separate proxies with separate administrators, and each entry names who must sign its upgrade. Upgrade Market builds the transaction. An upgrade is offered only to a market the factory deployed and recorded. A market from another factory generation runs its own storage layout, so the factory’s implementation is never an upgrade for it: inFactory is then false and no entry offers an upgrade. The read never fails outright. When the factory or the chain cannot be reached, it answers with readable: false and empty entries.

Path Parameters

string
required
Market ID.

Response Fields

object
When inFactory is false, rateModel, router and insuranceFund each carry upgradeAvailable: false, targetImplementation: null and reason: "MARKET_NOT_IN_FACTORY".

Error Codes