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

Strategies missing caller validation

Alexangelj opened this issue · comments

The strategy hooks implemented in NormalStrategy.sol are missing checks to validate the caller is the portfolio contract. These checks should be in here to avoid assumptions around what state can be modified with the hooks.