Skip to content

Integrate ACL for employers only need to approve one time and our contract can change the destination of the flow / update "employer approval" process #13

Description

@yukiwaki

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]

  1. Borrower creates a loan
  2. Loan contract address is generated
  3. Borrower needs to send it to employer
  4. Employer needs to change the destination

[Better implementation with ACL]

  1. Employer approve ACL one time only
  2. Borrower creates a loan → Destination will be automatically changed to the loan contract

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

highHigh Priority Issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions