Invites
The contract that handles invites with pre allocated bounty pool with invitee bonus.
Events
InviteeJoined
Emitted when user is joined.
inviter
The address of the user who invited.
invitee
he address of the user who is being invited.
InviterBounty
Emitted when inviter bounty is paid.
inviter
The address of the user who invited.
invitee
The address of the user who is being invited.
bountyPaid
The amount of bounty.
inviterLevel
The inviter level.
earnedLevel
The level which the inviter is earned.
join
The function is to be called by the user to join.
_myCode
The users invitation code.
_inviterCode
The inviters invitation code.
canCollectBountyFor
The function is to clarify for the user who invited someone if he can claim bounty for the user who was being invited.
_invitee
The user who was being invited.
getInvitees
The function is to be called to get the list of the invitees of the _inviter
.
_inviter
The inviter address.
Returns: list of the invitees of the particular inviter.
getPendingInvitees
The function is to be called to get the list of the pending invitees of the _inviter
.
_inviter
The inviter address.
Returns: list of the pending invitees of the particular inviter.
getPendingBounties
The function is to be called to get the list of the pending bounties of the _inviter
.
_inviter
The inviter address.
Returns: list of the pending bounties of the particular inviter.
bountyFor
The function is to be called to pay bounty for the inviter of _invitee
.
_invitee
The invitee address.
collectBounties
The function collects bounties for invitees by msg.sender
that are now whitelisted.
bountyFor
The function is to be called to pay bounty for the inviter of _invitee
.
_invitee
The invitee address.
Last updated