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
Copy link
On this page
Functions:
Events:
Function isMemberAllowed(address member) β†’ bool
Parameters:
Return Values:
Function getMembers() β†’ address[] members
Return Values:
Function changeManager(address newManager, string newManagerName)
Parameters:
Function addMembers(address[] members)
Parameters:
Function removeMembers(address[] members)
Parameters:
Function addMember(address member)
Parameters:
Function removeMember(address member)
Parameters:
Function trader() β†’ address
Return Values:
Function setTrader(address newTrader)
Parameters:
Function removeTrader()
Function numberOfMembers() β†’ uint256 _numberOfMembers
Return Values: