Primex Finance

Multi-Chain
Audited on 2024/10/14
No open critical findings

Summary

Primex Finance contracted the services of Resonance to conduct a comprehensive security audit of their smart contracts between September 9, 2024 and September 16, 2024. The primary objective of the assessment was to verify applied fixes and identify any potential security vulnerabilities and ensure the correct functioning of smart contract operations.Primex Finance is a decentralized exchange platform powered by smart contract where users can lend and swap tokens, perform trading operations, and earn rewards by utilizing the protocol.The system is composed of several components: the bucket infrastructure where all the lending and borrowing happens; the trading managers that implement logic to swap, open and close positions, with or without conditions; and the protocol management where Primex admin control emergency pauses, propositions and executions.As a general workflow, a lender is able to stake collateral on a bucket and receive yield-bearing tokens. The collateral can be used by traders to borrow and open margin positions. The keepers handle the conditions that occur over time, such as, opening limit orders when price as reached the limit price, liquidating users with underwater positions, closing trades with set stop-losses, etc.By using the different components of the protocol, all actors receive rewards that incentivise further usage. One of such rewards is the PMX token that offers utility and governance capabilities on the protocol.Additional features were implemented such as, the integration of Enso and arbitrary contract swappers, the integration of the Optimistic chain and Supra oracle, and flash loan capabilities.


Issues (19)

Low
Medium
High
Critical
Total
Not fixed
----0
Acknowledged
----0
Fixed
19---19
Total1900019
This project has no active issues.

Contracts (618)