From 885193819d5a0b714a8c6f48a4bf712eb751248b Mon Sep 17 00:00:00 2001 From: none00y Date: Fri, 26 Jul 2024 11:39:15 +0200 Subject: [PATCH] update vara sdk docs --- docs/docs/vara/sdk.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/vara/sdk.md b/docs/docs/vara/sdk.md index 099d94d2..68549b05 100644 --- a/docs/docs/vara/sdk.md +++ b/docs/docs/vara/sdk.md @@ -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