-
Notifications
You must be signed in to change notification settings - Fork 809
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
[spooky-lp-sonic] Added spooky-lp-sonic strategy and updated index.ts #1677
Conversation
@ChaituVR it should be fixed |
Co-authored-by: Chaitanya <[email protected]>
* Remove try-catch block around subgraphRequest
@ChaituVR fixed again! |
@ChaituVR how long does it take for the strategy to show up on snapshot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChaituVR can you reopen the PR, there is an issue with the network id, it should be 146 for sonic instead of ethereum @BounebRayan
@0xaaiden Feel free to create a new PR |
This pull request introduces a new strategy called
spooky-lp-sonic
for calculating liquidity positions in $BOO pools. The changes include adding the new strategy to the list of strategies, creating a README file for documentation, providing example queries, and implementing the strategy logic.New Strategy Implementation:
Strategy Addition:
spooky-lp-sonic
to the list of strategies insrc/strategies/index.ts
.Documentation:
src/strategies/spooky-lp-sonic/README.md
to document the new strategy, including an overview of the pools queried and the method used to calculate net liquidity.Example Queries:
src/strategies/spooky-lp-sonic/examples.json
to provide example queries for the new strategy.Strategy Logic:
spooky-lp-sonic
strategy insrc/strategies/spooky-lp-sonic/index.ts
, including functions to query subgraph data, handle pagination, and calculate net liquidity positions.