Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FEVMActorDump ¶
type FEVMActorDump struct { // Height message was executed at. Height int64 `pg:",pk,notnull,use_zero"` // Actor address. ActorID string `pg:",pk,notnull"` // Actor Address in ETH. EthAddress string `pg:",notnull"` // Contract Bytecode. ByteCode string `pg:",notnull"` // Contract Bytecode is encoded in hash by Keccak256. ByteCodeHash string `pg:",notnull"` // Balance of EVM actor in attoFIL. Balance string `pg:"type:numeric,notnull"` // The next actor nonce that is expected to appear on chain. Nonce uint64 `pg:",pk,use_zero"` // Actor Name ActorName string `pg:",notnull"` // contains filtered or unexported fields }
func (*FEVMActorDump) Persist ¶
func (f *FEVMActorDump) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type FEVMActorDumpList ¶
type FEVMActorDumpList []*FEVMActorDump
func (FEVMActorDumpList) Persist ¶
func (f FEVMActorDumpList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type MinerActorDump ¶ added in v0.17.2
type MinerActorDump struct { Height int64 `pg:",pk,notnull,use_zero"` MinerID string `pg:",pk,notnull"` MinerAddress string `pg:",pk,notnull"` StateRoot string `pg:",notnull"` // Miner Info OwnerID string `pg:",notnull"` OwnerAddress string `pg:",notnull"` WorkerID string `pg:",notnull"` WorkerAddress string `pg:",notnull"` ConsensusFaultedElapsed int64 `pg:",notnull,use_zero"` PeerID string `pg:",notnull"` ControlAddresses string `pg:",type:jsonb"` Beneficiary string `pg:",notnull"` BeneficiaryAddress string `pg:",notnull"` SectorSize uint64 `pg:",use_zero"` NumLiveSectors uint64 `pg:",use_zero"` // Claims RawBytePower string `pg:"type:numeric,notnull"` QualityAdjPower string `pg:"type:numeric,notnull"` // Fil Related Fields // Locked Funds TotalLockedFunds string `pg:"type:numeric,notnull"` VestingFunds string `pg:"type:numeric,notnull"` InitialPledge string `pg:"type:numeric,notnull"` PreCommitDeposits string `pg:"type:numeric,notnull"` // Balance AvailableBalance string `pg:"type:numeric,notnull"` Balance string `pg:"type:numeric,notnull"` FeeDebt string `pg:"type:numeric,notnull"` // contains filtered or unexported fields }
func (*MinerActorDump) Persist ¶ added in v0.17.2
func (m *MinerActorDump) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
func (*MinerActorDump) UpdateBalanceInfo ¶ added in v0.17.2
func (*MinerActorDump) UpdateMinerInfo ¶ added in v0.17.2
func (m *MinerActorDump) UpdateMinerInfo(minerState miner.State) error
type MinerActorDumpList ¶ added in v0.17.2
type MinerActorDumpList []*MinerActorDump
func (MinerActorDumpList) Persist ¶ added in v0.17.2
func (ml MinerActorDumpList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
Click to show internal directories.
Click to hide internal directories.