This PR adds hot cold wallet proxy which allows lenders to have a hot and cold wallet. Hot wallet is only able to call functions in the Loans, Sales and the Funds.request function.
This ensures, even if the agent gets hacked, and the mnemonic is exposed to the hacker, they won't be able to withdraw the funds of the lender.
Submission Checklist :pencil:
[x] Update notify arbiter for proxy
[x] Use proxy for Funds, Loans and Sales functions
Description
This PR adds hot cold wallet proxy which allows lenders to have a hot and cold wallet. Hot wallet is only able to call functions in the
Loans
,Sales
and theFunds.request
function.This ensures, even if the agent gets hacked, and the mnemonic is exposed to the hacker, they won't be able to withdraw the funds of the lender.
Submission Checklist :pencil:
Funds
,Loans
andSales
functions