Documentation Index
Fetch the complete documentation index at: https://cowswap-mintlify-docs-audit-1776071666.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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
| Modifier | Description |
|---|---|
onlyManager | Restricts to current manager address |
onlyManagerOrOwner | Allows manager or proxy admin |
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