Hord Congress Members Registry
Represent HORD Congress Members Registry
HordCongressMembersRegistry.sol
HordCongressMembersRegistry
is deployed at 0x29A5f08a38c79a2dD1DF055792822eB1E163d574
on the Ethereum mainnet.Registry of
HordCongress
members.event MembershipChanged(address member, bool isMember);
- Emitted each time when someone is added or removed from members.
function name() external view returns (string memory);
- Returns the name of the contract. [
HordCongressMembersRegistry
]
function hordCongress() external view returns (address);
- Returns the address of
HordCongress
contract.
function address2Member(address account) external view returns (Member memory);
- Returns name of the
account
and since he has been a member of the congress .
function allMembers(uint accountId) external view returns (address);
- Returns the address of specific
accountId
.
function isMember(address _address) external view returns (bool);
- Returns true/false depending on whether the
_address
is a member of congress or not.
function getNumberOfMembers() external view returns (uint);
- Returns how many members are currently in congress.
function getAllMemberAddresses() external view returns (address[] memory);
- Returns addresses of all members in congress.
function getMemberInfo(address _member) external view returns (address, bytes32, uint);
- Returns address and name of the
_member
and since he has been a member of the congress.
function getMinimalQuorum() external view returns (uint256);
- Returns what is the minimum number of votes needed for the proposal to be executed.
function changeMinimumQuorum(uint newMinimumQuorum) external onlyHordCongress;
- One time call function to set address of
HordCongressMembersRegistry
contract.
function addMember(address targetMember, bytes32 memberName) external onlyHordCongress;
- Add
targetMember
to congress. - Emits a
MembershipChanged
event.
function removeMember(address targetMember) external onlyHordCongress;
- Remove
targetMember
from congress. - Emits a
MembershipChanged
event.
Last modified 6mo ago