proposal-32/contracts/RegistryUpgradeProposal.sol

19 lines
574 B
Solidity
Raw Normal View History

2023-10-21 23:11:35 +03:00
// 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);
}
}