13 lines
302 B
Go
Executable File
13 lines
302 B
Go
Executable File
package invocations
|
|
|
|
import (
|
|
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
|
)
|
|
|
|
// Tree represents a tree with script hashes; when traversing it,
|
|
// you can see how contracts called each other.
|
|
type Tree struct {
|
|
Current util.Uint160 `json:"hash"`
|
|
Calls []*Tree `json:"call,omitzero"`
|
|
}
|