Closed lumtis closed 1 day ago
Current UniversalContract contains
UniversalContract
interface UniversalContract { function onCrossChainCall( zContext calldata context, address zrc20, uint256 amount, bytes calldata message ) external; function onRevert(RevertContext calldata revertContext) external; }
onRevert should not be a requirement to develop universal apps, therefore the onRevert method should be removed from the interface, the developer should use the Revertable interface.
onRevert
Revertable
Current
UniversalContract
containsonRevert
should not be a requirement to develop universal apps, therefore theonRevert
method should be removed from the interface, the developer should use theRevertable
interface.