fftokens

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FFTokens

type FFTokens struct {
	// contains filtered or unexported fields
}

func (*FFTokens) ActivateTokenPool added in v0.11.0

func (ft *FFTokens) ActivateTokenPool(ctx context.Context, opID *fftypes.UUID, pool *fftypes.TokenPool, blockchainInfo fftypes.JSONObject) (complete bool, err error)

func (*FFTokens) BurnTokens

func (ft *FFTokens) BurnTokens(ctx context.Context, opID *fftypes.UUID, poolProtocolID string, burn *fftypes.TokenTransfer) error

func (*FFTokens) Capabilities

func (ft *FFTokens) Capabilities() *tokens.Capabilities

func (*FFTokens) CreateTokenPool

func (ft *FFTokens) CreateTokenPool(ctx context.Context, opID *fftypes.UUID, pool *fftypes.TokenPool) (complete bool, err error)

func (*FFTokens) Init

func (ft *FFTokens) Init(ctx context.Context, name string, prefix config.Prefix, callbacks tokens.Callbacks) (err error)

func (*FFTokens) InitPrefix

func (ft *FFTokens) InitPrefix(prefix config.PrefixArray)

func (*FFTokens) MintTokens

func (ft *FFTokens) MintTokens(ctx context.Context, opID *fftypes.UUID, poolProtocolID string, mint *fftypes.TokenTransfer) error

func (*FFTokens) Name

func (ft *FFTokens) Name() string

func (*FFTokens) Start

func (ft *FFTokens) Start() error

func (*FFTokens) TokensApproval added in v0.13.1

func (ft *FFTokens) TokensApproval(ctx context.Context, opID *fftypes.UUID, poolProtocolID string, approval *fftypes.TokenApproval) error

func (*FFTokens) TransferTokens

func (ft *FFTokens) TransferTokens(ctx context.Context, opID *fftypes.UUID, poolProtocolID string, transfer *fftypes.TokenTransfer) error

Jump to

Keyboard shortcuts

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