Track Your Position
Last updated
Last updated
If we return to the vault's etherscan page once again we'll see that most of the tokens are gone (they were deposited into uniswap liquidity pools):
To track your total vault position (which is now not only tokens sitting idle in the vault but also any Uniswap V3 positions) we'll need more info. You can track your vault position from the console with:
This will return some information like so:
Overview:
total0
: token0 total vault holdings
total1
: token1 total vault holdings
Breakdown:
liquidity0
: token0 vault holdings in Uniswap LP positions
liquidity1
: token1 vault holdings in Uniswap LP positions
fee0
: token0 vault holdings sitting in earned Uniswap fees collect
fee1
: token1 vault holdings sitting in earned Uniswap fees collect
leftover0
: token0 vault holdings sitting in vault contract
leftover1
: token1 vault holdings sitting in vault contract
Liquidity Positions:
range
: has upperTick
, lowerTick
, feeTier
of each active liquidity position
amount0
: token0 amount currently in active liquidity position
amount1
: token1 amount currently in active liquidity position
Now you can simply leave your liquidity in the market. If your on a production network you should actually facilitate some trading volume and earn some swap fees organically.
However on goerli testnet there isn't usually a lot of swapping activity on uniswap. To see your position earn some fees and have it's liquidity change composition (as prices move so does ratio of token0 and token1 liquidity) we'll need to perform some swaps on Uniswap ourself. We can return to the browser and Uniswap UI and use some of the tokens in your address to swap WETH to DAI and DAI to WETH on goerli.
After some time has passed or we've done some swaps ourselves, let's view our position details again with:
You'll see that your vault position has slightly changed, maybe like me prices some fee0
or fee1
has been earned and prices have changed altering amount0
and amount1
in the liquidity positions:
Now that you understand how to track and evaluate your vault position, you are ready to move on.