mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
renamed registry file.x
This commit is contained in:
parent
06d0687f51
commit
fd4e3fe9ad
|
@ -58,8 +58,8 @@ contract LogicRegistry is AddressRegistry {
|
||||||
/**
|
/**
|
||||||
* @dev get the boolean of the logic contract
|
* @dev get the boolean of the logic contract
|
||||||
* @param logicAddr is the logic proxy address
|
* @param logicAddr is the logic proxy address
|
||||||
* @return bool is the logic proxy is authorised by system admin
|
* @return bool logic proxy is authorised by system admin
|
||||||
* @return uint 0 for default proxy and 1 for changeable proxy
|
* @return bool logic proxy is default proxy
|
||||||
*/
|
*/
|
||||||
function isLogicAuth(address logicAddr) public view returns (bool, bool) {
|
function isLogicAuth(address logicAddr) public view returns (bool, bool) {
|
||||||
if (defaultLogicProxies[logicAddr]) {
|
if (defaultLogicProxies[logicAddr]) {
|
||||||
|
@ -67,7 +67,7 @@ contract LogicRegistry is AddressRegistry {
|
||||||
} else if (logicProxies[logicAddr]) {
|
} else if (logicProxies[logicAddr]) {
|
||||||
return (true, false);
|
return (true, false);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return (false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user