mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
21 lines
491 B
Solidity
21 lines
491 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
pragma solidity ^0.7.0;
|
||
|
|
||
|
import { IAMB } from "../CrossChainUpgradeableProxy.sol";
|
||
|
|
||
|
contract MockAMB is IAMB {
|
||
|
address public xDomainMessageSender;
|
||
|
|
||
|
constructor(address _xDomainMessageSender) {
|
||
|
xDomainMessageSender = _xDomainMessageSender;
|
||
|
}
|
||
|
|
||
|
function setMessageSender(address _sender) external {
|
||
|
xDomainMessageSender = _sender;
|
||
|
}
|
||
|
|
||
|
function messageSender() external view override returns (address) {
|
||
|
return xDomainMessageSender;
|
||
|
}
|
||
|
}
|