IPermissionExecutor
Author: Flydexo - @Flydex0
The core contract in change or executing the userOperation after paying the FeeManager and transforming the AllowanceCalldata to ABI
Functions
execute
Execute a permissioned userOperation
function execute(
address dest,
uint256 value,
bytes calldata func,
Permission calldata permission,
bytes32[] calldata proof,
uint256 gasFee
) external;
Parameters
Name | Type | Description |
---|---|---|
dest | address | The called contract |
value | uint256 | The msg.value |
func | bytes | The AllowanceCalldata used to call the contract |
permission | Permission | The permission object |
proof | bytes32[] | |
gasFee | uint256 | The fee for the userOperation (used to compute the Permissive fee) |
Events
PermissionUsed
PermissionUsed - When a permissioned userOperation passed with success
event PermissionUsed(
bytes32 indexed permHash, address dest, uint256 value, bytes func, Permission permission, uint256 gasFee
);