Documentation ¶
Index ¶
- type State
- func (_m *State) ActorKey() string
- func (_m *State) ActorVersion() actors.Version
- func (_m *State) AvailableBalance(_a0 big.Int) (big.Int, error)
- func (_m *State) Code() cid.Cid
- func (_m *State) DeadlineCronActive() (bool, error)
- func (_m *State) DeadlineInfo(epoch abi.ChainEpoch) (*dline.Info, error)
- func (_m *State) DeadlinesChanged(_a0 miner.State) (bool, error)
- func (_m *State) DecodeSectorOnChainInfo(_a0 *typegen.Deferred) (v16miner.SectorOnChainInfo, error)
- func (_m *State) DecodeSectorPreCommitOnChainInfo(_a0 *typegen.Deferred) (v9miner.SectorPreCommitOnChainInfo, error)
- func (_m *State) DecodeSectorPreCommitOnChainInfoToV8(_a0 *typegen.Deferred) (v8miner.SectorPreCommitOnChainInfo, error)
- func (_m *State) EraseAllUnproven() error
- func (_m *State) FeeDebt() (big.Int, error)
- func (_m *State) FindSector(_a0 abi.SectorNumber) (*miner.SectorLocation, error)
- func (_m *State) ForEachDeadline(cb func(uint64, miner.Deadline) error) error
- func (_m *State) ForEachPrecommittedSector(_a0 func(v9miner.SectorPreCommitOnChainInfo) error) error
- func (_m *State) ForEachPrecommittedSectorV8(_a0 func(v8miner.SectorPreCommitOnChainInfo) error) error
- func (_m *State) GetAllocatedSectors() (*bitfield.BitField, error)
- func (_m *State) GetPrecommittedSector(_a0 abi.SectorNumber) (*v9miner.SectorPreCommitOnChainInfo, error)
- func (_m *State) GetProvingPeriodStart() (abi.ChainEpoch, error)
- func (_m *State) GetSector(_a0 abi.SectorNumber) (*v16miner.SectorOnChainInfo, error)
- func (_m *State) GetSectorExpiration(_a0 abi.SectorNumber) (*miner.SectorExpiration, error)
- func (_m *State) GetState() interface{}
- func (_m *State) Info() (v9miner.MinerInfo, error)
- func (_m *State) IsAllocated(_a0 abi.SectorNumber) (bool, error)
- func (_m *State) LoadDeadline(idx uint64) (miner.Deadline, error)
- func (_m *State) LoadSectors(sectorNos *bitfield.BitField) ([]*v16miner.SectorOnChainInfo, error)
- func (_m *State) LockedFunds() (miner.LockedFunds, error)
- func (_m *State) MarshalCBOR(w io.Writer) error
- func (_m *State) MinerInfoChanged(_a0 miner.State) (bool, error)
- func (_m *State) NumDeadlines() (uint64, error)
- func (_m *State) NumLiveSectors() (uint64, error)
- func (_m *State) PrecommitsMap() (adt.Map, error)
- func (_m *State) PrecommitsMapBitWidth() int
- func (_m *State) PrecommitsMapHashFunction() func([]byte) []byte
- func (_m *State) SectorsAmtBitwidth() int
- func (_m *State) SectorsArray() (adt.Array, error)
- func (_m *State) UnallocatedSectorNumbers(count int) ([]abi.SectorNumber, error)
- func (_m *State) VestedFunds(_a0 abi.ChainEpoch) (big.Int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
State is an autogenerated mock type for the State type
func NewState ¶
func NewState(t mockConstructorTestingTNewState) *State
NewState creates a new instance of State. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*State) ActorVersion ¶ added in v0.11.0
ActorVersion provides a mock function with given fields:
func (*State) AvailableBalance ¶
AvailableBalance provides a mock function with given fields: _a0
func (*State) DeadlineCronActive ¶
DeadlineCronActive provides a mock function with given fields:
func (*State) DeadlineInfo ¶
DeadlineInfo provides a mock function with given fields: epoch
func (*State) DeadlinesChanged ¶
DeadlinesChanged provides a mock function with given fields: _a0
func (*State) DecodeSectorOnChainInfo ¶
DecodeSectorOnChainInfo provides a mock function with given fields: _a0
func (*State) DecodeSectorPreCommitOnChainInfo ¶
func (_m *State) DecodeSectorPreCommitOnChainInfo(_a0 *typegen.Deferred) (v9miner.SectorPreCommitOnChainInfo, error)
DecodeSectorPreCommitOnChainInfo provides a mock function with given fields: _a0
func (*State) DecodeSectorPreCommitOnChainInfoToV8 ¶ added in v0.13.0
func (_m *State) DecodeSectorPreCommitOnChainInfoToV8(_a0 *typegen.Deferred) (v8miner.SectorPreCommitOnChainInfo, error)
DecodeSectorPreCommitOnChainInfoToV8 provides a mock function with given fields: _a0
func (*State) EraseAllUnproven ¶ added in v0.11.0
EraseAllUnproven provides a mock function with given fields:
func (*State) FindSector ¶
func (_m *State) FindSector(_a0 abi.SectorNumber) (*miner.SectorLocation, error)
FindSector provides a mock function with given fields: _a0
func (*State) ForEachDeadline ¶
ForEachDeadline provides a mock function with given fields: cb
func (*State) ForEachPrecommittedSector ¶
func (_m *State) ForEachPrecommittedSector(_a0 func(v9miner.SectorPreCommitOnChainInfo) error) error
ForEachPrecommittedSector provides a mock function with given fields: _a0
func (*State) ForEachPrecommittedSectorV8 ¶ added in v0.13.0
func (_m *State) ForEachPrecommittedSectorV8(_a0 func(v8miner.SectorPreCommitOnChainInfo) error) error
ForEachPrecommittedSectorV8 provides a mock function with given fields: _a0
func (*State) GetAllocatedSectors ¶
GetAllocatedSectors provides a mock function with given fields:
func (*State) GetPrecommittedSector ¶
func (_m *State) GetPrecommittedSector(_a0 abi.SectorNumber) (*v9miner.SectorPreCommitOnChainInfo, error)
GetPrecommittedSector provides a mock function with given fields: _a0
func (*State) GetProvingPeriodStart ¶
func (_m *State) GetProvingPeriodStart() (abi.ChainEpoch, error)
GetProvingPeriodStart provides a mock function with given fields:
func (*State) GetSector ¶
func (_m *State) GetSector(_a0 abi.SectorNumber) (*v16miner.SectorOnChainInfo, error)
GetSector provides a mock function with given fields: _a0
func (*State) GetSectorExpiration ¶
func (_m *State) GetSectorExpiration(_a0 abi.SectorNumber) (*miner.SectorExpiration, error)
GetSectorExpiration provides a mock function with given fields: _a0
func (*State) GetState ¶
func (_m *State) GetState() interface{}
GetState provides a mock function with given fields:
func (*State) IsAllocated ¶
func (_m *State) IsAllocated(_a0 abi.SectorNumber) (bool, error)
IsAllocated provides a mock function with given fields: _a0
func (*State) LoadDeadline ¶
LoadDeadline provides a mock function with given fields: idx
func (*State) LoadSectors ¶
LoadSectors provides a mock function with given fields: sectorNos
func (*State) LockedFunds ¶
func (_m *State) LockedFunds() (miner.LockedFunds, error)
LockedFunds provides a mock function with given fields:
func (*State) MarshalCBOR ¶
MarshalCBOR provides a mock function with given fields: w
func (*State) MinerInfoChanged ¶
MinerInfoChanged provides a mock function with given fields: _a0
func (*State) NumDeadlines ¶
NumDeadlines provides a mock function with given fields:
func (*State) NumLiveSectors ¶
NumLiveSectors provides a mock function with given fields:
func (*State) PrecommitsMap ¶ added in v0.11.0
PrecommitsMap provides a mock function with given fields:
func (*State) PrecommitsMapBitWidth ¶ added in v0.11.0
PrecommitsMapBitWidth provides a mock function with given fields:
func (*State) PrecommitsMapHashFunction ¶ added in v0.11.0
PrecommitsMapHashFunction provides a mock function with given fields:
func (*State) SectorsAmtBitwidth ¶
SectorsAmtBitwidth provides a mock function with given fields:
func (*State) SectorsArray ¶ added in v0.11.0
SectorsArray provides a mock function with given fields:
func (*State) UnallocatedSectorNumbers ¶
func (_m *State) UnallocatedSectorNumbers(count int) ([]abi.SectorNumber, error)
UnallocatedSectorNumbers provides a mock function with given fields: count
func (*State) VestedFunds ¶
VestedFunds provides a mock function with given fields: _a0