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