Functions
_callAnotherFacet
Performs a delegate call to another facet in the Rules Engine. Uses the function selector to locate the target facet and executes the provided call data. Reverts with the returned error message if the delegate call fails.Name | Type | Description |
---|---|---|
_functionSelector | bytes4 | The function selector of the target function in the other facet. |
_callData | bytes | The encoded call data to pass to the target function. |
Name | Type | Description |
---|---|---|
_success | bool | A boolean indicating whether the delegate call was successful. |
_res | bytes | The returned data from the delegate call. |