Comment on page
Track Your Position
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):

My vault address on etherscan - token balances are lower!
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:
yarn tutorial1-status --network goerli
This will return some information like so:

Full details of my tutorial1 vault position
Overview:
total0
: token0 total vault holdingstotal1
: token1 total vault holdings
Breakdown:
liquidity0
: token0 vault holdings in Uniswap LP positionsliquidity1
: token1 vault holdings in Uniswap LP positionsfee0
: token0 vault holdings sitting in earned Uniswap feescollect
fee1
: token1 vault holdings sitting in earned Uniswap feescollect
leftover0
: token0 vault holdings sitting in vault contractleftover1
: token1 vault holdings sitting in vault contract
Liquidity Positions:
range
: hasupperTick
,lowerTick
,feeTier
of each active liquidity positionamount0
: token0 amount currently in active liquidity positionamount1
: 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:
yarn tutorial1-status --network goerli
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:
Position status has changed after some time/swaps!
Now that you understand how to track and evaluate your vault position, you are ready to move on.
Last modified 10mo ago