Skip to content

Commit

Permalink
fix limitless query
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Jul 19, 2024
1 parent 6776353 commit 6fcdfdc
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions projects/limitless/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ const config = {
linea: { postionManager: '0x726e3116AE07f43A7E1921c635352B75e2DEa4Ad', factory: '0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9', limWETH: '0x5188b47Cb80D1A3E22Cc6221792F199f1Fb0DD3c', },
}
const liquidityProvidedQuery = `
query {
liquidityProvideds(first:1000 orderBy: blockTimestamp orderDirection: desc) {
query($lastId: String, $block: Int) {
liquidityProvideds(
first:1000
block: { number: $block }
where: { id_gt: $lastId }
) {
id
pool
recipient
liquidity
Expand All @@ -22,8 +27,13 @@ query {
`

const liquidityWithdrawnQuery = `
query {
liquidityWithdrawns(first:1000 orderBy: blockTimestamp orderDirection: desc) {
query($lastId: String, $block: Int) {
liquidityWithdrawns(
first:1000
block: { number: $block }
where: { id_gt: $lastId }
) {
id
pool
recipient
liquidity
Expand Down

0 comments on commit 6fcdfdc

Please sign in to comment.