We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b594bf commit 82af318Copy full SHA for 82af318
cmd/tezgen/template/contract.tmpl
@@ -16,6 +16,13 @@ import (
16
17
var json = jsoniter.ConfigCompatibleWithStandardLibrary
18
19
+// entrypoint names
20
+const (
21
+{{- range $key, $value := .EntrypointTypes }}
22
+ Entrypoint{{$value.Type}} = "{{$key}}"
23
+{{- end}}
24
+)
25
+
26
{{ range $key, $value := .EntrypointTypes }}
27
// {{ $value.Type }}Tx - `{{$key}}` transaction entity
28
type {{ $value.Type }}Tx struct {
0 commit comments