Skip to main content
POST
Deploys a complete lending market (oracle, interest model, insurance fund, and market contract) through the factory. Returns the unsigned factory call for you to sign, then register the deployed market with Confirm Deploy.
After deployment, the stock token issuer must authorize both the market and liquidation router on the stock token contract via addAuthorizedContract.

Body Parameters

string
required
ERC-20 stock token address.
string
required
Issuer wallet (receives ISSUER_ROLE).
string
required
Admin wallet (receives DEFAULT_ADMIN_ROLE).
string
required
Initial oracle price in USD (e.g. "50.00").
string
ERC-20 the market lends. Defaults to the instance’s USDC when omitted.

Response Fields

object