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: Fake epoch execution at API level #1680

Open
mustermeiszer opened this issue Jan 8, 2024 · 0 comments
Open

feat: Fake epoch execution at API level #1680

mustermeiszer opened this issue Jan 8, 2024 · 0 comments
Labels
I8-enhancement An additional feature.

Comments

@mustermeiszer
Copy link
Collaborator

Description

Currently, issuers have the problem that they do not see the effect closing an epoch has on their pool.
For this reason it would be greatly beneficial to fake the epoch execution on the api level and return a nice overview of the new state.

Research/based on

  • Issues issuer had with unwanted dropping token prices and hard/impossible to revert invest/redeem order execution due to that.

What are foreseen obstacles or hurdles to overcome?

  • on-chain logic potentially blocked due to outdated oracles → need to be able to provide them to the api and force update the values
  • on-chain logic potentially closing an epoch but not executing it due to needing a valid solution → need to be able to provide a solution and use it directly
  • define structure to be returned that summarizes the new pool state
@mustermeiszer mustermeiszer added the I8-enhancement An additional feature. label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I8-enhancement An additional feature.
Projects
None yet
Development

No branches or pull requests

1 participant