GPv2Authentication API
Authentication contracts for managing solver authorization in Gnosis Protocol v2. Only trusted solvers can execute trades.GPv2Authentication Interface
Base interface with a single function:GPv2AllowListAuthentication Contract
The primary implementation featuring manager-based access control.State Variables
Events
Functions
initializeManager
One-time initialization compatible with proxy deployment pattern.setManager
Reassigns the manager role. Callable by manager or proxy owner.addSolver
Adds a solver to the authorized allowlist.removeSolver
Removes a solver from the authorized allowlist.isSolver
Checks if an address is an authorized solver.Access Control
Security Recommendations
- Assign the manager role to a multi-sig wallet or DAO
- Monitor for unauthorized changes via events
- Implement time-locks for critical operations