primitivefinance / portfolio

Portfolio is an automated market making protocol for implementing custom strategies at the lowest cost possible.

Home Page:https://www.primitive.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jit liquidity check is applied on allocates... preventing all allocates if jit param is != 0

Alexangelj opened this issue · comments

Description

  • Allocate and remove use the same function to change liquidity
  • Check position does not run conditionally based on the sign of the liquidity delta

Nevermind, false alarm! I used the new encodeAllocateOrDeallocate incorrectly