Loan
Bitcoin-collateralized loan management
📄️ Create a new loan
Create a new loan specifying loan and repayment details.
📄️ Get existing loan
Retrieve the details of an existing loan by ID.
📄️ Update an existing loan
Update loan conditions including maturity datetime, liquidation threshold, and repayment details. Creates new oracle events for the updated loan.
📄️ Trigger Oracle Loan Sandbox Event
Manually trigger a sandbox event for oracle loan testing. Accepts `now`, `price`, and an array of synthetic transactions. All the parameters execute the job once with the provided values, and then the blockchain gets back to it's defauls.