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

Fix: duration of pools can be the max duration for perpetual and non-perpetual pools

Alexangelj opened this issue · comments

Description

A perpetual pool has a constant duration of 500. A non-perpetual pool can be created with a duration of 500. This can lead to some confusion

TODO:

  • Remove the isPerpetual bool and store the max value of the duration variable instead.

PR was merged.