func CancelPoll
crossing ActionCancelPoll deletes a draft poll that was never opened, freeing its slot. The poll's creator may cancel it, and so may anyone allowed to open polls.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package clubpoll is a Remix Lab "club-poll" app generated from a project configuration. Members join by invitation; m...
Package clubpoll is a Remix Lab "club-poll" app generated from a project configuration. Members join by invitation; members vote in single-choice polls whose electorate is frozen when each poll opens.
Authority model: every write derives the actor from cur.Previous(), the immediate caller. An intermediary realm calling on a user's behalf acts as itself and gains none of that user's roles. Block state lives in unexported variables and only inert views leave the realm.
CancelPoll deletes a draft poll that was never opened, freeing its slot. The poll's creator may cancel it, and so may anyone allowed to open polls.
CreatePoll creates a draft poll. options are separated by "|".
Descriptor identifies this app's recipe and components.
Finalize commits a poll's result once its deadline has passed. Anyone may call it; the result depends only on rules frozen at opening.
HasVoted reports whether addr voted in poll id.
Invite lets addr join with role. Inviting a reviewer or owner also requires the members.set_role permission.
Invites returns up to limit pending invitations (at most 25) starting at offset, with the role each one grants.
Join accepts the caller's pending invitation.
Leave removes the caller from the club. Open polls keep their frozen electorate.
Members pages through members ordered by address.
OpenPoll freezes the poll's options and captures the current members as its electorate.
Poll returns an inert summary of poll id.
Polls pages through polls, newest first.
RemoveMember removes addr.
Render serves the native pages: overview, polls, a single poll, members and rules.
RevokeInvite cancels a pending invitation. Revoking an invitation for a reviewer or owner also requires the members.set_role permission.
RoleOf returns addr's role name.
Rules lists every operation's current rule.
SetRole changes addr's role.
SetRule changes the rule for an operation, within that operation's floor.
Vote casts the caller's vote for option index choice.