ACL : Recommended by Fran
"Update" access is needed
https://docs.superfluid.finance/superfluid/developers/constant-flow-agreement-cfa/cfa-access-control-list-acl/acl-features
By using that, employers only need to approve once, and after that our contract can change the destination of the stream (I think this will improve UX a lot better)
This is the implementation for ACL
https://www.notion.so/loanyee532215/ACL-features-4f289af7643d4335b4e84ae49873f197
[Current implementation]
- Borrower creates a loan
- Loan contract address is generated
- Borrower needs to send it to employer
- Employer needs to change the destination
[Better implementation with ACL]
- Employer approve ACL one time only
↓
- Borrower creates a loan → Destination will be automatically changed to the loan contract