fftokens

package
v1.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 15 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, nsOpID string, pool *core.TokenPool) (complete bool, err error)

func (*FFTokens) BurnTokens

func (ft *FFTokens) BurnTokens(ctx context.Context, nsOpID string, poolLocator string, burn *core.TokenTransfer, methods *fftypes.JSONAny) error

func (*FFTokens) Capabilities

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

func (*FFTokens) CheckInterface added in v1.1.3

func (ft *FFTokens) CheckInterface(ctx context.Context, pool *core.TokenPool, methods []*fftypes.FFIMethod) (*fftypes.JSONAny, error)

func (*FFTokens) CreateTokenPool

func (ft *FFTokens) CreateTokenPool(ctx context.Context, nsOpID string, pool *core.TokenPool) (complete bool, err error)

func (*FFTokens) Init

func (ft *FFTokens) Init(ctx context.Context, cancelCtx context.CancelFunc, name string, config config.Section) (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, nsOpID string, poolLocator string, mint *core.TokenTransfer, methods *fftypes.JSONAny) error

func (*FFTokens) Name

func (ft *FFTokens) Name() string

func (*FFTokens) SetHandler added in v1.1.0

func (ft *FFTokens) SetHandler(namespace string, handler tokens.Callbacks)

func (*FFTokens) SetOperationHandler added in v1.1.0

func (ft *FFTokens) SetOperationHandler(namespace string, handler core.OperationCallbacks)

func (*FFTokens) Start

func (ft *FFTokens) Start() error

func (*FFTokens) TokensApproval added in v0.13.1

func (ft *FFTokens) TokensApproval(ctx context.Context, nsOpID string, poolLocator string, approval *core.TokenApproval, methods *fftypes.JSONAny) error

func (*FFTokens) TransferTokens

func (ft *FFTokens) TransferTokens(ctx context.Context, nsOpID string, poolLocator string, transfer *core.TokenTransfer, methods *fftypes.JSONAny) error

Jump to

Keyboard shortcuts

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