CreateMembersUpdateProposal
func CreateMembersUpdateProposal(_ realm, daoID uint64, newMembers, removeMembers string) uint64
CreateMembersUpdateProposal creates a new proposal to add and/or remove DAO members. Parameters: - daoID: ID of the root DAO (required) - newMembers: Comma separated list of addresses to add as members - removeMembers: Comma separated list of member addresses to remove
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/nt/commondao" -func "CreateMembersUpdateProposal" -args "" -args "" -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "zenao-dev" -remote "tcp://0.0.0.0:26657" ADDRESSgnokey query -remote "tcp://0.0.0.0:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/nt/commondao" -func "CreateMembersUpdateProposal" -args "" -args "" -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "zenao-dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "tcp://0.0.0.0:26657" call.tx