types

package
v0.0.0-...-6012569 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidErc721TokenId  = errorsmod.Register(nfttransfer.ModuleName, 20, "invalid erc721 tokenId")
	ErrNotExistErc721TokenId = errorsmod.Register(nfttransfer.ModuleName, 21, "erc721 tokenId not exist")
)

Functions

This section is empty.

Types

type ConverterKeeper

type ConverterKeeper interface {
	ContractToClass(ctx sdk.Context, contract common.Address) (string, bool)

	ClassToContract(ctx sdk.Context, classId string) (common.Address, bool)

	HasContract(ctx sdk.Context, contract common.Address) bool

	ERC721ToNFT(ctx sdk.Context, contract common.Address, erc721TokenId *big.Int) (string, bool)

	DeleteTokenMapping(ctx sdk.Context, classId string, nftId []string) error
}

type QueryTokenTrace

type QueryTokenTrace = func(ctx client.Context, classId, tokenId string) (proto.Message, error)

Jump to

Keyboard shortcuts

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