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

Feat/event field updates #161

Merged
merged 16 commits into from
Aug 30, 2024
Merged

Feat/event field updates #161

merged 16 commits into from
Aug 30, 2024

Conversation

0xDegenDeveloper
Copy link
Collaborator

No description provided.

- update_position() before deposit, withdraw, and queue withdraw
- instead of collecting from premiums, when a position is refreshed, and non moved premiums/unsold liq are flagged as moved and added to the account's upcoming round deposit
Instead of passing the amount of starting liq to queue, users pass the BPS they want to queue. When fetching their current queue status, now they are returned BPS instead of starting amount being queued for
Copy link
Collaborator Author

@0xDegenDeveloper 0xDegenDeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked

@0xDegenDeveloper 0xDegenDeveloper marked this pull request as ready for review August 29, 2024 19:50
@0xDegenDeveloper 0xDegenDeveloper merged commit 801fda5 into develop Aug 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant