Skip to content

Commit

Permalink
feat(market): filter deals by sector lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5459 committed Aug 11, 2023
1 parent 20ffb74 commit c099bc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions venus-shared/types/market/assigner_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ type GetDealSpec struct {
// end epoch limit of the chosen deals
// if set, the deals should not be alive after or equal than the this epoch
EndEpoch abi.ChainEpoch

// Filter by sector lifetime
SectorActivation *abi.ChainEpoch
SectorExpiration *abi.ChainEpoch
}

type DealInfoIncludePath struct {
Expand Down

0 comments on commit c099bc4

Please sign in to comment.