This repository is for the audit competition for the Fenix-. To participate, submit your findings only by using the on-chain submission process on https://app.hats.finance/vulnerability .
We look forward to seeing your findings.
The Fenix
protocol is a modified version of Chronos & Thena
, introducing innovations and changes. More information about the changes can be found in the CHANGELOG
.
At its core, the protocol is based on the ve(3,3)
concept, with a new set of integrations and a variable set of rules.
Significant changes introduced from the initial implementation by Chronos & Thena include
:
FeeVault
and lp providers in the pool from 0-100%.FeeVault
contract.Blast Governor
for all main contracts.Blast
rebase tokens in pairs.Merkl
, for gauge types 1 and 2 (ICHIVault
& Manual positions
)A key goal of this initiative is to review and validate the changes made, as well as new implementations to support the protocol's deployment within the Blast L2 network.
Blast L2
at launch, and it is the only blockchain considered to be in scope for this audit.FeesVaultFactory
is a contract that will create FeesVault
for both v2 dex and its own Algebra v3 implementation
.All contract code marked as [FULL]
is within the scope. The tag [Only changes and their effect on other parts]
means that only the part that has been changed relative to the implementations from Chronos or Thena is within scope, including any impact these changes may have on other parts of the system. Any vulnerabilities critical to the system leading to loss of funds/blockages are also considered within scope.
The contracts listed below are partially or fully in the scope
https://github.com/Satsyxbt/Fenix
|-- contracts/
|-- bribes/
|-- BribeFactoryUpgradeable.sol [Full]
|-- BribeUpgradeable.sol [Only changes and their effect on other parts]
|-- gauges/
|-- GaugeFactoryUpgradeable.sol [Full]
|-- GaugeUpgradeable.sol [Only changes and their effect on other parts]
|-- core/
|-- Fenix.sol [Full]
|-- MinterUpgradeable.sol [Full]
|-- VoterUpgradeable.sol [Only changes and their effect on other parts]
|-- VotingEscrowUpgradeable.sol [Only changes and their effect on other parts]
|-- dexV2/
|-- Pair.sol [Only changes and their effect on other parts]
|-- PairFactoryUpgradeable.sol [Full]
|-- PairFees.sol [Full]
|-- RouterV2.sol [Only changes and their effect on other parts]
|-- integration/
|-- BlastERC20RebasingManage.sol [Full]
|-- BlastGovernorSetup.sol [Full]
|-- FeesVaultFactory.sol [Full]
|-- FeesVaultUpgradeable.sol [Full]
|-- MerklGaugeMiddleman.sol [Full]
The following contracts are out of scope
|-- contracts/
|-- bribes/
|-- BribeProxy.sol
|-- gauges/
|-- GaugeProxy.sol
|-- core/
|-- VeArtProxyUpgradeable.sol
|-- libraries
|-- DateTime.sol
|-- NumberFormatter.sol
|-- mocks/**/*
The following issues are known:
Claimable
mode.Clone this repository
git clone --recursive -j8 https://github.com/Satsyxbt/Fenix
or
git clone https://github.com/Satsyxbt/Fenix
cd fenix
git submodule update --init --recursive
Enter into the directory
cd fenix
npm run test