views

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptAssetView

type AcceptAssetView struct{}

func (*AcceptAssetView) Call

func (a *AcceptAssetView) Call(context view.Context) (interface{}, error)

type AgreeToBuy

type AgreeToBuy struct {
	Agreement *states.AgreementToBuy

	Approver view.Identity
}

type AgreeToBuyView

type AgreeToBuyView struct {
	*AgreeToBuy
}

func (*AgreeToBuyView) Call

func (a *AgreeToBuyView) Call(context view.Context) (interface{}, error)

type AgreeToBuyViewFactory

type AgreeToBuyViewFactory struct{}

func (*AgreeToBuyViewFactory) NewView

func (a *AgreeToBuyViewFactory) NewView(in []byte) (view.View, error)

type AgreeToSell

type AgreeToSell struct {
	Agreement *states.AgreementToSell

	Approver view.Identity
}

type AgreeToSellView

type AgreeToSellView struct {
	*AgreeToSell
}

func (*AgreeToSellView) Call

func (a *AgreeToSellView) Call(context view.Context) (interface{}, error)

type AgreeToSellViewFactory

type AgreeToSellViewFactory struct{}

func (*AgreeToSellViewFactory) NewView

func (a *AgreeToSellViewFactory) NewView(in []byte) (view.View, error)

type ApproverView

type ApproverView struct{}

func (*ApproverView) Call

func (a *ApproverView) Call(context view.Context) (interface{}, error)

type Issue

type Issue struct {
	// Asset to be issued
	Asset *states.Asset
	// Recipient is the identity of the recipient's FSC node
	Recipient view.Identity
	// Approver is the identity of the approver's FSC node
	Approver view.Identity
}

type IssueView

type IssueView struct {
	*Issue
}

func (*IssueView) Call

func (f *IssueView) Call(context view.Context) (interface{}, error)

type IssueViewFactory

type IssueViewFactory struct{}

func (*IssueViewFactory) NewView

func (p *IssueViewFactory) NewView(in []byte) (view.View, error)

type Transfer

type Transfer struct {
	AgreementId string
	AssetId     string
	Recipient   view.Identity

	Approver view.Identity
}

type TransferResponderView

type TransferResponderView struct{}

func (*TransferResponderView) Call

func (t *TransferResponderView) Call(context view.Context) (interface{}, error)

type TransferView

type TransferView struct {
	*Transfer
}

func (*TransferView) Call

func (f *TransferView) Call(context view.Context) (interface{}, error)

type TransferViewFactory

type TransferViewFactory struct{}

func (*TransferViewFactory) NewView

func (p *TransferViewFactory) NewView(in []byte) (view.View, error)

Jump to

Keyboard shortcuts

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