marktoda / uniswap-v3-manager

Uniswap V3 Position manager - automatically readjusts positions to match a given price width window
25 stars 8 forks source link

feat: store position id between runs #4

Closed marktoda closed 3 years ago

marktoda commented 3 years ago

This commit stores the position id between runs so we can simply fetch the chain for the specific active position instead of looping through all positions every time. This saves a lot of eth_calls after the initial setup phase, especially as the number of positions grows