neoneo-go/pkg/vm/invocation_tree.go

13 lines
311 B
Go
Raw Normal View History

2021-11-19 20:50:12 +00:00
package vm
import (
"github.com/nspcc-dev/neo-go/pkg/util"
)
// InvocationTree represents a tree with script hashes; when traversing it,
2021-11-19 20:50:12 +00:00
// you can see how contracts called each other.
type InvocationTree struct {
Current util.Uint160 `json:"hash"`
Calls []*InvocationTree `json:"call,omitempty"`
2021-11-19 20:50:12 +00:00
}