increase registry minimum stake
This commit is contained in:
parent
1a51cdfd50
commit
45db3dd73a
@ -5,6 +5,8 @@ import "@interfaces/IRelayerRegistry.sol";
|
||||
contract Proposal {
|
||||
|
||||
function executeProposal() external {
|
||||
uint256 NEW_MINIMUM_STAKE_AMOUNT = 2000 ether;
|
||||
|
||||
address[11] memory VIOLATING_RELAYERS = [
|
||||
0x30F96AEF199B399B722F8819c9b0723016CEAe6C, // moon-relayer.eth
|
||||
0xEFa22d23de9f293B11e0c4aC865d7b440647587a, // tornado-relayer.eth
|
||||
@ -21,6 +23,8 @@ contract Proposal {
|
||||
|
||||
address _registryAddress = 0x58E8dCC13BE9780fC42E8723D8EaD4CF46943dF2;
|
||||
|
||||
IRelayerRegistry(_registryAddress).setMinStakeAmount(NEW_MINIMUM_STAKE_AMOUNT);
|
||||
|
||||
IRelayerRegistry(_registryAddress).nullifyBalance(VIOLATING_RELAYERS[0]);
|
||||
IRelayerRegistry(_registryAddress).nullifyBalance(VIOLATING_RELAYERS[1]);
|
||||
IRelayerRegistry(_registryAddress).nullifyBalance(VIOLATING_RELAYERS[2]);
|
||||
|
@ -6,6 +6,8 @@ interface IRelayerRegistry {
|
||||
|
||||
function isRelayer(address relayer) external returns (bool);
|
||||
|
||||
function setMinStakeAmount(uint256 minAmount) external;
|
||||
|
||||
function nullifyBalance(address relayer) external;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user