-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Some issues with deposits:
-
I don't think you need a separate initialDeposit in the struct. Especially if you restructure the arrays into
deposits[4] //0. ethA 1. ethB 2. erc20A 3. erc20Bandbalances[4] //same structure. This would also really simplify a lot of the logic while closing I think -
I'm worried about the implications of deposit() for disputes. What happens if a user deposits money while having a VC open and Ingrid refuses to countersign a new LC update? User can challenge with VC_S0 but that doesn't contain deposit in it. Maybe I'm misunderstanding here, but we should chat about it @nginnever
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels