Skip to main content

Solidity API

SafeCall

Perform low level safe calls

safeCall

function safeCall(address _target, uint256 _gas, uint256 _value, bytes _calldata) internal returns (bool)

Perform a low level call without copying any returndata

Parameters

NameTypeDescription
_targetaddressAddress to call
_gasuint256Amount of gas to pass to the call
_valueuint256Amount of value to pass to the call
_calldatabytesCalldata to pass to the call