Realm

gno.land/r/gov/dao/v3/impl

Rendered output

GovDAO

Members

> Go to Memberstore <

Proposals

No proposals yet.

Query (read-only)

non-crossing functions · no tx, no wallet needed
NewFilterByTier(tier string) → struct{Tier string}
NewGovDAO() → *gno.land/r/gov/dao/v3/impl.GovDAO
NewLaw(supermajority float64) → struct{Supermajority float64}
NewProposalsStatuses() → struct{BPTree *gno.land/p/nt/bptree/v0.BPTree}
NewRender(d *gno.land/r/gov/dao/v3/impl.GovDAO) → *gno.land/r/gov/dao/v3/impl.render
StringifyProposal(p *gno.land/r/gov/dao.Proposal) → string

Call functions (state-changing)

signs a tx via Adena
AddMember(addr string)
NewAddMemberRequest(addr string, tier string, portfolio string)
NewChangeLawRequest(newLaw struct{Supermajority float64})
NewPromoteMemberRequest(addr string, fromTier string, toTier string)
NewTreasuryGRC20TokensUpdate(newTokenKeys []string)
NewWithdrawMemberRequest(addr string, reason string)

All exported functions (17)

show raw signatures
NameParamsReturns
NewFilterByTier [{"Name": "tier", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{Tier string}", "Value": ""}]
NewGovDAO [{"Name": ".res.0", "Type": "*gno.land/r/gov/dao/v3/impl.GovDAO", "Value": ""}]
Render [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "in", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
AddMember [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}]
GetInstance [{"Name": ".arg_0", "Type": "int", "Value": ""}, {"Name": "rlm", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gov/dao/v3/impl.GovDAO", "Value": ""}]
NewChangeLawRequest [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "newLaw", "Type": "struct{Supermajority float64}", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewUpgradeDaoImplRequest [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "newDao", "Type": "interface {ExecuteProposal func(int, .uverse.realm, gno.land/r/gov/dao.ProposalID, gno.land/r/gov/dao.Executor) .uverse.error; PostCreateProposal func(int, .uverse.realm, gno.land/r/gov/dao.ProposalRequest, gno.land/r/gov/dao.ProposalID); PreCreateProposal func(int, .uverse.realm, gno.land/r/gov/dao.ProposalRequest) (.uverse.address, .uverse.error); PreExecuteProposal func(int, .uverse.realm, gno.land/r/gov/dao.ProposalID) (bool, .uverse.error); Render func(.uverse.realm, string, string) string; VoteOnProposal func(int, .uverse.realm, gno.land/r/gov/dao.VoteRequest) .uverse.error}", "Value": ""}, {"Name": "realmPkg", "Type": "string", "Value": ""}, {"Name": "reason", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewAddMemberRequest [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}, {"Name": "tier", "Type": "string", "Value": ""}, {"Name": "portfolio", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewWithdrawMemberRequest [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}, {"Name": "reason", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewPromoteMemberRequest [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}, {"Name": "fromTier", "Type": "string", "Value": ""}, {"Name": "toTier", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewTreasuryPaymentRequest [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "payment", "Type": "interface {BankerID func() string; String func() string}", "Value": ""}, {"Name": "reason", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewTreasuryGRC20TokensUpdate [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "newTokenKeys", "Type": "[]string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{title string; description string; executor gno.land/r/gov/dao.Executor; filter gno.land/r/gov/dao.Filter}", "Value": ""}]
NewRender [{"Name": "d", "Type": "*gno.land/r/gov/dao/v3/impl.GovDAO", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gov/dao/v3/impl.render", "Value": ""}]
NewLaw [{"Name": "supermajority", "Type": "float64", "Value": ""}] [{"Name": ".res.0", "Type": "struct{Supermajority float64}", "Value": ""}]
NewProposalsStatuses [{"Name": ".res.0", "Type": "struct{BPTree *gno.land/p/nt/bptree/v0.BPTree}", "Value": ""}]
StringifyVotes [{"Name": ".arg_0", "Type": "int", "Value": ""}, {"Name": "rlm", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "ps", "Type": "*gno.land/r/gov/dao/v3/impl.proposalStatus", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
StringifyProposal [{"Name": "p", "Type": "*gno.land/r/gov/dao.Proposal", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 159233, deposit: 15923300"
}