cash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptCashView

type AcceptCashView struct{}

func (*AcceptCashView) Call

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

type IssueCash

type IssueCash struct {
	// IssuerWallet is the issuer's wallet to use
	IssuerWallet string
	// TokenType is the type of token to issue
	TokenType string
	// Quantity represent the number of units of a certain token type stored in the token
	Quantity uint64
	// Recipient is an identifier of the recipient identity
	Recipient string
}

IssueCash contains the input information to issue a token

type IssueCashView

type IssueCashView struct {
	*IssueCash
}

func (*IssueCashView) Call

func (p *IssueCashView) Call(context view.Context) (interface{}, error)

type IssueCashViewFactory

type IssueCashViewFactory struct{}

func (*IssueCashViewFactory) NewView

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

type ListIssuedTokens

type ListIssuedTokens struct {
	// Wallet whose identities own the token
	Wallet string
	// TokenType is the token type to select
	TokenType string
}

ListIssuedTokens contains the input to query the list of issued tokens

type ListIssuedTokensView

type ListIssuedTokensView struct {
	*ListIssuedTokens
}

func (*ListIssuedTokensView) Call

func (p *ListIssuedTokensView) Call(context view.Context) (interface{}, error)

type ListIssuedTokensViewFactory

type ListIssuedTokensViewFactory struct{}

func (*ListIssuedTokensViewFactory) NewView

func (i *ListIssuedTokensViewFactory) NewView(in []byte) (view.View, error)

type ListUnspentTokens

type ListUnspentTokens struct {
	// Wallet whose identities own the token
	Wallet string
	// TokenType is the token type to select
	TokenType string
}

ListUnspentTokens contains the input to query the list of unspent tokens

type ListUnspentTokensView

type ListUnspentTokensView struct {
	*ListUnspentTokens
}

func (*ListUnspentTokensView) Call

func (p *ListUnspentTokensView) Call(context view.Context) (interface{}, error)

type ListUnspentTokensViewFactory

type ListUnspentTokensViewFactory struct{}

func (*ListUnspentTokensViewFactory) NewView

func (i *ListUnspentTokensViewFactory) NewView(in []byte) (view.View, error)

Jump to

Keyboard shortcuts

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