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
Click to show internal directories.
Click to hide internal directories.