Lender of Record
Confirm Lender Role
Record a mined adoption and read what the handover left outstanding
POST
Records a mined
acceptCuratorRole transaction on this instance. The call verifies the receipt against the lending factory and checks that the factory now names the signing wallet as lender of record. It then writes the market onto this instance with the parties the factory recorded. It returns 201 with the recorded market, the satellite handover state and the asset data approval the receipt carries.
Call it after broadcasting the transaction from Accept Lender Role. The returned market.id is this instance’s ID for the market: every /markets/{marketId} endpoint takes it from here on. Confirming the same hash again is safe and converges on the same records.
This call records the adoption on the adopting instance only. The deploying instance learns of it when it reads the market with Get Market or Get Operator, which reconcile its record with the factory.
Path Parameters
string
required
Market contract address,
0x followed by 40 hex characters. It must match the market the transaction adopted.Body Parameters
string
required
Hash of the mined
acceptCuratorRole transaction, signed by one of this instance’s verified wallets.Handover
On a market deployed through the current factory, adoption hands the price oracle, the interest rate model and the insurance fund to their named owners inside the same transaction.handover.complete then reads true and acceptOwnershipCalldata is empty.
A market from an earlier generation hands them over in two steps. Until each named owner calls acceptOwnership, the market itself, or the factory on the oldest markets, remains their owner of record and the lender of record cannot govern them. acceptOwnershipCalldata lists each outstanding leg with the wallet that must sign it. Get Handover reads the same state later.
Standing policy terms
When this instance holds a standing policy that matches the market’s deployer or collateral token and names a terms template, the confirm publishes terms of use from that template. It does so only while the market has no published terms.termsApplied reports the result. A failure there does not undo the adoption: it is reported in termsApplyError, and terms can be saved afterwards with Save Terms.
Response Fields
object
Error Codes
Confirming can also return any transaction verification error.
