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, traversing it
|
|
|
|
// you can see how contracts called each other.
|
|
|
|
type InvocationTree struct {
|
2021-11-20 18:55:55 +00:00
|
|
|
Current util.Uint160 `json:"hash"`
|
2021-12-02 14:46:48 +00:00
|
|
|
Calls []*InvocationTree `json:"call,omitempty"`
|
2021-11-19 20:50:12 +00:00
|
|
|
}
|