func AcceptAdmin
crossing ActionAcceptAdmin completes a handover started by ProposeAdmin.
Package home is samcrew's page on gno.land, served at /u/samcrew.
Package home is samcrew's page on gno.land, served at /u/samcrew.
The page is assembled from SLOTS (named markdown fragments, one Set each); the slot named "layout" is the template and every :slug: in it is filled in a single pass. The crew roster is not a slot: see crew.gno.
The admin starts as the samcrew namespace multisig and moves with a two-step ProposeAdmin / AcceptAdmin, so it can later be handed to the DAO.
AcceptAdmin completes a handover started by ProposeAdmin.
AddMember puts someone on the roster, in a team, linked to a public page.
ClearLine removes a member's line, for moderation.
CrewSize returns the number of members on the roster.
Delete removes a slot. Deleting "layout" falls back to the built-in layout.
DeleteGallery removes a gallery.
Get returns a slot body, or "" when the slot does not exist.
IsMember reports whether addr is linked to a crew profile.
LinkProfile ties a member to their gno.land identity. home is their home realm path ("/r/..."), or "" to link to /u/<addr>. From then on the member can write their own line with SetLine.
ProposeAdmin starts a handover. Nothing changes until the new address calls AcceptAdmin, so a typo cannot lock the page.
RemoveMember takes someone off the roster.
Set creates or replaces one slot.
SetGallery replaces a whole gallery from its line format.
SetLine lets a crew member with a linked profile write their own line. It renders as plain text: markdown in it is escaped.
UpdateMember changes a member's handle, role, team and public link.