BiconomyAuthorizationModule

Git Source

Inherits: BaseAuthorizationModule

State Variables

permissionVerifier

PermissionVerifier immutable permissionVerifier;

permissionExecutor

PermissionExecutor immutable permissionExecutor;

Functions

constructor

constructor(PermissionVerifier _verifier, PermissionExecutor _executor);

validateUserOp

function validateUserOp(UserOperation memory userOp, bytes32 userOpHash) external returns (uint256 validationData);

execute

function execute(
    address dest,
    uint256 value,
    bytes memory func,
    Permission calldata permission,
    bytes32[] calldata proof,
    uint256 gasFee
) external;

isValidSignature

function isValidSignature(bytes32 _dataHash, bytes memory _signature) public view override returns (bytes4);