Address
Last updated
Was this helpful?
Performs a Solidity function call using a low level call. A plain call is an unsafe replacement for a function call: use this function instead. If target reverts with a revert reason or custom error, it is bubbled up by this function (like regular Solidity function calls). However, if the call reverted with no returned reason, this function reverts with a {Errors.FailedCall} error. Also limits the gas usage. Returns the raw returned data. To convert to the expected return value, use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[abi.decode]. Requirements:
target must be a contract.
calling target with data must not revert.
function functionCallWithGasLimit(
address target,
bytes memory data,
uint256 gasLimit
) internal returns (bytes memory);Last updated
Was this helpful?
Was this helpful?