market

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeLabel

func SanitizeLabel(s string) string

SanitizeLabel ensures: - s is a valid utf8 string by removing any ill formed bytes. - s does not contain any nil (\x00) bytes because postgres doesn't support storing NULL (\0x00) characters in text fields.

Types

type DealProposalExtractor

type DealProposalExtractor struct{}

func (DealProposalExtractor) Extract

type DealStateExtractor

type DealStateExtractor struct{}

func (DealStateExtractor) Extract

type MarketStateExtractionContext

type MarketStateExtractionContext struct {
	PrevState market.State
	PrevTs    *types.TipSet

	CurrActor *types.Actor
	CurrState market.State
	CurrTs    *types.TipSet

	Store adt.Store
}

func (*MarketStateExtractionContext) IsGenesis

func (m *MarketStateExtractionContext) IsGenesis() bool

type SectorDealStateExtractor added in v0.19.0

type SectorDealStateExtractor struct{}

func (SectorDealStateExtractor) Extract added in v0.19.0

Jump to

Keyboard shortcuts

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