Maintainers Registry

Serves as a registry for privileged addresses.

Code

MaintainersRegistry.sol

Address

MaintainersRegistry is deployed at 0x8B7819135Fe97aBFDc0c88596509c00FA727eaDc on the Ethereum mainnet.

Overview

Registry of maintainers. Maintainer is an account that has permissions to call functions that ordinary users cannot call.

Events

MembershipChanged

event MaintainerStatusChanged(address maintainer, bool isMember);
  • Emitted each time when someone is added or removed from members list.

Read-Only Functions

hordCongress

  • Returns the address of the HordCongress contract.

allMaintainers

  • Returns the address of specific maintainerId.

isMaintainer

  • Returns true/false depending on whether the _address is a maintainer or not.

State-Changing Functions

addMaintainer

  • Function that serves for adding maintainer, callable only by HordCongress.

  • Emits a MaintainerStatusChanged event.

removeMaintainer

  • Function that serves for removing maintainer, callable only by HordCongress.

  • Emits a MaintainerStatusChanged event.

Last updated