Markets
Deploy Market
Deploy a new lending market for a stock token
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.
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
