-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing docstrings #5311
base: master
Are you sure you want to change the base?
Add missing docstrings #5311
Conversation
|
contracts/governance/extensions/GovernorCountingOverridable.sol
Outdated
Show resolved
Hide resolved
Co-authored-by: cairo <[email protected]>
Co-authored-by: cairo <[email protected]>
@@ -63,6 +69,12 @@ interface IERC7579Validator is IERC7579Module { | |||
) external view returns (bytes4); | |||
} | |||
|
|||
/** | |||
* @dev ERC-7579 Executor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is IERC7579Hook.
Hooks module are type id 4 and Execution modules are type id 2. So I'm guessing there is a confusion here
* @dev ERC-7579 Executor. | |
* @dev ERC-7579 Hooks module (type 4). |
@@ -36,6 +37,11 @@ interface IERC7579Module { | |||
function isModuleType(uint256 moduleTypeId) external view returns (bool); | |||
} | |||
|
|||
/** | |||
* @dev ERC-7579 Validator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @dev ERC-7579 Validator. | |
* @dev ERC-7579 Validation module (type 1). |
/** | ||
* @dev ERC-7579 Account Config. | ||
* | ||
* Exposes information that identifies the account, supported modules and capabilities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Exposes information that identifies the account, supported modules and capabilities. | |
* Accounts should implement this interface to exposes information that identifies the account, supported modules and capabilities. |
/** | ||
* @dev ERC-7579 Module Config. | ||
* | ||
* Allows an account to install and uninstall modules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Allows an account to install and uninstall modules. | |
* Accounts should implement this interface to allows installing and uninstalling modules. |
* @dev Smart Account execution according to ERC-7579. | ||
* | ||
* To implement ERC-7579 modules, smart accounts must implement this interface. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @dev Smart Account execution according to ERC-7579. | |
* | |
* To implement ERC-7579 modules, smart accounts must implement this interface. | |
* @dev ERC-7579 Execution. | |
* | |
* Accounts should implement this interface so that the Entrypoint and ERC-7579 modules can execute operations. |
Fixes L-09
PR Checklist
npx changeset add
)