Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function callTheOtherContract(address _contractAddress)
- public
- payable
- {
- (bool success, bytes memory returnData) = (_contractAddress.call.value(msg.value)(abi.encode(bytes4(keccak256("callMe()")))));
- require(success);
- }
Add Comment
Please, Sign In to add comment