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

Expose encoding/decoding utilities in DEBUG #1571

Open
zavelevsky opened this issue Nov 8, 2024 · 0 comments
Open

Expose encoding/decoding utilities in DEBUG #1571

zavelevsky opened this issue Nov 8, 2024 · 0 comments

Comments

@zavelevsky
Copy link
Collaborator

Add to the debug page an easy way to decode an order/strategy.
Use case - we're checking strategyCreated event in basescan:
image

and we want to figure out the human readable numbers. It would be helpful to be able to insert these values in the debug page and see the decoded orders. We can think of adding the rest of the details (token addresses, strategy id) and show the buy/sell strategy.
image

As for the UI - makes sense to me to offer the following inputs, all of them can be optional:
token0, token1, order0 (y, z, A, B), order1

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