Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeLabel ¶
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 ¶
func (DealProposalExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type DealStateExtractor ¶
type DealStateExtractor struct{}
func (DealStateExtractor) Extract ¶
func (DealStateExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type MarketStateExtractionContext ¶
type MarketStateExtractionContext struct { PrevState market.State PrevTs *types.TipSet CurrActor *types.Actor CurrState market.State CurrTs *types.TipSet Store adt.Store }
func NewMarketStateExtractionContext ¶
func NewMarketStateExtractionContext(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (*MarketStateExtractionContext, error)
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
func (SectorDealStateExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
Click to show internal directories.
Click to hide internal directories.