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

limit gas costs for setFundingRate by max users and min collateral deposit #87

Open
Waltermelon-lang opened this issue May 2, 2023 · 1 comment
Assignees

Comments

@Waltermelon-lang
Copy link
Collaborator

Waltermelon-lang commented May 2, 2023

Set a minimal collateral deposit size to be $1, f.e.
-> 10$ probably not needed (but let me know your opinion) because its only the fundingRate is computed onchain and we can pay for that

Set the maximal amount of users to be 5K for example.
-> We can still charge the fundingRate at this price

@Morteza3123
Copy link
Collaborator

Yes that's a good idea I do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants