Documentation
¶
Index ¶
- Variables
- type API
- type APIStruct
- type APIStub
- type AuthAPI
- type AuthAPIStruct
- type AuthAPIStub
- type ChainAPI
- type ChainAPIStruct
- func (s *ChainAPIStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *ChainAPIStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*api.BlockMessages, error)
- func (s *ChainAPIStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)
- func (s *ChainAPIStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]api.Message, error)
- func (s *ChainAPIStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *ChainAPIStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *ChainAPIStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *ChainAPIStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *ChainAPIStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *ChainAPIStruct) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *ChainAPIStruct) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
- func (s *ChainAPIStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *ChainAPIStruct) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error
- func (s *ChainAPIStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (api.ObjStat, error)
- type ChainAPIStub
- func (s *ChainAPIStub) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *ChainAPIStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*api.BlockMessages, error)
- func (s *ChainAPIStub) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)
- func (s *ChainAPIStub) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]api.Message, error)
- func (s *ChainAPIStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *ChainAPIStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *ChainAPIStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *ChainAPIStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *ChainAPIStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *ChainAPIStub) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *ChainAPIStub) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
- func (s *ChainAPIStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *ChainAPIStub) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error
- func (s *ChainAPIStub) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (api.ObjStat, error)
- type LotusServiceAPI
- type LotusServiceAPIStruct
- type LotusServiceAPIStub
- type Net
- type NetStruct
- type NetStub
- type StateAPI
- type StateAPIStruct
- func (s *StateAPIStruct) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error)
- func (s *StateAPIStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *StateAPIStruct) StateGetReceipt(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error)
- func (s *StateAPIStruct) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *StateAPIStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error)
- func (s *StateAPIStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error)
- func (s *StateAPIStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error)
- func (s *StateAPIStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error)
- func (s *StateAPIStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
- func (s *StateAPIStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (bool, error)
- func (s *StateAPIStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
- func (s *StateAPIStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *StateAPIStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
- func (s *StateAPIStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*lotusMiner.SectorExpiration, error)
- func (s *StateAPIStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*lotusMiner.SectorOnChainInfo, error)
- func (s *StateAPIStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*lotusMiner.SectorLocation, error)
- func (s *StateAPIStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (lotusMiner.SectorPreCommitOnChainInfo, error)
- func (s *StateAPIStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
- type StateAPIStub
- func (s *StateAPIStub) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error)
- func (s *StateAPIStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *StateAPIStub) StateGetReceipt(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error)
- func (s *StateAPIStub) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *StateAPIStub) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error)
- func (s *StateAPIStub) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error)
- func (s *StateAPIStub) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error)
- func (s *StateAPIStub) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error)
- func (s *StateAPIStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
- func (s *StateAPIStub) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (bool, error)
- func (s *StateAPIStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
- func (s *StateAPIStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *StateAPIStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
- func (s *StateAPIStub) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*lotusMiner.SectorExpiration, error)
- func (s *StateAPIStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*lotusMiner.SectorOnChainInfo, error)
- func (s *StateAPIStub) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*lotusMiner.SectorLocation, error)
- func (s *StateAPIStub) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (lotusMiner.SectorPreCommitOnChainInfo, error)
- func (s *StateAPIStub) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotSupported = xerrors.New("method not supported")
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
ChainAPI
StateAPI
LotusServiceAPI
SyncState(context.Context) (*api.SyncState, error) //perm:read
}
type APIStruct ¶
type APIStruct struct {
ChainAPIStruct
StateAPIStruct
LotusServiceAPIStruct
Internal struct {
SyncState func(p0 context.Context) (*api.SyncState, error) `perm:"read"`
}
}
type APIStub ¶
type APIStub struct {
ChainAPIStub
StateAPIStub
LotusServiceAPIStub
}
type AuthAPIStruct ¶
type AuthAPIStruct struct {
Internal struct {
AuthVerify func(p0 context.Context, p1 string) ([]auth.Permission, error) `perm:"read"`
}
}
func (*AuthAPIStruct) AuthVerify ¶
func (s *AuthAPIStruct) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
type AuthAPIStub ¶
type AuthAPIStub struct {
}
func (*AuthAPIStub) AuthVerify ¶
func (s *AuthAPIStub) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
type ChainAPI ¶
type ChainAPI interface {
ChainNotify(context.Context) (<-chan []*api.HeadChange, error) //perm:read
ChainHead(context.Context) (*types.TipSet, error) //perm:read
ChainHasObj(ctx context.Context, obj cid.Cid) (bool, error) //perm:read
ChainReadObj(ctx context.Context, obj cid.Cid) ([]byte, error) //perm:read
ChainGetGenesis(ctx context.Context) (*types.TipSet, error) //perm:read
ChainGetTipSet(context.Context, types.TipSetKey) (*types.TipSet, error) //perm:read
ChainGetTipSetByHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error) //perm:read
ChainGetTipSetAfterHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error) //perm:read
ChainGetBlock(context.Context, cid.Cid) (*types.BlockHeader, error) //perm:read
ChainGetBlockMessages(ctx context.Context, msg cid.Cid) (*api.BlockMessages, error) //perm:read
ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]api.Message, error) //perm:read
ChainGetParentReceipts(ctx context.Context, blockCid cid.Cid) ([]*types.MessageReceipt, error) //perm:read
ChainSetHead(context.Context, types.TipSetKey) error //perm:admin
ChainStatObj(ctx context.Context, obj cid.Cid, base cid.Cid) (api.ObjStat, error) //perm:read
}
type ChainAPIStruct ¶
type ChainAPIStruct struct {
Internal struct {
ChainGetBlock func(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error) `perm:"read"`
ChainGetBlockMessages func(p0 context.Context, p1 cid.Cid) (*api.BlockMessages, error) `perm:"read"`
ChainGetGenesis func(p0 context.Context) (*types.TipSet, error) `perm:"read"`
ChainGetParentMessages func(p0 context.Context, p1 cid.Cid) ([]api.Message, error) `perm:"read"`
ChainGetParentReceipts func(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error) `perm:"read"`
ChainGetTipSet func(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error) `perm:"read"`
ChainGetTipSetAfterHeight func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) `perm:"read"`
ChainGetTipSetByHeight func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) `perm:"read"`
ChainHasObj func(p0 context.Context, p1 cid.Cid) (bool, error) `perm:"read"`
ChainHead func(p0 context.Context) (*types.TipSet, error) `perm:"read"`
ChainNotify func(p0 context.Context) (<-chan []*api.HeadChange, error) `perm:"read"`
ChainReadObj func(p0 context.Context, p1 cid.Cid) ([]byte, error) `perm:"read"`
ChainSetHead func(p0 context.Context, p1 types.TipSetKey) error `perm:"admin"`
ChainStatObj func(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (api.ObjStat, error) `perm:"read"`
}
}
func (*ChainAPIStruct) ChainGetBlock ¶
func (s *ChainAPIStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*ChainAPIStruct) ChainGetBlockMessages ¶
func (s *ChainAPIStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*api.BlockMessages, error)
func (*ChainAPIStruct) ChainGetGenesis ¶
func (*ChainAPIStruct) ChainGetParentMessages ¶
func (*ChainAPIStruct) ChainGetParentReceipts ¶
func (s *ChainAPIStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*ChainAPIStruct) ChainGetTipSet ¶
func (*ChainAPIStruct) ChainGetTipSetAfterHeight ¶
func (s *ChainAPIStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*ChainAPIStruct) ChainGetTipSetByHeight ¶
func (s *ChainAPIStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*ChainAPIStruct) ChainHasObj ¶
func (*ChainAPIStruct) ChainNotify ¶
func (s *ChainAPIStruct) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
func (*ChainAPIStruct) ChainReadObj ¶
func (*ChainAPIStruct) ChainSetHead ¶
type ChainAPIStub ¶
type ChainAPIStub struct {
}
func (*ChainAPIStub) ChainGetBlock ¶
func (s *ChainAPIStub) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*ChainAPIStub) ChainGetBlockMessages ¶
func (s *ChainAPIStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*api.BlockMessages, error)
func (*ChainAPIStub) ChainGetGenesis ¶
func (*ChainAPIStub) ChainGetParentMessages ¶
func (*ChainAPIStub) ChainGetParentReceipts ¶
func (s *ChainAPIStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*ChainAPIStub) ChainGetTipSet ¶
func (*ChainAPIStub) ChainGetTipSetAfterHeight ¶
func (s *ChainAPIStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*ChainAPIStub) ChainGetTipSetByHeight ¶
func (s *ChainAPIStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*ChainAPIStub) ChainHasObj ¶
func (*ChainAPIStub) ChainNotify ¶
func (s *ChainAPIStub) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
func (*ChainAPIStub) ChainReadObj ¶
func (*ChainAPIStub) ChainSetHead ¶
type LotusServiceAPI ¶
type LotusServiceAPI interface {
MinerSectorChanges(ctx context.Context, addr address.Address, from, to abi.ChainEpoch) (*lotusMiner.SectorChanges, error) //perm:read
MinerVestingFunds(ctx context.Context, addr address.Address, target abi.ChainEpoch) (abi.TokenAmount, error) //perm:read
}
type LotusServiceAPIStruct ¶
type LotusServiceAPIStruct struct {
Internal struct {
MinerSectorChanges func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*lotusMiner.SectorChanges, error) `perm:"read"`
MinerVestingFunds func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch) (abi.TokenAmount, error) `perm:"read"`
}
}
func (*LotusServiceAPIStruct) MinerSectorChanges ¶
func (s *LotusServiceAPIStruct) MinerSectorChanges(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*lotusMiner.SectorChanges, error)
func (*LotusServiceAPIStruct) MinerVestingFunds ¶
func (s *LotusServiceAPIStruct) MinerVestingFunds(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch) (abi.TokenAmount, error)
type LotusServiceAPIStub ¶
type LotusServiceAPIStub struct {
}
func (*LotusServiceAPIStub) MinerSectorChanges ¶
func (s *LotusServiceAPIStub) MinerSectorChanges(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*lotusMiner.SectorChanges, error)
func (*LotusServiceAPIStub) MinerVestingFunds ¶
func (s *LotusServiceAPIStub) MinerVestingFunds(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch) (abi.TokenAmount, error)
type StateAPI ¶
type StateAPI interface {
StateGetActor(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*types.Actor, error) //perm:read
StateListActors(context.Context, types.TipSetKey) ([]address.Address, error) //perm:read
StateChangedActors(context.Context, cid.Cid, cid.Cid) (map[string]types.Actor, error) //perm:read
StateMinerPower(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*api.MinerPower, error) //perm:read
StateMarketDeals(context.Context, types.TipSetKey) (map[string]api.MarketDeal, error) //perm:read
StateReadState(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*api.ActorState, error) //perm:read
StateGetReceipt(ctx context.Context, bcid cid.Cid, tsk types.TipSetKey) (*types.MessageReceipt, error) //perm:read
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (api.CirculatingSupply, error) //perm:read
StateNetworkName(context.Context) (dtypes.NetworkName, error) //perm:read
StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (api.MinerSectors, error) //perm:read
StateMinerPartitions(ctx context.Context, m address.Address, dlIdx uint64, tsk types.TipSetKey) ([]api.Partition, error) //perm:read
StateMinerInfo(context.Context, address.Address, types.TipSetKey) (lotusMiner.MinerInfo, error) //perm:read
StateMinerSectorAllocated(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (bool, error) //perm:read
StateSectorPreCommitInfo(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (lotusMiner.SectorPreCommitOnChainInfo, error) //perm:read
StateSectorGetInfo(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*lotusMiner.SectorOnChainInfo, error) //perm:read
StateSectorExpiration(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*lotusMiner.SectorExpiration, error) //perm:read
StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tsk types.TipSetKey) (*lotusMiner.SectorLocation, error) //perm:read
StateMinerDeadlines(context.Context, address.Address, types.TipSetKey) ([]api.Deadline, error) //perm:read
}
type StateAPIStruct ¶
type StateAPIStruct struct {
Internal struct {
StateChangedActors func(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error) `perm:"read"`
StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error) `perm:"read"`
StateGetReceipt func(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error) `perm:"read"`
StateListActors func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error) `perm:"read"`
StateMarketDeals func(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error) `perm:"read"`
StateMinerDeadlines func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error) `perm:"read"`
StateMinerInfo func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error) `perm:"read"`
StateMinerPartitions func(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error) `perm:"read"`
StateMinerPower func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error) `perm:"read"`
StateMinerSectorAllocated func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error) `perm:"read"`
StateMinerSectorCount func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error) `perm:"read"`
StateNetworkName func(p0 context.Context) (dtypes.NetworkName, error) `perm:"read"`
StateReadState func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error) `perm:"read"`
StateSectorExpiration func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorExpiration, error) `perm:"read"`
StateSectorGetInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorOnChainInfo, error) `perm:"read"`
StateSectorPartition func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorLocation, error) `perm:"read"`
StateSectorPreCommitInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (lotusMiner.SectorPreCommitOnChainInfo, error) `perm:"read"`
StateVMCirculatingSupplyInternal func(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error) `perm:"read"`
}
}
func (*StateAPIStruct) StateChangedActors ¶
func (*StateAPIStruct) StateGetActor ¶
func (*StateAPIStruct) StateGetReceipt ¶
func (s *StateAPIStruct) StateGetReceipt(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error)
func (*StateAPIStruct) StateListActors ¶
func (*StateAPIStruct) StateMarketDeals ¶
func (s *StateAPIStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error)
func (*StateAPIStruct) StateMinerDeadlines ¶
func (*StateAPIStruct) StateMinerInfo ¶
func (s *StateAPIStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error)
func (*StateAPIStruct) StateMinerPartitions ¶
func (*StateAPIStruct) StateMinerPower ¶
func (s *StateAPIStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
func (*StateAPIStruct) StateMinerSectorAllocated ¶
func (*StateAPIStruct) StateMinerSectorCount ¶
func (s *StateAPIStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
func (*StateAPIStruct) StateNetworkName ¶
func (s *StateAPIStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*StateAPIStruct) StateReadState ¶
func (s *StateAPIStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
func (*StateAPIStruct) StateSectorExpiration ¶
func (s *StateAPIStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorExpiration, error)
func (*StateAPIStruct) StateSectorGetInfo ¶
func (s *StateAPIStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorOnChainInfo, error)
func (*StateAPIStruct) StateSectorPartition ¶
func (s *StateAPIStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorLocation, error)
func (*StateAPIStruct) StateSectorPreCommitInfo ¶
func (s *StateAPIStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (lotusMiner.SectorPreCommitOnChainInfo, error)
func (*StateAPIStruct) StateVMCirculatingSupplyInternal ¶
func (s *StateAPIStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
type StateAPIStub ¶
type StateAPIStub struct {
}
func (*StateAPIStub) StateChangedActors ¶
func (*StateAPIStub) StateGetActor ¶
func (*StateAPIStub) StateGetReceipt ¶
func (s *StateAPIStub) StateGetReceipt(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error)
func (*StateAPIStub) StateListActors ¶
func (*StateAPIStub) StateMarketDeals ¶
func (s *StateAPIStub) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error)
func (*StateAPIStub) StateMinerDeadlines ¶
func (*StateAPIStub) StateMinerInfo ¶
func (s *StateAPIStub) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error)
func (*StateAPIStub) StateMinerPartitions ¶
func (*StateAPIStub) StateMinerPower ¶
func (s *StateAPIStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
func (*StateAPIStub) StateMinerSectorAllocated ¶
func (*StateAPIStub) StateMinerSectorCount ¶
func (s *StateAPIStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
func (*StateAPIStub) StateNetworkName ¶
func (s *StateAPIStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*StateAPIStub) StateReadState ¶
func (s *StateAPIStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
func (*StateAPIStub) StateSectorExpiration ¶
func (s *StateAPIStub) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorExpiration, error)
func (*StateAPIStub) StateSectorGetInfo ¶
func (s *StateAPIStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorOnChainInfo, error)
func (*StateAPIStub) StateSectorPartition ¶
func (s *StateAPIStub) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*lotusMiner.SectorLocation, error)
func (*StateAPIStub) StateSectorPreCommitInfo ¶
func (s *StateAPIStub) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (lotusMiner.SectorPreCommitOnChainInfo, error)
func (*StateAPIStub) StateVMCirculatingSupplyInternal ¶
func (s *StateAPIStub) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
Click to show internal directories.
Click to hide internal directories.