Intercoin / CommunityContract

Smart contract for managing community membership and roles
https://intercoin.org
GNU Affero General Public License v3.0
1 stars 2 forks source link

make limit [optionally]for user invites #20

Open artman325 opened 2 years ago

artman325 commented 2 years ago

add optionally params: inviteLimit inviteDuration

so person can limit to invite people in the community. if limit exceed throw message in invitePrepare methods

EGreg commented 1 year ago

Same technique as SalesContract

EGreg commented 1 year ago

Factory.produce() and initialization()

If inviteDuration = 0 that means no limits! If inviteLimit = 0 then no one can invite.