Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 TransactionResult ¶
type TransactionResult struct {
TransactionID flow.Identifier
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.
Click to show internal directories.
Click to hide internal directories.