Add Account framework docs and guides (#5660)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
committed by
Hadrien Croubois
parent
83b829e0d1
commit
f12605ad4d
@ -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();
|
||||
|
||||
@ -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_);
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user