Skip to content

Commit

Permalink
Merge pull request #373 from invariant-labs/update-vara-sdk-docs
Browse files Browse the repository at this point in the history
update vara sdk docs
  • Loading branch information
wojciech-cichocki authored Jul 28, 2024
2 parents 305086d + 8851938 commit 67496f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/vara/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,10 @@ interface Pool {
const poolState: Pool = await invariant.getPool(TOKEN0_ADDRESS, TOKEN1_ADDRESS, feeTier)
```

- Get All Pools
- Get All PoolKeys

```typescript
const pools: PoolKey[] = await invariant.getPools(1n, 0n)
const poolKeys: PoolKey[] = await invariant.getAllPoolKeys()
```

:::note Position indexing
Expand Down

0 comments on commit 67496f2

Please sign in to comment.