Security

Design Principles


Secure Design Principles

Etherex is built with security in mind. With $1M+ spent on Audits and security reviews, Etherex has inherited many security principles and learnings.


Pool Segregation

Pools will ALWAYS remain immutable, and permissionless.

There is no actor in the entire system that could modify liquidity in the pools unless explicitly approved to do on the contracts. The protocol, nor even the timelock, have the ability to modify the liquidity pools. This stands true for both Concentrated Liquidity (V3) and Legacy Liquidity (V2/Stableswap)


Access Control

AccessHub

There are 3 distinct access control roles in the AccessHub system.

DEFAULT_ADMIN_ROLE, MULTISIG + TIMELOCK have this role initially, then only TIMELOCK


PROTOCOL_OPERATOR, As the name states, this role is for protocol operators. The main functionality the protocol operator role has is surrounding Governance enabling/disabling. Protocol operators can call: killGauge , reviveGauge, governanceWhitelist, and other similar commands.


SWAP_FEE_SETTER Also self-explanatory, this role sets swap fees on liquidity pairs. The protocol's dynamic fee algorithm utilizes this role for consistent value accrual. The function used is setSwapFees

Previous
Contract Addresses