pkgPath
untyped stringValue
"gno.land/r/g1lnkytfqcjwllws63gvf0mv9yt04aswy4y9amhm/remixlab/clubpoll"
appTitle
untyped stringValue
"Club poll"
recipeID
untyped stringValue
"club-poll"
recipeVersion
untyped stringValue
"1.0.0"
pageSize
untyped bigintValue
(25 <untyped> bigint)
optionSep
untyped stringValue
"|"
opInvite
untyped stringOperation names checked against the policy.
Value
"members.invite"
opRemove
untyped stringOperation names checked against the policy.
Value
"members.remove"
opSetRole
untyped stringOperation names checked against the policy.
Value
"members.set_role"
opCreate
untyped stringOperation names checked against the policy.
Value
"poll.create"
opOpen
untyped stringOperation names checked against the policy.
Value
"poll.open"
opPolicy
untyped stringOperation names checked against the policy.
Value
"policy.set"
members
*v1.Set- OID
- 07a9d9…fc3f:45
members details
policy
*v1.Policy- OID
- 07a9d9…fc3f:54
policy details
polls
*v1.Box- OID
- 07a9d9…fc3f:92
polls details
init.15
func()- OID
- 07a9d9…fc3f:6
init.15 details
setup
func(owner .uverse.address)- OID
- 07a9d9…fc3f:8
setup details
Invite
func(addr .uverse.address, role string)Invite lets addr join with role. Inviting a reviewer or owner also requires the members.set\_role permission.
- OID
- 07a9d9…fc3f:9
Invite details
RevokeInvite
func(addr .uverse.address)RevokeInvite cancels a pending invitation. Revoking an invitation for a reviewer or owner also requires the members.set\_role permission.
- OID
- 07a9d9…fc3f:10
RevokeInvite details
Join
func()Join accepts the caller's pending invitation.
- OID
- 07a9d9…fc3f:11
Join details
Leave
func()Leave removes the caller from the club. Open polls keep their frozen electorate.
- OID
- 07a9d9…fc3f:12
Leave details
RemoveMember
func(addr .uverse.address)RemoveMember removes addr.
- OID
- 07a9d9…fc3f:13
RemoveMember details
SetRole
func(addr .uverse.address, role string)SetRole changes addr's role.
- OID
- 07a9d9…fc3f:14
SetRole details
CreatePoll
func(title string, options string, durationSeconds int64) uint64CreatePoll creates a draft poll. options are separated by "|".
- OID
- 07a9d9…fc3f:15
CreatePoll details
CancelPoll
func(id uint64)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.
- OID
- 07a9d9…fc3f:16
CancelPoll details
OpenPoll
func(id uint64)OpenPoll freezes the poll's options and captures the current members as its electorate.
- OID
- 07a9d9…fc3f:17
OpenPoll details
Vote
func(id uint64, choice int)Vote casts the caller's vote for option index choice.
- OID
- 07a9d9…fc3f:18
Vote details
Finalize
func(id uint64)Finalize commits a poll's result once its deadline has passed. Anyone may call it; the result depends only on rules frozen at opening.
- OID
- 07a9d9…fc3f:19
Finalize details
SetRule
func(op string, rule string)SetRule changes the rule for an operation, within that operation's floor.
- OID
- 07a9d9…fc3f:20
SetRule details
Poll
func(id uint64) (v1.BallotView, bool)Poll returns an inert summary of poll id.
- OID
- 07a9d9…fc3f:21
Poll details
Polls
func(offset int, limit int) []v1.BallotViewPolls pages through polls, newest first.
- OID
- 07a9d9…fc3f:22
Polls details
Members
func(offset int, limit int) []v1.MemberViewMembers pages through members ordered by address.
- OID
- 07a9d9…fc3f:23
Members details
Invites
func(offset int, limit int) []v1.MemberViewInvites returns up to limit pending invitations (at most 25) starting at offset, with the role each one grants.
- OID
- 07a9d9…fc3f:24
Invites details
RoleOf
func(addr .uverse.address) stringRoleOf returns addr's role name.
- OID
- 07a9d9…fc3f:25
RoleOf details
HasVoted
func(id uint64, addr .uverse.address) boolHasVoted reports whether addr voted in poll id.
- OID
- 07a9d9…fc3f:26
HasVoted details
Rules
func() []v1.RuleViewRules lists every operation's current rule.
- OID
- 07a9d9…fc3f:27
Rules details
authorize
func(op string) .uverse.address- OID
- 07a9d9…fc3f:28
authorize details
ready
func()- OID
- 07a9d9…fc3f:29
ready details
clampLimit
func(limit int) int- OID
- 07a9d9…fc3f:30
clampLimit details
must
func(err .uverse.error)- OID
- 07a9d9…fc3f:31
must details
configDigest
untyped stringconfigDigest is the canonical digest of the project configuration that produced this realm.
Value
"sha256:71e3b6329d3673ad99b14ca709473ade630b2ec3c8ee265c10ecdc2978d6ec2b"
Descriptor
func() v1.AppDescriptorDescriptor identifies this app's recipe and components.
- OID
- 07a9d9…fc3f:32
Descriptor details
Render
func(path string) stringRender serves the native pages: overview, polls, a single poll, members and rules.
- OID
- 07a9d9…fc3f:34
Render details
renderHome
func() string- OID
- 07a9d9…fc3f:36
renderHome details
renderPolls
func(page int) string- OID
- 07a9d9…fc3f:37
renderPolls details
renderPollTable
func(list []v1.BallotView) string- OID
- 07a9d9…fc3f:38
renderPollTable details
renderPoll
func(id uint64) string- OID
- 07a9d9…fc3f:39
renderPoll details
renderMembers
func(page int) string- OID
- 07a9d9…fc3f:40
renderMembers details
renderRules
func() string- OID
- 07a9d9…fc3f:41
renderRules details
statusLabel
func(v v1.BallotView, now int64) string- OID
- 07a9d9…fc3f:42
statusLabel details
outcomeLabel
func(v v1.BallotView) string- OID
- 07a9d9…fc3f:43
outcomeLabel details
notFound
func() string- OID
- 07a9d9…fc3f:44