states

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOU

type IOU struct {
	// Amount the borrower owes the lender
	Amount uint
	// Unique identifier of this state
	LinearID string
	// The list of owners of this state
	Parties []view.Identity
}

IOU models the IOU state

func (*IOU) Owners

func (i *IOU) Owners() state.Identities

Owners returns the list of identities owning this state

func (*IOU) SetLinearID

func (i *IOU) SetLinearID(id string) string

Jump to

Keyboard shortcuts

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