core

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core interface {
	GetTransfers(ctx context.Context, confirmationID string) ([]TransferDetails, error)
	GetTransfer(ctx context.Context, confirmationID string, transferID string) (*TransferDetails, error)
	GetConfirmation(ctx context.Context, confirmationID string) (*rarimocore.Confirmation, error)
}

func NewCore

func NewCore(cfg config.Config) Core

type TransferDetails

type TransferDetails struct {
	Transfer       rarimocore.Transfer
	Collection     tokenmanager.Collection
	CollectionData tokenmanager.CollectionData
	Item           tokenmanager.Item
	Signature      string
	Origin         string
	MerklePath     [][32]byte
}

Jump to

Keyboard shortcuts

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