results

package
Version: v0.2103.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Module  string `json:"module,omitempty"`
	Code    uint32 `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

Error is a transaction execution error.

type Event

type Event struct {
	Staking    *staking.Event    `json:"staking,omitempty"`
	Registry   *registry.Event   `json:"registry,omitempty"`
	RootHash   *roothash.Event   `json:"roothash,omitempty"`
	Governance *governance.Event `json:"governance,omitempty"`
}

Event is a consensus service event that may be emitted during processing of a transaction.

type Result

type Result struct {
	Error  Error    `json:"error"`
	Events []*Event `json:"events"`
}

Result is a transaction execution result.

func (*Result) IsSuccess

func (r *Result) IsSuccess() bool

IsSuccess returns true if transaction execution was successful.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL