Add Account framework docs and guides (#5660)

Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Ernesto García
2025-07-09 09:10:48 -06:00
committed by Hadrien Croubois
parent 83b829e0d1
commit f12605ad4d
11 changed files with 977 additions and 7 deletions

View File

@ -161,7 +161,8 @@ abstract contract MultiSignerERC7913 is AbstractSigner {
*
* Requirements:
*
* * The {signers}'s length must be `>=` to the {threshold}. Throws {MultiSignerERC7913UnreachableThreshold} if not.
* * The {getSignerCount} must be greater or equal than to the {threshold}. Throws
* {MultiSignerERC7913UnreachableThreshold} if not.
*/
function _validateReachableThreshold() internal view virtual {
uint256 signersLength = _signers.length();

View File

@ -22,6 +22,10 @@ import {SignatureChecker} from "../SignatureChecker.sol";
* function initialize(bytes memory signer_) public initializer {
* _setSigner(signer_);
* }
*
* function setSigner(bytes memory signer_) public onlyEntryPointOrSelf {
* _setSigner(signer_);
* }
* }
* ```
*