market

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0, MIT Imports: 16 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

Jump to

Keyboard shortcuts

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