mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
15 lines
405 B
Solidity
15 lines
405 B
Solidity
|
// 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);
|
||
|
}
|
||
|
}
|