lotus/chain/actors/actor_storagemarket.go

46 lines
1.2 KiB
Go
Raw Normal View History

package actors
import (
2020-02-08 02:18:32 +00:00
"github.com/filecoin-project/specs-actors/actors/builtin/market"
)
2020-02-08 02:18:32 +00:00
type StorageMarketState = market.State
// TODO: Drop in favour of car storage
2019-10-22 10:20:43 +00:00
type SerializationMode = uint64
const (
SerializationUnixFSv0 = iota
// IPLD / car
)
2020-02-08 02:18:32 +00:00
type StorageDealProposal = market.DealProposal
2020-02-08 02:18:32 +00:00
type WithdrawBalanceParams = market.WithdrawBalanceParams
2020-02-08 02:18:32 +00:00
type PublishStorageDealsParams = market.PublishStorageDealsParams
2020-02-08 02:18:32 +00:00
type PublishStorageDealResponse = market.PublishStorageDealsReturn
2020-02-08 02:18:32 +00:00
type ActivateStorageDealsParams = market.VerifyDealsOnSectorProveCommitParams
2020-02-08 02:18:32 +00:00
type ComputeDataCommitmentParams = market.ComputeDataCommitmentParams
/*
func (sma StorageMarketActor) HandleCronAction(act *types.Actor, vmctx types.VMContext, params *struct{}) ([]byte, ActorError) {
}
func (sma StorageMarketActor) SettleExpiredDeals(act *types.Actor, vmctx types.VMContext, params *struct{}) ([]byte, ActorError) {
}
func (sma StorageMarketActor) SlashStorageDealCollateral(act *types.Actor, vmctx types.VMContext, params *struct{}) ([]byte, ActorError) {
}
func (sma StorageMarketActor) GetLastExpirationFromDealIDs(act *types.Actor, vmctx types.VMContext, params *struct{}) ([]byte, ActorError) {
}
*/