AddToAuthList
func AddToAuthList(cur realm, address_XXX address, member address)
Link
Execute
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/gnops/valopers" -func "AddToAuthList" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "AddToAuthList" -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
Auth
func Auth() *authz.Authorizer
Link
Execute
Command
gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land " -data "gno.land/r/gnops/valopers.Auth()"
DeleteFromAuthList
func DeleteFromAuthList(cur realm, address_XXX address, member address)
Link
Execute
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/gnops/valopers" -func "DeleteFromAuthList" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "DeleteFromAuthList" -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
NewInstructionsProposalCallback
func NewInstructionsProposalCallback(newInstructions string) func(realm) error
Link
Execute
Command
gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land " -data "gno.land/r/gnops/valopers.NewInstructionsProposalCallback( )"
NewMinFeeProposalCallback
func NewMinFeeProposalCallback(newMinFee int64) func(realm) error
Link
Execute
Command
gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land " -data "gno.land/r/gnops/valopers.NewMinFeeProposalCallback( )"
Register
func Register(cur realm, moniker string, description string, serverType string, address_XXX address, pubKey string)
Link
Execute
Register registers a new valoper
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/gnops/valopers" -func "Register" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "Register" -args $' ' -args $' ' -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
Render
func Render(fullPath string) string
Link
Execute
Render renders the current valoper set. "/r/gnops/valopers" lists all valopers, paginated. "/r/gnops/valopers:addr" shows the detail for the valoper with the addr.
Command
gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land " -data "gno.land/r/gnops/valopers.Render( )"
UpdateDescription
func UpdateDescription(cur realm, address_XXX address, description string)
Link
Execute
UpdateDescription updates an existing valoper's description
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/gnops/valopers" -func "UpdateDescription" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "UpdateDescription" -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
UpdateKeepRunning
func UpdateKeepRunning(cur realm, address_XXX address, keepRunning bool)
Link
Execute
UpdateKeepRunning updates an existing valoper's active status
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/gnops/valopers" -func "UpdateKeepRunning" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "UpdateKeepRunning" -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
UpdateMoniker
func UpdateMoniker(cur realm, address_XXX address, moniker string)
Link
Execute
UpdateMoniker updates an existing valoper's moniker
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/gnops/valopers" -func "UpdateMoniker" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "UpdateMoniker" -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
UpdateServerType
func UpdateServerType(cur realm, address_XXX address, serverType string)
Link
Execute
UpdateServerType updates an existing valoper's server type
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/gnops/valopers" -func "UpdateServerType" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESS gnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnops/valopers" -func "UpdateServerType" -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
GetByAddr
func GetByAddr(address_XXX address) Valoper
Link
Execute
GetByAddr fetches the valoper using the address, if present
Command
gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land " -data "gno.land/r/gnops/valopers.GetByAddr( )"