Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeLabel ¶
SanitizeLabel ensures that s is a valid utf8 string by replacing any ill formed bytes with a replacement character.
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
Click to show internal directories.
Click to hide internal directories.