Search Apps Documentation Source Content File Folder Download Copy Actions Download

impl package

Functions

AddMember

func AddMember(cur realm, addr address)

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 "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" 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 "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

NewAddMemberRequest

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

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 "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" 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 "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

NewChangeLawRequest

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

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 "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" 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 "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

NewPromoteMemberRequest

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

Params

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewPromoteMemberRequest(,,)"

Result

NewTreasuryGRC20TokensUpdate

func NewTreasuryGRC20TokensUpdate(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.

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewTreasuryGRC20TokensUpdate()"

Result

NewTreasuryPaymentRequest

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

Params

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewTreasuryPaymentRequest(,)"

Result

NewUpgradeDaoImplRequest

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

Params

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewUpgradeDaoImplRequest(,,)"

Result

NewWithdrawMemberRequest

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

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 "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" 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 "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

Render

func Render(in string) string

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.Render()"

Result

StringifyProposal

func StringifyProposal(p *dao.Proposal) string

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.StringifyProposal()"

Result

StringifyVotes

func StringifyVotes(ps *proposalStatus) string

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.StringifyVotes()"

Result

GetInstance

func GetInstance() *GovDAO

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.GetInstance()"

Result

NewGovDAO

func NewGovDAO() *GovDAO

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewGovDAO()"

Result

NewProposalsStatuses

func NewProposalsStatuses() ProposalsStatuses

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewProposalsStatuses()"

Result

NewRender

func NewRender(d *GovDAO) *render

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/gov/dao/v3/impl.NewRender()"

Result