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

Satori implement new functions pull request #61

Merged
merged 4 commits into from
May 2, 2024

Conversation

miler012
Copy link
Contributor

hi. we had implement new functions as you say.
pls have a check

let subgraphUrl = SUBGRAPH_URL;
let blockQuery = blockNumber !== 0 ? `block: {number: ${blockNumber}}` : ``;
let skip = 0;
let result: OutputDataSchemaRow[] = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

@miler012 do you need to put this in a while loop to make sure all records related to a block number are fetched.

headers: { "Content-Type": "application/json" },
});
let data = await response.json();
console.log(data);
Copy link
Contributor

Choose a reason for hiding this comment

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

@miler012 please dont log the whole result

@miler012
Copy link
Contributor Author

hi. we did the upgrade,pls check

@0xroll
Copy link
Contributor

0xroll commented Apr 29, 2024

hi @miler012 ,

is this for both perps + the v2 LP data you guys have?

not sure if the v2 lp data is included in here, if not please add it in as well. you can refer to sushi's PR for v2 AMM LP data

https://github.com/delta-hq/l2-lxp-liquidity-reward/pull/37/files

can i have the subgraph repo link as well?

@miler012
Copy link
Contributor Author

miler012 commented May 1, 2024

hi. just perps

@miler012
Copy link
Contributor Author

miler012 commented May 1, 2024

@nitish-91 nitish-91 merged commit ddbef0d into delta-hq:main May 2, 2024
1 check 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.

3 participants