Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

memba_dao state

Back to all declarations

localDAO

*basedao.daoPublic

// Local interface for maketx call

Open
OID
089302…55ae:12
localDAO details

Inspect pointer

daoPrivate

*basedao.DAOPrivate

// Full access to internal DAO state

Open
OID
089302…55ae:14
daoPrivate details

Inspect pointer

Propose

func(req daokit.ProposalRequest)

Propose creates a new governance proposal. Must be called via MsgRun (gnokey maketx run) for cross-realm support.

Open
OID
089302…55ae:7
Propose details

Inspect func

Vote

func(proposalID uint64, vote daocond.Vote)

Vote allows DAO members to cast their vote on a proposal.

Open
OID
089302…55ae:8
Vote details

Inspect func

Execute

func(proposalID uint64)

Execute triggers execution of an approved proposal's actions.

Open
OID
089302…55ae:9
Execute details

Inspect func

Render

func(path string) string

Render generates the web UI for gnoweb.

Open
OID
089302…55ae:10
Render details

Inspect func

setImplem

func(newLocalDAO daokit.DAO)

setImplem updates the DAO implementation when governance proposals change it.

Open
OID
089302…55ae:11
setImplem details

Inspect func
localDAO : *basedao.daoPublic Inspect
daoPrivate : *basedao.DAOPrivate Inspect
init.2 : func() Inspect
Propose : func(req daokit.ProposalRequest) Inspect
Vote : func(proposalID uint64, vote daocond.Vote) Inspect
Execute : func(proposalID uint64) Inspect
Render : func(path string) string Inspect
setImplem : func(newLocalDAO daokit.DAO) Inspect