Setup
Configure Market
Build the calldata for one outstanding configuration step, or for all of them
POST
Returns unsigned calldata for the wiring and authorization steps a market still needs, with the authority that must sign each one. Nothing is signed or sent by Trusset: the party named on each step signs and broadcasts it, then records it with Confirm Configuration.
Omit
action to receive every outstanding step at once, exactly as Get Configuration Status offers them. Name an action to receive that one step. A step that is already complete on-chain comes back with nothing to sign rather than an error.
The steps have different signers. The collateral token steps are signed by the token’s own authorities: its agent administrator, its compliance administrator, or an agent of its identity registry. None of those is a role the market assigns, so they never wait for a lender of record. Every other step names the market admin, the router admin or the oracle owner, and is refused with MARKET_PENDING_CURATOR until a lender of record has taken the market.
Path Parameters
string
required
Market ID.
Body Parameters
string
The step to build. Omit it for every outstanding step. See the table below for the supported values.
string
verifyAdapterAsHolder, verifyRouterAsHolder and verifyVenueAsHolder only. The ONCHAINID an ERC-3643 identity registry should register the subject under. It must be a deployed contract carrying a valid claim for every topic the registry requires, or the step is refused.integer
The same three actions only. Country code for the ERC-3643 registration, an integer from 0 to 65535. Defaults to
0.boolean
upgradeMarket only. Must be true to build an upgrade that moves the market onto the fixed fee shares while providers hold shares or loans are open. See Upgrade Market.Actions
upgradeMarket and upgradeRouter build the same transactions as Upgrade Market, which also covers the interest rate model and the insurance fund.
verifyAdapterAsHolder checks the router as well. Once the adapter is registered it returns the router’s registration, keyed verifyRouterAsHolder. On a token that gates holders through a contract allow-list, verifyAdapterAsHolder and verifyRouterAsHolder return the allow-list call instead of a registration. Confirm a transaction under the action that matches the function it calls, because Confirm Configuration checks the function and the subject.Response Fields
object
