Documentation
¶
Overview ¶
Package digest provides api features.
Index ¶
- Variables
- func NFT(st *cdigest.Database, contract, idx string) (*types.NFT, error)
- func NFTCollection(st *cdigest.Database, contract string) (*types.Design, error)
- func NFTOperators(st *cdigest.Database, contract, account string) (*types.AllApprovedBook, error)
- func NFTsByCollection(st *cdigest.Database, contract, factHash, offset string, reverse bool, ...) error
- func PrepareNFTs(bs *cdigest.BlockSession, st base.State) (string, []mongo.WriteModel, error)
- func ProcessDigester(ctx context.Context) (context.Context, error)
- type NFTAllApprovedDoc
- type NFTCollectionDoc
- type NFTDoc
- type NFTLastIndexDoc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultColNameNFTCollection = "digest_nftcollection" DefaultColNameNFT = "digest_nft" DefaultColNameNFTOperator = "digest_nftoperator" )
View Source
var DefaultIndexes = cdigest.DefaultIndexes
Functions ¶
func NFTCollection ¶
func NFTOperators ¶
func NFTsByCollection ¶
func PrepareNFTs ¶
func PrepareNFTs(bs *cdigest.BlockSession, st base.State) (string, []mongo.WriteModel, error)
Types ¶
type NFTAllApprovedDoc ¶
func NewNFTOperatorDoc ¶
func (NFTAllApprovedDoc) MarshalBSON ¶
func (doc NFTAllApprovedDoc) MarshalBSON() ([]byte, error)
type NFTCollectionDoc ¶
func NewNFTCollectionDoc ¶
func (NFTCollectionDoc) MarshalBSON ¶
func (doc NFTCollectionDoc) MarshalBSON() ([]byte, error)
type NFTDoc ¶
func (NFTDoc) MarshalBSON ¶
type NFTLastIndexDoc ¶
func NewNFTLastIndexDoc ¶
func (NFTLastIndexDoc) MarshalBSON ¶
func (doc NFTLastIndexDoc) MarshalBSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.