Open reyalabs opened 2 years ago
I don't know much about this issue but if we are writing new solidity code we should do it sooner rather than later.
We need to add an option for a trader to update their margin in terms of aTokens, this function should only support a top-up (e.g. a position margin delta). Rationale behind this function is to let traders perform out-of-money unwinds.
Make a decision on the introduction of an updateMarginInATokens function in the AaveFCM