mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Fixed declaration error.
This commit is contained in:
parent
05c69f079a
commit
1d2e9f7b05
|
@ -24,21 +24,7 @@ contract AddressRegistry {
|
|||
}
|
||||
|
||||
|
||||
contract ManageGovernors is AddressRegistry {
|
||||
|
||||
function setGovernor(address person, bool assigned) public {
|
||||
require(
|
||||
msg.sender == getAddr("admin"),
|
||||
"Permission Denied"
|
||||
);
|
||||
governors[person] = assigned;
|
||||
emit SetGov(person, assigned);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
contract ManageRegistry is ManageGovernors {
|
||||
contract ManageRegistry is AddressRegistry {
|
||||
|
||||
address public pendingAdmin;
|
||||
uint public pendingTime;
|
||||
|
@ -74,7 +60,21 @@ contract ManageRegistry is ManageGovernors {
|
|||
}
|
||||
|
||||
|
||||
contract ManageResolvers is ManageRegistry {
|
||||
contract ManageGovernors is ManageRegistry {
|
||||
|
||||
function setGovernor(address person, bool assigned) public {
|
||||
require(
|
||||
msg.sender == getAddr("admin"),
|
||||
"Permission Denied"
|
||||
);
|
||||
governors[person] = assigned;
|
||||
emit SetGov(person, assigned);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
contract ManageResolvers is ManageGovernors {
|
||||
|
||||
function approveResolver() public {
|
||||
resolvers[getAddr("resolver")][msg.sender] = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user