func AcceptOwnership
crossing ActionAcceptOwnership completes a handover started with ProposeOwner.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package blog is Jae Kwon's personal blog on gno.land, built on gno.land/p/gnoland/blog/v0, the package behind gno.lan...
Package blog is Jae Kwon's personal blog on gno.land, built on gno.land/p/gnoland/blog/v0, the package behind gno.land's own blog.
Who can do what:
What this realm adds on top of the package:
AcceptOwnership completes a handover started with ProposeOwner.
AddWriter lets addr add, edit and remove posts. Owner only.
Edit replaces the post at slug. An empty pubDate keeps the old date.
IsWriter reports whether addr may add, edit and remove posts.
Post publishes a new post. pubDate is RFC3339, or empty for the block time. authors and tags are comma-separated.
ProposeOwner names a new owner, who must then call AcceptOwnership. Owner only. Proposing the empty address cancels a pending proposal.
Remove deletes the post at slug.
RemoveWriter takes writing rights away from addr. Owner only.
Render shows the blog. Only "", "p/<slug>" and "t/<tag>" are answered; anything else gets "404", so nothing from the URL reaches the page.