results

package
v0.2202.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

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.

Jump to

Keyboard shortcuts

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