Skip to main content

Euler Router Factory

Directory: src/EulerRouterFactory

Immutable factory contract that can be used to deploy instances of EulerRouter. It allows the deployment provenance of router instances to be verified by perspectives.

  • Although the factory (and implementation) is immutable, the routers themselves are created with a user-specifiable address as the governor so that adapters can be installed. If a perspective wishes for the routers to be immutable, it must also confirm this governor has been changed to address(0).
  • Routers can have fallbacks specified. If present, these must also be verified to be safe.