acammm
acammm
As titled.
tbd - we probably need instruction to deposit and withdraw to/from a depository' insurace fund (usdc balance)
To generate more yield from « usdc deposit rate », we should have a backend that check each depository short perp PNL and settles when it’s positive. This will directly...
The verification of "filled" quantity did not work... Putting these here to remember. Will do today. The settling need to be caller right before doing a new order seems. Might...
In the code I interchangeably use UXD/USDC without doing any decimals conversion. That doesn't seems proper but we are tight on computing and that's not something that will change soon...
If mint is owned by program, the account creation might make more sense to be there instead than in a local instruction. https://github.com/project-serum/anchor/pull/790 We already mentionned it, not sure what's...
Would that be deposited on a mango account to prevent liquidation due to negative funding rate? If so we need to add some "admin" instructions to the program