types

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 4 Imported by: 7 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowError

type FlowError struct {
	FlowError fvmerrors.Error
}

func (*FlowError) Error

func (f *FlowError) Error() string

func (*FlowError) Unwrap added in v0.20.2

func (f *FlowError) Unwrap() error

type ScriptResult

type ScriptResult struct {
	ScriptID flow.Identifier
	Value    cadence.Value
	Error    error
	Logs     []string
	Events   []flow.Event
}

A ScriptResult is the result of executing a script.

func (ScriptResult) Reverted

func (r ScriptResult) Reverted() bool

Reverted returns true if the script executed with errors.

func (ScriptResult) Succeeded

func (r ScriptResult) Succeeded() bool

Succeeded returns true if the script executed without errors.

type StorableTransactionResult

type StorableTransactionResult struct {
	ErrorCode    int
	ErrorMessage string
	Logs         []string
	Events       []flowgo.Event
}

type TransactionResult

type TransactionResult struct {
	TransactionID   flow.Identifier
	ComputationUsed uint64
	Error           error
	Logs            []string
	Events          []flow.Event
}

A TransactionResult is the result of executing a transaction.

func (TransactionResult) Reverted

func (r TransactionResult) Reverted() bool

Reverted returns true if the transaction executed with errors.

func (TransactionResult) Succeeded

func (r TransactionResult) Succeeded() bool

Succeeded returns true if the transaction executed without errors.

Jump to

Keyboard shortcuts

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