tornado-nova/contracts/Mocks/MockOVM_CrossDomainMessenger.sol

15 lines
405 B
Solidity
Raw Normal View History

2021-08-05 09:29:49 +02:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract MockOVM_CrossDomainMessenger {
address public xDomainMessageSender;
constructor(address _xDomainMessageSender) {
xDomainMessageSender = _xDomainMessageSender;
}
function execute(address _who, bytes calldata _calldata) external returns (bool success, bytes memory result) {
(success, result) = _who.call(_calldata);
}
}