19 lines
574 B
Solidity
19 lines
574 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.6.12;
|
||
|
pragma experimental ABIEncoderV2;
|
||
|
|
||
|
import { IRelayerRegistryProxy } from "./interfaces/RelayerRegistryProxy.sol";
|
||
|
|
||
|
contract Proposal {
|
||
|
address immutable newRelayerRegistry;
|
||
|
|
||
|
constructor(address _newRelayerRegistry) public {
|
||
|
newRelayerRegistry = _newRelayerRegistry;
|
||
|
}
|
||
|
|
||
|
function executeProposal() public {
|
||
|
IRelayerRegistryProxy relayerRegistryProxy = IRelayerRegistryProxy(0x58E8dCC13BE9780fC42E8723D8EaD4CF46943dF2);
|
||
|
relayerRegistryProxy.upgradeTo(newRelayerRegistry);
|
||
|
}
|
||
|
}
|