-
Notifications
You must be signed in to change notification settings - Fork 85
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
Conversation
let subgraphUrl = SUBGRAPH_URL; | ||
let blockQuery = blockNumber !== 0 ? `block: {number: ${blockNumber}}` : ``; | ||
let skip = 0; | ||
let result: OutputDataSchemaRow[] = []; |
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.
@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); |
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.
@miler012 please dont log the whole result
hi. we did the upgrade,pls check |
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? |
hi. just perps |
and this is the subgragh link https://api.goldsky.com/api/public/project_cltzggx5i40gi01p3ezjv94bc/subgraphs/satori-linea/v0.0.1/gn |
hi. we had implement new functions as you say.
pls have a check