Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + var Address = builtin3.StorageMarketActorAddr + var Methods = builtin3.MethodsMarket + type BalanceTable interface + ForEach func(cb func(address.Address, abi.TokenAmount) error) error + Get func(key address.Address) (abi.TokenAmount, error) + type ClientDealProposal = market3.ClientDealProposal + type DataIndex = market3.DataIndex + type DataIndexes interface + ForEach func(epoch abi.ChainEpoch, cb func(provider address.Address, index DataIndex) error) error + type DealIDState struct + Deal DealState + ID abi.DealID + type DealProposal struct + Client address.Address + Label string + PieceCID cid.Cid + PieceSize abi.PaddedPieceSize + Provider address.Address + StartEpoch abi.ChainEpoch + type DealProposalChanges struct + Added []ProposalIDState + Removed []ProposalIDState + func DiffDealProposals(pre, cur DealProposals) (*DealProposalChanges, error) + type DealProposals interface + ForEach func(cb func(id abi.DealID, dp DealProposal) error) error + Get func(id abi.DealID) (*DealProposal, bool, error) + type DealState struct + LastUpdatedEpoch abi.ChainEpoch + SectorStartEpoch abi.ChainEpoch + SlashEpoch abi.ChainEpoch + func EmptyDealState() *DealState + type DealStateChange struct + From *DealState + ID abi.DealID + To *DealState + type DealStateChanges struct + Added []DealIDState + Modified []DealStateChange + Removed []DealIDState + func DiffDealStates(pre, cur DealStates) (*DealStateChanges, error) + type DealStates interface + ForEach func(cb func(id abi.DealID, ds DealState) error) error + Get func(id abi.DealID) (*DealState, bool, error) + type ProposalIDState struct + ID abi.DealID + Proposal DealProposal + type PublishStorageDealsParams = market3.PublishStorageDealsParams + type PublishStorageDealsReturn = market3.PublishStorageDealsReturn + type Quotas interface + InitialQuota func() int64 + RemainingQuota func(pieceCID cid.Cid) (int64, error) + type State interface + DataIndexes func() (DataIndexes, error) + HasPendingPiece func(address.Address, []cid.Cid) (bool, error) + Proposals func() (DealProposals, error) + ProposalsChanged func(State) (bool, error) + Quotas func() (Quotas, error) + States func() (DealStates, error) + StatesChanged func(State) (bool, error) + TotalLocked func() (abi.TokenAmount, error) + func Load(store adt.Store, act *types.Actor) (st State, err error) + type StorageDataRef = market3.StorageDataRef + type VerifyDealsForActivationParams = market3.VerifyDealsForActivationParams