Search Apps Documentation Source Content File Folder Download Copy Actions Download

impl package

Functions

AddMember

func AddMember(cur realm, addr address)
Execute

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

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "AddMember" -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESSgnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "AddMember" -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
  

NewAddMemberRequest

func NewAddMemberRequest(_ realm, addr address, tier string, portfolio string) dao.ProposalRequest
Execute

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "NewAddMemberRequest" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESSgnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "NewAddMemberRequest" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
  

NewChangeLawRequest

func NewChangeLawRequest(_ realm, newLaw *Law) dao.ProposalRequest
Execute

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "NewChangeLawRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESSgnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "NewChangeLawRequest" -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
  

NewPromoteMemberRequest

func NewPromoteMemberRequest(addr address, fromTier string, toTier string) dao.ProposalRequest
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewPromoteMemberRequest(,,)"

Result

NewTreasuryGRC20TokensUpdate

func NewTreasuryGRC20TokensUpdate(newTokenKeys []string) dao.ProposalRequest
Execute

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.

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewTreasuryGRC20TokensUpdate()"

Result

NewTreasuryPaymentRequest

func NewTreasuryPaymentRequest(payment trs_pkg.Payment, reason string) dao.ProposalRequest
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewTreasuryPaymentRequest(,)"

Result

NewUpgradeDaoImplRequest

func NewUpgradeDaoImplRequest(newDao dao.DAO, realmPkg, reason string) dao.ProposalRequest
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewUpgradeDaoImplRequest(,,)"

Result

NewWithdrawMemberRequest

func NewWithdrawMemberRequest(_ realm, addr address, reason string) dao.ProposalRequest
Execute

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "NewWithdrawMemberRequest" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESSgnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gov/dao/v3/impl" -func "NewWithdrawMemberRequest" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
  

Render

func Render(in string) string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.Render()"

Result

StringifyProposal

func StringifyProposal(p *dao.Proposal) string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.StringifyProposal()"

Result

StringifyVotes

func StringifyVotes(ps *proposalStatus) string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.StringifyVotes()"

Result

GetInstance

func GetInstance() *GovDAO
Execute

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.GetInstance()"

Result

NewGovDAO

func NewGovDAO() *GovDAO
Execute

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewGovDAO()"

Result

NewProposalsStatuses

func NewProposalsStatuses() ProposalsStatuses
Execute

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewProposalsStatuses()"

Result

NewRender

func NewRender(d *GovDAO) *render
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/gov/dao/v3/impl.NewRender()"

Result