Audit/Vulnerability
Compx contracts are implemented as a wrapper to Pacts pools & farms. When staking on Compx your liquidity position is held in the same escrow contract it would be if you were to directly stake through Pact. The only difference being, your personal Compx contract is the signing admin, rather than your wallet address. For more information on Pacts escrow schema: https://medium.com/@pact.fi/pact-micro-farming-pattern-45a613c3be5a
The Compx contract is loaded with an additional method, which allows a designated wallet to claim rewards on behalf of the user to carry out the compounding process. This method only has the ability to withdraw the exact amount received from that individual claim. This means if the designated hot wallet was to be compromised, only your newly accumulated rewards from that point in time would be exposed. Your LP position is not at risk, as only the user who deploys the Compx contract has the ability to remove liquidity from the contract. The Compx contract has been reviewed and audited by the Hone team.
Last updated