Managed
Role manage contract

Functions:

Events:

Function isMemberAllowed(address member) β†’ bool

Return boolean if the address is a member of the list

Parameters:

  • member: The address of the member

Return Values:

  • Ture if the address is a member of the list, false otherwise

Function getMembers() β†’ address[] members

Get a list of members

Return Values:

  • members Array of member addresses

Function changeManager(address newManager, string newManagerName)

change the manager address

Parameters:

  • newManager: The address of the new manager
  • newManagerName: The name of the new manager

Function addMembers(address[] members)

add a list of members

Parameters:

  • members: Array of member addresses

Function removeMembers(address[] members)

remove a list of members

Parameters:

  • members: Array of member addresses

Function addMember(address member)

add a member

Parameters:

  • member: The address of the member

Function removeMember(address member)

remove a member

Parameters:

  • member: The address of the member

Function trader() β†’ address

Return the address of the trader

Return Values:

  • Address of the trader

Function setTrader(address newTrader)

Set the address of the trader

Parameters:

  • newTrader: The address of the new trader

Function removeTrader()

Remove the trader

Function numberOfMembers() β†’ uint256 _numberOfMembers

Return the number of members

Return Values:

  • _numberOfMembers The number of members
Last modified 4mo ago