actordumps

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0, MIT Imports: 9 Imported by: 0

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

type FEVMActorDumpList

type FEVMActorDumpList []*FEVMActorDump

func (FEVMActorDumpList) Persist

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 (*MinerActorDump) UpdateBalanceInfo added in v0.17.2

func (m *MinerActorDump) UpdateBalanceInfo(actor *types.ActorV5, minerState miner.State) error

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

Jump to

Keyboard shortcuts

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