Documentation ¶
Index ¶
- func AddTokenApprovalInputs(op *fftypes.Operation, approval *fftypes.TokenApproval) (err error)
- func AddTokenPoolActivateInputs(op *fftypes.Operation, poolID *fftypes.UUID)
- func AddTokenPoolCreateInputs(op *fftypes.Operation, pool *fftypes.TokenPool) (err error)
- func AddTokenTransferInputs(op *fftypes.Operation, transfer *fftypes.TokenTransfer) (err error)
- func RetrieveTokenApprovalInputs(ctx context.Context, op *fftypes.Operation) (approval *fftypes.TokenApproval, err error)
- func RetrieveTokenPoolActivateInputs(ctx context.Context, op *fftypes.Operation) (*fftypes.UUID, error)
- func RetrieveTokenPoolCreateInputs(ctx context.Context, op *fftypes.Operation) (*fftypes.TokenPool, error)
- func RetrieveTokenTransferInputs(ctx context.Context, op *fftypes.Operation) (*fftypes.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 *fftypes.Operation, approval *fftypes.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 *fftypes.Operation, transfer *fftypes.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, ns string, txType fftypes.TransactionType) (*fftypes.UUID, error) PersistTransaction(ctx context.Context, ns string, id *fftypes.UUID, txType fftypes.TransactionType, blockchainTXID string) (valid bool, err error) AddBlockchainTX(ctx context.Context, tx *fftypes.Transaction, blockchainTXID string) error InsertBlockchainEvent(ctx context.Context, chainEvent *fftypes.BlockchainEvent) error EnrichEvent(ctx context.Context, event *fftypes.Event) (*fftypes.EnrichedEvent, error) GetTransactionByIDCached(ctx context.Context, id *fftypes.UUID) (*fftypes.Transaction, error) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*fftypes.BlockchainEvent, error) }
Click to show internal directories.
Click to hide internal directories.