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

(UI): Handle entry point consolidation #95

Open
memarin opened this issue Jan 16, 2025 · 0 comments
Open

(UI): Handle entry point consolidation #95

memarin opened this issue Jan 16, 2025 · 0 comments

Comments

@memarin
Copy link
Collaborator

memarin commented Jan 16, 2025

Once OB entry points have been moved to the vault, we need to adjust the UI so that they call the vault contract instead of the option round contract (for write functions. the getters are still on the option rounds).

All OB actions:

  • place_bid
  • update_bid
  • refund_unused_bids
  • exercise_options
  • mint_options

Need to be updated to calling the same function, just on the vault instead of the option round.

For the functions:

  • refund_unused_bids
  • exercise_options
  • mint_options

We will need to accommodate for the extra input param which is the round ID the action is for (i.e. Alice is refunding her bids from round 4). See OilerNetwork/pitchlake_starknet#180 for context. Check the vault interface for exact params.

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

1 participant