github.com/mavryk-network/mvgo@v1.19.9/contract/ast/entrypoint.go (about) 1 package ast 2 3 import ( 4 "github.com/mavryk-network/mvgo/micheline" 5 ) 6 7 type Entrypoint struct { 8 Name string 9 Raw *micheline.Entrypoint `json:"-"` 10 Params []*Struct 11 } 12 13 // Getter is a read-only Entrypoint, with a return value. 14 // It is implemented with TZIP-4. 15 type Getter struct { 16 Entrypoint 17 ReturnType *Struct 18 }