func AddAdmin
crossing ActionAddAdmin grants addr a local administrative role ("reviewer" or "owner").
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package sharedpoll is the Remix Lab shared-membership composition demo: a poll app whose electorate comes from an exi...
Package sharedpoll is the Remix Lab shared-membership composition demo: a poll app whose electorate comes from an existing shared membership realm instead of its own member list.
The shared realm is consulted read-only, when a poll opens, to snapshot its members. People join or leave through the shared realm's own interface. This app's administrators (who may create and open polls) are a separate, local set seeded with the deployer.
AddAdmin grants addr a local administrative role ("reviewer" or "owner").
AdminRole returns addr's local administrative role name ("none" when addr is not an administrator).
CancelPoll deletes a draft poll that was never opened. 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, components and bindings.
Finalize commits a poll's result once its deadline has passed.
HasVoted reports whether addr voted in poll id.
OpenPoll snapshots the shared realm's current members as the electorate.
Poll returns an inert summary of poll id.
Polls pages through polls, newest first.
RemoveAdmin removes a local administrator.
Render serves the overview, the poll list and single polls.
SetRule changes the rule for an operation, within its floor.
Vote casts the caller's vote for option index choice.