Documentation ¶
Index ¶
- Variables
- func AllCodes() []cid.Cid
- func NewMarketProposalsDiffContainer(pre, cur DealProposals) *marketProposalsDiffContainer
- func NewMarketStatesDiffContainer(pre, cur DealStates) *marketStatesDiffContainer
- func VersionCodes() map[actorstypes.Version]cid.Cid
- type DealIDState
- type DealLabel
- type DealProposal
- type DealProposalChanges
- type DealProposals
- type DealState
- type DealStateChange
- type DealStateChanges
- type DealStates
- type ProposalIDState
- type State
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Address = builtintypes.StorageMarketActorAddr Methods = builtintypes.MethodsMarket )
Functions ¶
func NewMarketProposalsDiffContainer ¶
func NewMarketProposalsDiffContainer(pre, cur DealProposals) *marketProposalsDiffContainer
func NewMarketStatesDiffContainer ¶
func NewMarketStatesDiffContainer(pre, cur DealStates) *marketStatesDiffContainer
func VersionCodes ¶ added in v0.11.0
func VersionCodes() map[actorstypes.Version]cid.Cid
Types ¶
type DealIDState ¶
type DealLabel ¶ added in v0.13.0
type DealLabel = markettypes.DealLabel
type DealProposal ¶
type DealProposal = markettypes.DealProposal
type DealProposalChanges ¶
type DealProposalChanges struct { Added []ProposalIDState Removed []ProposalIDState }
func DiffDealProposals ¶
type DealProposals ¶
type DealProposals interface { ForEach(cb func(id abi.DealID, dp markettypes.DealProposal) error) error Get(id abi.DealID) (*markettypes.DealProposal, bool, error) // contains filtered or unexported methods }
type DealState ¶
type DealState = markettypes.DealState
type DealStateChange ¶
DealStateChange is a change in deal state from -> to
type DealStateChanges ¶
type DealStateChanges struct { Added []DealIDState Modified []DealStateChange Removed []DealIDState }
func DiffDealStates ¶
type DealStates ¶
type ProposalIDState ¶
type ProposalIDState struct { ID abi.DealID Proposal markettypes.DealProposal }
type State ¶
type State interface { cbor.Marshaler Code() cid.Cid ActorKey() string ActorVersion() actorstypes.Version StatesChanged(State) (bool, error) States() (DealStates, error) ProposalsChanged(State) (bool, error) Proposals() (DealProposals, error) DealProposalsAmtBitwidth() int DealStatesAmtBitwidth() int }
Click to show internal directories.
Click to hide internal directories.