2020-01-13 09:27:34 +00:00
|
|
|
package result
|
2019-10-29 15:31:39 +00:00
|
|
|
|
|
|
|
import (
|
2020-03-03 14:21:42 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
2019-10-29 15:31:39 +00:00
|
|
|
)
|
|
|
|
|
2020-01-13 09:27:34 +00:00
|
|
|
// Invoke represents code invocation result and is used by several RPC calls
|
|
|
|
// that invoke functions, scripts and generic bytecode.
|
|
|
|
type Invoke struct {
|
2020-03-28 10:59:42 +00:00
|
|
|
State string `json:"state"`
|
|
|
|
GasConsumed string `json:"gas_consumed"`
|
|
|
|
Script string `json:"script"`
|
|
|
|
Stack []smartcontract.Parameter `json:"stack"`
|
2019-10-29 15:31:39 +00:00
|
|
|
}
|