lotus/api/v0api/latest.go

33 lines
720 B
Go
Raw Normal View History

2021-03-25 14:09:50 +00:00
package v0api
import (
"github.com/filecoin-project/lotus/api"
)
type Common = api.Common
type Net = api.Net
type CommonNet = api.CommonNet
2021-03-25 14:09:50 +00:00
type CommonStruct = api.CommonStruct
2021-04-03 11:12:50 +00:00
type CommonStub = api.CommonStub
type NetStruct = api.NetStruct
type NetStub = api.NetStub
type CommonNetStruct = api.CommonNetStruct
type CommonNetStub = api.CommonNetStub
2021-03-25 14:09:50 +00:00
type StorageMiner = api.StorageMiner
type StorageMinerStruct = api.StorageMinerStruct
type Worker = api.Worker
type WorkerStruct = api.WorkerStruct
2021-04-05 11:23:46 +00:00
type Wallet = api.Wallet
2021-03-25 14:09:50 +00:00
func PermissionedStorMinerAPI(a StorageMiner) StorageMiner {
return api.PermissionedStorMinerAPI(a)
}
func PermissionedWorkerAPI(a Worker) Worker {
return api.PermissionedWorkerAPI(a)
}