I am trying to solve the following problem statement:- Contract A(func1) -> Contract A(func2) -> Contract B(funcB)
so, func1 will call func2 and then func2 will invoke multiple calls on different B contracts as per the payload. If any contract B call will revert, I need to revert all previous execution happened on contract B'. But at the same time some acknowledgement needs to be updated on Contract A.
So, Just like in solidity I am reverting from func2 and receiving that success flag in func1 and then performing the business logic. So, How can i implement same func1 to func2 implementation in ink smart contracts?