Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UXP insurance fund, how does it work in practice #30

Open
acamill opened this issue Oct 23, 2021 · 5 comments
Open

UXP insurance fund, how does it work in practice #30

acamill opened this issue Oct 23, 2021 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@acamill
Copy link
Member

acamill commented Oct 23, 2021

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

@acamill acamill added the help wanted Extra attention is needed label Oct 23, 2021
@acamill acamill added this to the Mainnet Release milestone Oct 23, 2021
@acamill
Copy link
Member Author

acamill commented Nov 4, 2021

@SoteriaKento so this one will be that before releasing the mainnet we will fund each depository's mango account with a insurance amount (one depository per mint).

Sounds good? Any more advanced mechanism or better way to tracks what's up

@acamill
Copy link
Member Author

acamill commented Nov 4, 2021

Before release we should plan to have a backoffice that displays the current amouns of fund/insurance of each depository, total uxd out, uxd value vs collateral value in all depositories. Would that be hard to whip @ThomasProust @ywvlfy ?

I think that would make us feel safer and more informed. All the info is there on chain from a few accounts.

@sjillen
Copy link

sjillen commented Nov 4, 2021

Don't think it would be that hard. It just needs one of us to focus on that for a few days

@acamill
Copy link
Member Author

acamill commented Nov 14, 2021

Don't think it would be that hard. It just needs one of us to focus on that for a few days

Please get that rolling asap and make someone the owner of it

@acamill
Copy link
Member Author

acamill commented Nov 14, 2021

  • for UXD mainnet we will need to add new instructions to the program to deposit/withdraw insurance, and to keep the value of the insurance + accrued yield from auto lending in the program state.

A tight accounting will allow us to know what's going on and how much leeway we have. This informations will also be able to be reflect in the backoffice dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants