@@ -6,16 +6,15 @@ import (
6
6
"github.com/filecoin-project/go-address"
7
7
"github.com/filecoin-project/go-state-types/abi"
8
8
"github.com/filecoin-project/specs-storage/storage"
9
- types2 "github.com/ipfs-force-community/venus-common-utils/types"
10
- "github.com/ipfs/go-cid"
11
-
9
+ "github.com/filecoin-project/venus/venus-shared/types"
12
10
gtypes "github.com/filecoin-project/venus/venus-shared/types/gateway"
11
+ "github.com/ipfs/go-cid"
13
12
)
14
13
15
14
type IMarketEvent interface {
16
- ListMarketConnectionsState (ctx context.Context ) ([]gtypes.MarketConnectionState , error ) //perm:admin
17
- IsUnsealed (ctx context.Context , miner address.Address , pieceCid cid.Cid , sector storage.SectorRef , offset types2 .PaddedByteIndex , size abi.PaddedPieceSize ) (bool , error ) //perm:admin
18
- SectorsUnsealPiece (ctx context.Context , miner address.Address , pieceCid cid.Cid , sector storage.SectorRef , offset types2 .PaddedByteIndex , size abi.PaddedPieceSize , dest string ) error //perm:admin
15
+ ListMarketConnectionsState (ctx context.Context ) ([]gtypes.MarketConnectionState , error ) //perm:admin
16
+ IsUnsealed (ctx context.Context , miner address.Address , pieceCid cid.Cid , sector storage.SectorRef , offset types .PaddedByteIndex , size abi.PaddedPieceSize ) (bool , error ) //perm:admin
17
+ SectorsUnsealPiece (ctx context.Context , miner address.Address , pieceCid cid.Cid , sector storage.SectorRef , offset types .PaddedByteIndex , size abi.PaddedPieceSize , dest string ) error //perm:admin
19
18
20
19
ResponseMarketEvent (ctx context.Context , resp * gtypes.ResponseEvent ) error //perm:read
21
20
ListenMarketEvent (ctx context.Context , policy * gtypes.MarketRegisterPolicy ) (<- chan * gtypes.RequestEvent , error ) //perm:read
0 commit comments