bony_api

package module
v0.0.0-...-1829ef0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

README

bony-api

Lint Code Base

Install

go get -u github.com/bitrainforest/bony-api

Documentation

Index

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
}

func GetAPI

func GetAPI(ctx context.Context, addrStr string, token string) (API, jsonrpc.ClientCloser, error)

func NewBonyRPC

func NewBonyRPC(ctx context.Context, addr string, requestHeader http.Header) (API, jsonrpc.ClientCloser, error)

type APIStruct

type APIStruct struct {
	ChainAPIStruct

	StateAPIStruct

	LotusServiceAPIStruct

	Internal struct {
		SyncState func(p0 context.Context) (*api.SyncState, error) `perm:"read"`
	}
}

func (*APIStruct) SyncState

func (s *APIStruct) SyncState(p0 context.Context) (*api.SyncState, error)

type APIStub

func (*APIStub) SyncState

func (s *APIStub) SyncState(p0 context.Context) (*api.SyncState, error)

type AuthAPI

type AuthAPI interface {
	AuthVerify(ctx context.Context, token string) ([]auth.Permission, error) //perm:read
}

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 (s *ChainAPIStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)

func (*ChainAPIStruct) ChainGetParentMessages

func (s *ChainAPIStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]api.Message, error)

func (*ChainAPIStruct) ChainGetParentReceipts

func (s *ChainAPIStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)

func (*ChainAPIStruct) ChainGetTipSet

func (s *ChainAPIStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)

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 (s *ChainAPIStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)

func (*ChainAPIStruct) ChainHead

func (s *ChainAPIStruct) ChainHead(p0 context.Context) (*types.TipSet, error)

func (*ChainAPIStruct) ChainNotify

func (s *ChainAPIStruct) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)

func (*ChainAPIStruct) ChainReadObj

func (s *ChainAPIStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)

func (*ChainAPIStruct) ChainSetHead

func (s *ChainAPIStruct) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error

func (*ChainAPIStruct) ChainStatObj

func (s *ChainAPIStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (api.ObjStat, error)

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 (s *ChainAPIStub) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)

func (*ChainAPIStub) ChainGetParentMessages

func (s *ChainAPIStub) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]api.Message, error)

func (*ChainAPIStub) ChainGetParentReceipts

func (s *ChainAPIStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)

func (*ChainAPIStub) ChainGetTipSet

func (s *ChainAPIStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)

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 (s *ChainAPIStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)

func (*ChainAPIStub) ChainHead

func (s *ChainAPIStub) ChainHead(p0 context.Context) (*types.TipSet, error)

func (*ChainAPIStub) ChainNotify

func (s *ChainAPIStub) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)

func (*ChainAPIStub) ChainReadObj

func (s *ChainAPIStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)

func (*ChainAPIStub) ChainSetHead

func (s *ChainAPIStub) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error

func (*ChainAPIStub) ChainStatObj

func (s *ChainAPIStub) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (api.ObjStat, error)

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 Net

type Net = v0api.Net

type NetStruct

type NetStruct = v0api.NetStruct

type NetStub

type NetStub = v0api.NetStub

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 (s *StateAPIStruct) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error)

func (*StateAPIStruct) StateGetActor

func (s *StateAPIStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)

func (*StateAPIStruct) StateGetReceipt

func (s *StateAPIStruct) StateGetReceipt(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error)

func (*StateAPIStruct) StateListActors

func (s *StateAPIStruct) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)

func (*StateAPIStruct) StateMarketDeals

func (s *StateAPIStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error)

func (*StateAPIStruct) StateMinerDeadlines

func (s *StateAPIStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error)

func (*StateAPIStruct) StateMinerInfo

func (s *StateAPIStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error)

func (*StateAPIStruct) StateMinerPartitions

func (s *StateAPIStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error)

func (*StateAPIStruct) StateMinerPower

func (s *StateAPIStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)

func (*StateAPIStruct) StateMinerSectorAllocated

func (s *StateAPIStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)

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 (s *StateAPIStub) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error)

func (*StateAPIStub) StateGetActor

func (s *StateAPIStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)

func (*StateAPIStub) StateGetReceipt

func (s *StateAPIStub) StateGetReceipt(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (*types.MessageReceipt, error)

func (*StateAPIStub) StateListActors

func (s *StateAPIStub) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)

func (*StateAPIStub) StateMarketDeals

func (s *StateAPIStub) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]api.MarketDeal, error)

func (*StateAPIStub) StateMinerDeadlines

func (s *StateAPIStub) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error)

func (*StateAPIStub) StateMinerInfo

func (s *StateAPIStub) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (lotusMiner.MinerInfo, error)

func (*StateAPIStub) StateMinerPartitions

func (s *StateAPIStub) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error)

func (*StateAPIStub) StateMinerPower

func (s *StateAPIStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)

func (*StateAPIStub) StateMinerSectorAllocated

func (s *StateAPIStub) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL