This interface defines the execute function used to interact with external contracts.
function executeContract(address target, bytes callData, uint256 nativeValue) external payable returns (bytes)
Executes a call to an external contract.
Execution logic is left up to the implementation.
Name | Type | Description |
---|---|---|
target | address | The address of the contract to be called |
callData | bytes | The calldata to be sent |
nativeValue | uint256 | The amount of native token (e.g., Ether) to be sent along with the call |
Name | Type | Description |
---|---|---|
[0] | bytes | bytes The data returned from the executed call |