"User has already requested to join"
"User join request is already accepted"
"User join request is not found"
Facet that lets read, create, update and delete join requests.
event JoinRequest(address member)
Emitted when a user requests to join a private party
|member||address||Address of the user requesting to join|
event HandleJoinRequest(address member, bool accepted)
Emitted when a join requests gets accepted or rejected
|member||address||Address of the user that requested to join|
|accepted||bool||Whether the request was accepted or rejected|
function getJoinRequests() external view returns (address)
Gets the party pending join requests
|||address||Array of join requests that are pending|
function isAcceptedRequest(address user) external view returns (bool)
Checks if the pending join request was accepted
|||bool||Whether if a given user has an accepted join request|
function createJoinRequest() external
Requests to join a party
Only non Party Members are the only allowed to request to join
function handleJoinRequest(bool accepted, address user) external
Handles a join request to party
Only Party Managers are the only allowed to handle requests
|accepted||bool||True if request should be accepted. Otherwise, it's discarted|
|user||address||Accound address of the request|