{{ define "ui/help_function" }} {{ $data := . }} {{ with .Doc }}

Overview

{{ . }}

{{ end }}

Function{{- if gt (len .Functions) 1 }}s{{- end }}

{{ range .Functions }}

{{ .Name }}

{{ .Signature }}
{{ with .Doc }}

{{ . }}

{{ end }}
{{- with .Params }}

Param{{- if gt (len .) 1 }}s{{ end }}

{{ end }}
{{ $funcName := .Name }} {{ range .Params }}
{{ end }}

Command

{{/* prettier-ignore-start */}}
gnokey query -remote "{{ $.Remote }}" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "{{ $.PkgPath }}" -func "{{ .Name }}" {{ range .Params }} -args ""{{ end }} -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "{{ $.ChainId }}" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "{{ $.Remote }}" call.tx
{{/* prettier-ignore-end */}}
{{ end }} {{ end }}