custom

package
v0.0.0-...-23dd2c0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AutoglyphContract               = persist.ContractIdentifiers{ContractAddress: "0xd4e4078ca3495de5b1d4db434bebc5a986197782", Chain: persist.ChainETH}
	ColorglyphContract              = persist.ContractIdentifiers{ContractAddress: "0x60f3680350f65beb2752788cb48abfce84a4759e", Chain: persist.ChainETH}
	EnsContract                     = persist.ContractIdentifiers{ContractAddress: eth.EnsAddress, Chain: persist.ChainETH}
	CryptopunkContract              = persist.ContractIdentifiers{ContractAddress: "0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb", Chain: persist.ChainETH}
	ZoraContract                    = persist.ContractIdentifiers{ContractAddress: "0xabefbc9fd2f806065b4f3c237d4b59d9a97bcac7", Chain: persist.ChainETH}
	OpenseaSharedStorefrontContract = persist.ContractIdentifiers{ContractAddress: "0x495f947276749ce646f68ac8c248420045cb7b5e", Chain: persist.ChainETH}
)

Functions

This section is empty.

Types

type CustomMetadataHandlers

type CustomMetadataHandlers struct {
	AutoglyphHandler               metadataHandler
	ColorglyphHandler              metadataHandler
	EnsHandler                     metadataHandler
	CryptopunkHandler              metadataHandler
	ZoraHandler                    metadataHandler
	OpenseaSharedStorefrontHandler metadataHandler
}

func NewCustomMetadataHandlers

func NewCustomMetadataHandlers(ethClient *ethclient.Client, ipfsClient *shell.Shell, arweaveClient *goar.Client) *CustomMetadataHandlers

func (*CustomMetadataHandlers) AddToPage

func (c *CustomMetadataHandlers) AddToPage(ctx context.Context, chain persist.Chain, recCh <-chan common.ChainAgnosticTokensAndContracts, errIn <-chan error) (<-chan common.ChainAgnosticTokensAndContracts, <-chan error)

func (*CustomMetadataHandlers) AddToToken

func (*CustomMetadataHandlers) HandlerFor

func (c *CustomMetadataHandlers) HandlerFor(t persist.TokenIdentifiers) metadataHandler

func (*CustomMetadataHandlers) Load

func (*CustomMetadataHandlers) LoadAll

func (*CustomMetadataHandlers) LoadMetadataAll

Jump to

Keyboard shortcuts

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