Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorStateChange ¶
type ActorStateChange struct {
Actor types.Actor
ChangeType ChangeType
}
type ActorStateChangeDiff ¶
type ActorStateChangeDiff map[address.Address]ActorStateChange
type ActorStatesByType ¶ added in v0.17.1
type ChangeType ¶
type ChangeType int
ChangeType denotes type of state change
const ( ChangeTypeUnknown ChangeType = iota ChangeTypeAdd ChangeTypeRemove ChangeTypeModify )
func (ChangeType) String ¶
func (c ChangeType) String() string
type DataSource ¶
type DataSource interface {
TipSet(ctx context.Context, tsk types.TipSetKey) (*types.TipSet, error)
Actor(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*types.Actor, error)
ActorState(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.ActorState, error)
ActorInfo(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*ActorInfo, error)
CirculatingSupply(ctx context.Context, ts *types.TipSet) (api.CirculatingSupply, error)
MinerPower(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.MinerPower, error)
ActorStateChanges(ctx context.Context, ts, pts *types.TipSet) (ActorStateChangeDiff, error)
MessageExecutions(ctx context.Context, ts, pts *types.TipSet) ([]*lens.MessageExecution, error)
Store() adt.Store
ComputeBaseFee(ctx context.Context, ts *types.TipSet) (abi.TokenAmount, error)
TipSetBlockMessages(ctx context.Context, ts *types.TipSet) ([]*lens.BlockMessages, error)
TipSetMessageReceipts(ctx context.Context, ts, pts *types.TipSet) ([]*lens.BlockMessageReceipts, error)
MessageReceiptEvents(ctx context.Context, root cid.Cid) ([]types.Event, error)
MessagesWithDeduplicationForTipSet(ctx context.Context, ts *types.TipSet) (map[cid.Cid]types.ChainMsg, error)
DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.SectorChanges, error)
DiffPreCommits(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.PreCommitChanges, error)
DiffPreCommitsV8(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.PreCommitChangesV8, error)
MinerLoad(store adt.Store, act *types.Actor) (miner.State, error)
ShouldBurnFn(ctx context.Context, ts *types.TipSet) (lens.ShouldBurnFn, error)
EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error)
EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*api.EthTxReceipt, error)
ChainGetMessagesInTipset(ctx context.Context, tsk types.TipSetKey) ([]api.Message, error)
EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error)
StateListActors(ctx context.Context, tsk types.TipSetKey) ([]address.Address, error)
GetActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error)
StateCompute(ctx context.Context, height abi.ChainEpoch, msgs []*types.Message, tsk types.TipSetKey) (*api.ComputeStateOutput, error)
SetIdRobustAddressMap(ctx context.Context, tsk types.TipSetKey) error
LookupRobustAddress(ctx context.Context, idAddr address.Address, tsk types.TipSetKey) (address.Address, error)
GetSectorAddedFromEvent(ctx context.Context, tsk types.TipSetKey) (map[uint64]bool, error)
}
Directories
¶
| Path | Synopsis |
|---|---|
|
blocks
|
|
|
fevm
|
|
|
messageexecutions
|
|
|
Package msapprovals provides a task for recording multisig approvals
|
Package msapprovals provides a task for recording multisig approvals |
|
periodic_actor_dump
|
|
|
survey
|
|
Click to show internal directories.
Click to hide internal directories.