nft

package
v1.7.42 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	MIGRATION_TABLE_NAME = "nft_schema_migrations"
	MIGRATION_DIRECOTRY  = "projection/nft/migrations"
)

Projection CryptoComNFT needs the below const

View Source
const DO_NOT_MODIFY = "[do-not-modify]"

Variables

View Source
var (
	NewDenoms                    = view.NewDenomsView
	NewDenomsTotal               = view.NewDenomsTotalView
	NewTokens                    = view.NewTokensView
	NewTokensTotal               = view.NewTokensTotalView
	NewMessages                  = view.NewMessagesView
	NewMessagesTotal             = view.NewMessagesTotalView
	UpdateLastHandledEventHeight = (*NFT).UpdateLastHandledEventHeight
)

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableDrop       bool
	DropDataAccessor string
}

type NFT

type NFT struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

func NewNFT

func NewNFT(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	config *Config,
	migrationHelper migrationhelper.MigrationHelper,
) *NFT

func (*NFT) GetEventsToListen

func (projection *NFT) GetEventsToListen() []string

func (*NFT) HandleEvents

func (projection *NFT) HandleEvents(height int64, events []event_entity.Event) error

func (*NFT) OnInit

func (projection *NFT) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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