fftokens

package
v1.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 13 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 *core.TokenPool) (complete bool, err error)

func (*FFTokens) BurnTokens

func (ft *FFTokens) BurnTokens(ctx context.Context, opID *fftypes.UUID, poolLocator string, burn *core.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 *core.TokenPool) (complete bool, err error)

func (*FFTokens) Init

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

func (*FFTokens) InitConfig added in v1.1.0

func (ft *FFTokens) InitConfig(config config.KeySet)

func (*FFTokens) MintTokens

func (ft *FFTokens) MintTokens(ctx context.Context, opID *fftypes.UUID, poolLocator string, mint *core.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, poolLocator string, approval *core.TokenApproval) error

func (*FFTokens) TransferTokens

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

Jump to

Keyboard shortcuts

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