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
Dynamic liquidation branch to the loan protocol:
New async fn dynamic_liquidation_transaction() API on Lender1.
It takes a message of the form price:timestamp and an oracle's signature on the hash of the message, so that a lender can unilaterally liquidate the loan if the price falls below a threshold and the timestamp is past a certain time.
Lender0 constructor now requires blinding key of lender address and an oracle public key.
Changed
loan::LoanResponse fields:
Made timelock private, but accessible via LoanResponse::collateral_contract(&self).timelock().
Made transaction private, accessible via getter.
Made collateral_amount private, but accessible via getter.
loan::Borrower1 fields:
Made loan_transaction private, but accessible via getter.
Made collateral_amount private, but accessible via getter.
loan::Lender1 fields:
Made timelock private, but accessible via getter.
fn liquidation_transaction() API on Lender1 is now async.
Model the collateral contract's timelock as a u32.
Fixed
Squashed an elusive bug preventing users from building version 0.1.0 of this library.
This required updating rust-elements to version 0.18.