Phoenix-Protocol-Group/phoenix-contracts

PHOAM-005: Multiple validations of the swap_fee_bps within pool initialize funtion

Closed this issue · 0 comments

Description
The swap_fee_bps parameter is validated multiple times throughout the initialize function. Although this does not pose a security risk, performing unnecessary validations can increase transaction fees and the risk of inconsistencies, as well as maintenance efforts.

Recommendation
Consider concentrating these validations in a single point.