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