slugs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFetchingBlurSlug = fmt.Errorf("error fetching blur slug")

ErrFetchingBlurSlug is returned when the blur slug could not be fetched.

Functions

func GetBlurSlugByName

func GetBlurSlugByName(collectionAddress common.Address) (string, error)

func SlugWorker

func SlugWorker(slugTicker *time.Ticker, slugQueue *chan common.Address)

Types

type BlurSlugResponse

type BlurSlugResponse struct {
	Success     bool `json:"success"`
	Collections []struct {
		ContractAddress string `json:"contractAddress"`
		CollectionSlug  string `json:"collectionSlug"`
		Name            string `json:"name"`
		ImageURL        string `json:"imageUrl"`
		TotalSupply     int    `json:"totalSupply"`
	} `json:"collections"`
}

Jump to

Keyboard shortcuts

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