Add Account framework docs and guides (#5660)

This commit is contained in:
Ernesto García
2025-07-09 09:10:48 -06:00
committed by GitHub
parent a95d01c30d
commit 6ef73e3386
11 changed files with 977 additions and 7 deletions

View File

@ -160,7 +160,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

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