diff --git a/src/ReflexEndpoint.sol b/src/ReflexEndpoint.sol index b1901f3..d0dd6c7 100644 --- a/src/ReflexEndpoint.sol +++ b/src/ReflexEndpoint.sol @@ -7,6 +7,11 @@ import {IReflexEndpoint} from "./interfaces/IReflexEndpoint.sol"; /** * @title Reflex Endpoint * + * @dev `Endpoints` are trusted contracts that receive calls and forward them to the `Dispatcher` using `CALL`. + * The forwarded calldata is appended with the `msg.sender` of the original call. + * `Endpoints` are commonly deployed by the `Installer` upon registering of a module + * and by multi-module factories upon instance creation. + * * @dev Execution takes place within the Dispatcher's storage context, not the endpoints'. * @dev Non-upgradeable, extendable. */ diff --git a/src/ReflexInstaller.sol b/src/ReflexInstaller.sol index 4126711..cf295c9 100644 --- a/src/ReflexInstaller.sol +++ b/src/ReflexInstaller.sol @@ -14,7 +14,7 @@ import {ReflexModule} from "./ReflexModule.sol"; * @dev The `Installer` manages the ownership of the Reflex layer and the registration of modules. * The owner has the ability to add modules and upgrade existing modules. * The transferral of ownership is a two-step process, where the new owner must accept the ownership transfer. - * The `Installer` is also a module itself with an endpoint and can be upgraded. + * The `Installer` is also a module itself with an `Endpoint` and can be upgraded. * * @dev Execution takes place within the Dispatcher's storage context. * @dev Upgradeable, extendable.