mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-28 23:27:36 +00:00
eb27699dad
As neo-project/neo-modules#657 currently does.
12 lines
305 B
Go
12 lines
305 B
Go
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 {
|
|
Current util.Uint160 `json:"hash"`
|
|
Calls []*InvocationTree `json:"call,omitempty"`
|
|
}
|