Documentation ¶
Index ¶
- func AddTokenApprovalInputs(op *core.Operation, approval *core.TokenApproval) (err error)
- func AddTokenPoolActivateInputs(op *core.Operation, poolID *fftypes.UUID)
- func AddTokenPoolCreateInputs(op *core.Operation, pool *core.TokenPool) (err error)
- func AddTokenTransferInputs(op *core.Operation, transfer *core.TokenTransfer) (err error)
- func RetrieveTokenApprovalInputs(ctx context.Context, op *core.Operation) (approval *core.TokenApproval, err error)
- func RetrieveTokenPoolActivateInputs(ctx context.Context, op *core.Operation) (*fftypes.UUID, error)
- func RetrieveTokenPoolCreateInputs(ctx context.Context, op *core.Operation) (*core.TokenPool, error)
- func RetrieveTokenTransferInputs(ctx context.Context, op *core.Operation) (*core.TokenTransfer, error)
- type Helper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTokenApprovalInputs ¶ added in v0.13.1
func AddTokenApprovalInputs(op *core.Operation, approval *core.TokenApproval) (err error)
func AddTokenPoolActivateInputs ¶ added in v0.14.0
func AddTokenPoolCreateInputs ¶ added in v0.11.0
func AddTokenTransferInputs ¶ added in v0.11.0
func AddTokenTransferInputs(op *core.Operation, transfer *core.TokenTransfer) (err error)
func RetrieveTokenApprovalInputs ¶ added in v0.13.1
func RetrieveTokenPoolActivateInputs ¶ added in v0.14.0
func RetrieveTokenPoolCreateInputs ¶ added in v0.11.0
func RetrieveTokenTransferInputs ¶ added in v0.11.0
Types ¶
type Helper ¶
type Helper interface { SubmitNewTransaction(ctx context.Context, txType core.TransactionType, idempotencyKey core.IdempotencyKey) (*fftypes.UUID, error) PersistTransaction(ctx context.Context, id *fftypes.UUID, txType core.TransactionType, blockchainTXID string) (valid bool, err error) AddBlockchainTX(ctx context.Context, tx *core.Transaction, blockchainTXID string) error InsertOrGetBlockchainEvent(ctx context.Context, event *core.BlockchainEvent) (existing *core.BlockchainEvent, err error) GetTransactionByIDCached(ctx context.Context, id *fftypes.UUID) (*core.Transaction, error) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*core.BlockchainEvent, error) }
Click to show internal directories.
Click to hide internal directories.