model

package
v3.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractExecutionResult

type ContractExecutionResult struct {
	Result        json.Object
	Proofs        []asset.Proof
	AuditorProofs []asset.Proof
}

ContractExecutionResult defines the result of a contract execution. It contains the result of the contract execution along with a list of asset proofs from Ledger and Auditor.

func (ContractExecutionResult) Equal

func (r ContractExecutionResult) Equal(another ContractExecutionResult) (equal bool)

Equal checks if two contract execution results have the same values.

type LedgerValidationResult

type LedgerValidationResult struct {
	Code         statuscode.StatusCode
	Proof        asset.Proof
	AuditorProof asset.Proof
}

LedgerValidationResult defines the specified status code and the asset proof from Ledger and Auditor.

func (LedgerValidationResult) Equal

Equal checks if two ledger validation result have the same values.

Jump to

Keyboard shortcuts

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