Call a contract, writing its returndata to the slice given. Returns
true for if the contract ran without issue, or false if a revert
happened. An offset can be used to start reading the return data from,
writing to the buffer given. The function will panic if the returndata
exceeds the capacity. Enforces write control if static, and delegates if
delegatecall. The function will also panic if the offset is greater than
the size of the returndata. Programmers making this mistake must be
making an error with the decoding.
Call a contract, writing its returndata to the slice given. Returns
true for if the contract ran without issue, or false if a revert
happened. An offset can be used to start reading the return data from,
writing to the buffer given. The function will panic if the returndata
exceeds the capacity. Enforces write control if static, and delegates if
delegatecall. The function will also panic if the offset is greater than
the size of the returndata. Programmers making this mistake must be
making an error with the decoding.
Same as the slice variant, except check the length of the code for the
address first. If code doesn’t exist, then we return None. This might
be useful for implementing ERC20 when you relax the check on the
return value.
Same as the slice variant, except check the length of the code for the
address first. If code doesn’t exist, then we return None. This might
be useful for implementing ERC20 when you relax the check on the
return value.
Same as the slice variant, except check the length of the code for the
address first. If code doesn’t exist, then we return None. This might
be useful for implementing ERC20 when you relax the check on the
return value.
Call a contract, writing its returndata to the slice given. Returns
true for if the contract ran without issue, or false if a revert
happened. An offset can be used to start reading the return data from,
writing to the buffer given. The function will panic if the returndata
exceeds the capacity. Enforces write control if static, and delegates if
delegatecall. The function will also panic if the offset is greater than
the size of the returndata. Programmers making this mistake must be
making an error with the decoding.