custom_resource source realm
1
8
func AddMember
crossing ActionBypass limitation by adding yourself to the DAO. It is necessary to be part of the DAO to create a Proposal.
func Execute
crossing ActionExecute triggers the implementation of a proposal's actions
func NewPostAction
Actionfunc NewPostHandler
Actionfunc Propose
crossing ActionPropose creates a new proposal To execute this function, you must use a MsgRun (maketx run) See why it is necessary in Gno Documentation: https://docs.gno.land/users/interact-with-gnokey#run
func ProposeNewPost
crossing ActionCreates a Proposal to create a new blog post. This demonstrates the custom resource functionality of the DAO. Parameters:
- title: The title of the blog post
- content: The content of the blog post
func Render
Render generates a UI representation of the DAO's state
func Vote
crossing ActionVote allows DAO members to cast their vote on a specific proposal