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: 8 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 {
	TokenManager() TokenManager
}

func NewCore

func NewCore(cli *grpc.ClientConn) Core

type TokenManager

type TokenManager interface {
	GetItem(ctx context.Context, infoIndex string) (*tokenmanager.Item, error)
	GetItems(ctx context.Context) ([]tokenmanager.Item, error)
	GetCollections(ctx context.Context) ([]tokenmanager.Collection, error)
	GetParams(ctx context.Context) (*tokenmanager.Params, error)
	CollectionData(ctx context.Context, chain, address string) (*tokenmanager.CollectionData, error)
}

FIXME rm this

Jump to

Keyboard shortcuts

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