You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
Chain on which the loan protocol takes place is no longer hard-coded to Elements (local development node).
The chain is implicitly configured by the addresses that are passed in.
Furthermore, the protocol now verifies that borrower and lender are on the same chain.
New API build_loan_transaction on Lender0, which wraps the now deprecated interpret:
The lender now has direct control over the principal_amount, principal_inputs, repayment_amount and min_collateral_price.
Fixed
Always satisfy the collateral contract input in the loan repayment transaction correctly.
We used to assume that it was located at index 1, but this could change if the number of inputs used to cover the repayment output was greater than 1.
Changed
Lender sets collateral contract timelock, as opposed to the borrower.
Deprecated all APIs which use LoanRequest, to give users more control over how they want to serialize the parameters inside loan request.