This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
/* Interface Imports */ | |
import { ICrossDomainMessenger } from "./interfaces/CrossDomainMessenger.interface.sol"; | |
/** | |
* @title BaseCrossDomainMessenger | |
*/ | |
contract BaseCrossDomainMessenger is ICrossDomainMessenger { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.7.0; | |
contract EOAProxy { | |
address implementation = DEFAULT_IMPL_ADDR; | |
function _eoaUpgrade(address _newImplementation) external { | |
require(msg.sender == address(this)); | |
implementation = _newImplementation; | |
} | |
fallback() external { | |
address impl = implementation; |
OlderNewer