Encodes the signature to use for the UserOperation.
AccountInstance
The instance of the account used for testing.
PackedUserOperation
The UserOperation to execute.
SmartSessionMode
The mode of the session, either USE
, ENABLE
or UNSAFE_ENABLE
.
Session
The session to use or enable.
function(bytes32) internal returns (bytes memory)
The function to sign the signature required to enable the UserOperation, in the case of enable mode.
address
The address of the validator used to verify the signature in the case of enable mode.
bytes
The signature to use for the UserOperation.