Skip to content

Commit

Permalink
Update 04-modifying-position.md (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xhwk authored Dec 3, 2024
1 parent 6ea8187 commit bf878a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sdk/v3/guides/liquidity/04-modifying-position.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const addLiquidityOptions: AddLiquidityOptions = {
}
```

Compared to minting, we have we have omitted the `recipient` parameter and instead passed in the `tokenId` of the position we previously minted.
Compared to minting, we have omitted the `recipient` parameter and instead passed in the `tokenId` of the position we previously minted.
As the Position already exists, the recipient doesn't change, instead the NonfungiblePositionManager contract can modify the existing Position by accessing it with its id.

The tokenId can be fetched with the tokenOfOwnerByIndex function of the NonfungiblePositionManager Contract as described [here](./01-position-data.md#fetching-positions).
Expand Down

0 comments on commit bf878a4

Please sign in to comment.