Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketDealProposal ¶
type MarketDealProposal struct { Height int64 `pg:",pk,notnull,use_zero"` DealID uint64 `pg:",pk,use_zero"` StateRoot string `pg:",notnull"` PaddedPieceSize uint64 `pg:",use_zero"` UnpaddedPieceSize uint64 `pg:",use_zero"` StartEpoch int64 `pg:",use_zero"` EndEpoch int64 `pg:",use_zero"` ClientID string `pg:",notnull"` ProviderID string `pg:",notnull"` ClientCollateral string `pg:",notnull"` ProviderCollateral string `pg:",notnull"` StoragePricePerEpoch string `pg:",notnull"` PieceCID string `pg:",notnull"` IsVerified bool `pg:",notnull,use_zero"` Label string }
func (*MarketDealProposal) Persist ¶
func (dp *MarketDealProposal) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type MarketDealProposals ¶
type MarketDealProposals []*MarketDealProposal
func (MarketDealProposals) Persist ¶
func (dps MarketDealProposals) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type MarketDealState ¶
type MarketDealState struct { Height int64 `pg:",pk,notnull,use_zero"` DealID uint64 `pg:",pk,use_zero"` SectorStartEpoch int64 `pg:",pk,use_zero"` LastUpdateEpoch int64 `pg:",pk,use_zero"` SlashEpoch int64 `pg:",pk,use_zero"` StateRoot string `pg:",notnull"` }
func (*MarketDealState) Persist ¶
func (ds *MarketDealState) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type MarketDealStates ¶
type MarketDealStates []*MarketDealState
func (MarketDealStates) Persist ¶
func (dss MarketDealStates) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type MarketTaskResult ¶
type MarketTaskResult struct { Proposals MarketDealProposals States MarketDealStates }
func (*MarketTaskResult) Persist ¶
func (mtr *MarketTaskResult) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
Click to show internal directories.
Click to hide internal directories.