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

impl state

Back to all declarations

FilterByTier

type

Value

impl.FilterByTier

NewFilterByTier

func(tier string) impl.FilterByTier
Open
OID
01c9af…30af:3
NewFilterByTier details

Inspect func

ErrMemberNotFound

*errors.errorString
Open
OID
01c9af…30af:6
ErrMemberNotFound details

Inspect pointer

GovDAO

type

Value

impl.GovDAO

_govdao

*impl.GovDAO

Setting this to a global variable forces attaching the GovDAO struct to this realm. TODO replace with future \`attach()\`.

Open
OID
01c9af…30af:64
_govdao details

Inspect pointer

AddMember

func(addr .uverse.address)

AddMember allows T1 and T2 members to freely add T3 members using their invitation points.

Open
OID
01c9af…30af:36
AddMember details

Inspect func

GetInstance

func(int, rlm .uverse.realm) *impl.GovDAO

GetInstance returns the singleton \*GovDAO. Only the loader realm may call it (used during the bootstrap UpdateImpl handoff). The IsCurrent() check rejects stale or stashed realm values; PkgPath() after the check is the authentic immediate caller.

Open
OID
01c9af…30af:37
GetInstance details

Inspect func

NewChangeLawRequest

func(newLaw impl.Law) dao.ProposalRequest
Open
OID
01c9af…30af:38
NewChangeLawRequest details

Inspect func

NewUpgradeDaoImplRequest

func(newDao dao.DAO, realmPkg string, reason string) dao.ProposalRequest
Open
OID
01c9af…30af:40
NewUpgradeDaoImplRequest details

Inspect func

NewAddMemberRequest

func(addr .uverse.address, tier string, portfolio string) dao.ProposalRequest
Open
OID
01c9af…30af:41
NewAddMemberRequest details

Inspect func

NewWithdrawMemberRequest

func(addr .uverse.address, reason string) dao.ProposalRequest
Open
OID
01c9af…30af:42
NewWithdrawMemberRequest details

Inspect func

NewPromoteMemberRequest

func(addr .uverse.address, fromTier string, toTier string) dao.ProposalRequest
Open
OID
01c9af…30af:43
NewPromoteMemberRequest details

Inspect func

NewTreasuryPaymentRequest

func(payment v0.Payment, reason string) dao.ProposalRequest
Open
OID
01c9af…30af:44
NewTreasuryPaymentRequest details

Inspect func

NewTreasuryGRC20TokensUpdate

func(newTokenKeys []string) dao.ProposalRequest

NewTreasuryGRC20TokensUpdate creates a proposal request to update the list of GRC20 tokens registry keys used by the treasury. The new list, if voted and accepted, will overwrite the current one.

Open
OID
01c9af…30af:45
NewTreasuryGRC20TokensUpdate details

Inspect func

memberByTier

func(tier string) *memberstore.Member
Open
OID
01c9af…30af:46
memberByTier details

Inspect func

render

type

Value

impl.render

NewRender

func(d *impl.GovDAO) *impl.render
Open
OID
01c9af…30af:47
NewRender details

Inspect func

isPropActive

func(ps *impl.proposalStatus) bool
Open
OID
01c9af…30af:49
isPropActive details

Inspect func

getPropStatus

func(ps *impl.proposalStatus) string
Open
OID
01c9af…30af:50
getPropStatus details

Inspect func

renderActionBar

func(sPid string) string
Open
OID
01c9af…30af:51
renderActionBar details

Inspect func

tryResolveAddr

func(addr .uverse.address) string
Open
OID
01c9af…30af:52
tryResolveAddr details

Inspect func

Law

type

Value

impl.Law

NewLaw

func(supermajority float64) impl.Law
Open
OID
01c9af…30af:53
NewLaw details

Inspect func

ProposalsStatuses

type

ProposalsStatuses contains the status of all the proposals indexed by the proposal ID.

Value

impl.ProposalsStatuses

NewProposalsStatuses

func() impl.ProposalsStatuses
Open
OID
01c9af…30af:55
NewProposalsStatuses details

Inspect func

proposalStatus

type

Value

impl.proposalStatus

getMembers

func() memberstore.MembersByTier
Open
OID
01c9af…30af:56
getMembers details

Inspect func

newEmptyVoteStore

func() memberstore.MembersByTier
Open
OID
01c9af…30af:57
newEmptyVoteStore details

Inspect func

newProposalStatus

func(allowedToVote []string) *impl.proposalStatus
Open
OID
01c9af…30af:58
newProposalStatus details

Inspect func

StringifyVotes

func(int, rlm .uverse.realm, ps *impl.proposalStatus) string
Open
OID
01c9af…30af:59
StringifyVotes details

Inspect func

writeVotes

func(int, rlm .uverse.realm, sb *strings.Builder, t memberstore.MembersByTier, title string)
Open
OID
01c9af…30af:60
writeVotes details

Inspect func

StringifyProposal

func(p *dao.Proposal) string
Open
OID
01c9af…30af:61
StringifyProposal details

Inspect func
FilterByTier : type =impl.FilterByTier
NewFilterByTier : func(tier string) impl.FilterByTier Inspect
ErrMemberNotFound : *errors.errorString Inspect
GovDAO : type =impl.GovDAO
NewGovDAO : func() *impl.GovDAO Inspect
_govdao : *impl.GovDAO Inspect
law : *impl.Law Inspect
govDAO : *impl.GovDAO Inspect
init.8 : func() Inspect
Render : func(in string) string Inspect
AddMember : func(addr .uverse.address) Inspect
GetInstance : func(int, rlm .uverse.realm) *impl.GovDAO Inspect
NewChangeLawRequest : func(newLaw impl.Law) dao.ProposalRequest Inspect
NewUpgradeDaoImplRequest : func(newDao dao.DAO, realmPkg string, reason string) dao.ProposalRequest Inspect
NewAddMemberRequest : func(addr .uverse.address, tier string, portfolio string) dao.ProposalRequest Inspect
NewWithdrawMemberRequest : func(addr .uverse.address, reason string) dao.ProposalRequest Inspect
NewPromoteMemberRequest : func(addr .uverse.address, fromTier string, toTier string) dao.ProposalRequest Inspect
NewTreasuryPaymentRequest : func(payment v0.Payment, reason string) dao.ProposalRequest Inspect
NewTreasuryGRC20TokensUpdate : func(newTokenKeys []string) dao.ProposalRequest Inspect
memberByTier : func(tier string) *memberstore.Member Inspect
render : type =impl.render
NewRender : func(d *impl.GovDAO) *impl.render Inspect
isPropActive : func(ps *impl.proposalStatus) bool Inspect
getPropStatus : func(ps *impl.proposalStatus) string Inspect
renderActionBar : func(sPid string) string Inspect
tryResolveAddr : func(addr .uverse.address) string Inspect
Law : type =impl.Law
NewLaw : func(supermajority float64) impl.Law Inspect
ProposalsStatuses : type =impl.ProposalsStatuses
NewProposalsStatuses : func() impl.ProposalsStatuses Inspect
proposalStatus : type =impl.proposalStatus
getMembers : func() memberstore.MembersByTier Inspect
newEmptyVoteStore : func() memberstore.MembersByTier Inspect
newProposalStatus : func(allowedToVote []string) *impl.proposalStatus Inspect
StringifyVotes : func(int, rlm .uverse.realm, ps *impl.proposalStatus) string Inspect
writeVotes : func(int, rlm .uverse.realm, sb *strings.Builder, t memberstore.MembersByTier, title string) Inspect
StringifyProposal : func(p *dao.Proposal) string Inspect