Documentation ¶
Index ¶
- type AssignedBlob
- type AssignedSlot
- type Blob
- type BlobAssignment
- type BlockFilter
- type BlockHead
- type BlockStatus
- type ConsolidationRequest
- type ConsolidationRequestFilter
- type ConsolidationRequestTx
- type ConsolidationRequestTxFilter
- type DBEngineType
- type Deposit
- type DepositFilter
- type DepositIndexerState
- type DepositTx
- type DepositTxFilter
- type Epoch
- type ExplorerState
- type Fork
- type IndexerForkState
- type IndexerPruneState
- type IndexerSyncState
- type MevBlock
- type MevBlockFilter
- type OrphanedBlock
- type SearchAheadEpochsResult
- type SearchAheadExecBlocksResult
- type SearchAheadGraffitiResult
- type SearchAheadSlotsResult
- type SearchAheadValidatorNameResult
- type SearchBlockResult
- type SearchGraffitiResult
- type SearchNameResult
- type Slashing
- type SlashingFilter
- type SlashingReason
- type Slot
- type SlotAssignment
- type SlotHeader
- type SlotStatus
- type SyncAssignment
- type TxFunctionSignature
- type TxPendingFunctionSignature
- type TxUnknownFunctionSignature
- type UnfinalizedBlock
- type UnfinalizedBlockFilter
- type UnfinalizedBlockStatus
- type UnfinalizedDuty
- type UnfinalizedEpoch
- type ValidatorName
- type VoluntaryExit
- type VoluntaryExitFilter
- type WithdrawalRequest
- type WithdrawalRequestFilter
- type WithdrawalRequestTx
- type WithdrawalRequestTxFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignedBlob ¶
type AssignedSlot ¶
type BlobAssignment ¶
type BlockFilter ¶
type BlockStatus ¶
type BlockStatus struct { Root []byte `db:"root"` Status SlotStatus `db:"status"` }
type ConsolidationRequest ¶ added in v1.11.0
type ConsolidationRequest struct { SlotNumber uint64 `db:"slot_number"` SlotRoot []byte `db:"slot_root"` SlotIndex uint64 `db:"slot_index"` Orphaned bool `db:"orphaned"` ForkId uint64 `db:"fork_id"` SourceAddress []byte `db:"source_address"` SourceIndex *uint64 `db:"source_index"` SourcePubkey []byte `db:"source_pubkey"` TargetIndex *uint64 `db:"target_index"` TargetPubkey []byte `db:"target_pubkey"` TxHash []byte `db:"tx_hash"` BlockNumber uint64 `db:"block_number"` }
type ConsolidationRequestFilter ¶ added in v1.12.0
type ConsolidationRequestTx ¶ added in v1.12.1
type ConsolidationRequestTx struct { BlockNumber uint64 `db:"block_number"` BlockIndex uint64 `db:"block_index"` BlockTime uint64 `db:"block_time"` BlockRoot []byte `db:"block_root"` ForkId uint64 `db:"fork_id"` SourceAddress []byte `db:"source_address"` SourcePubkey []byte `db:"source_pubkey"` SourceIndex *uint64 `db:"source_index"` TargetPubkey []byte `db:"target_pubkey"` TargetIndex *uint64 `db:"target_index"` TxHash []byte `db:"tx_hash"` TxSender []byte `db:"tx_sender"` TxTarget []byte `db:"tx_target"` DequeueBlock uint64 `db:"dequeue_block"` }
type ConsolidationRequestTxFilter ¶ added in v1.12.1
type DBEngineType ¶
type DBEngineType int
const ( DBEngineAny DBEngineType = 0 DBEngineSqlite DBEngineType = 1 DBEnginePgsql DBEngineType = 2 )
type Deposit ¶
type Deposit struct { Index *uint64 `db:"deposit_index"` SlotNumber uint64 `db:"slot_number"` SlotIndex uint64 `db:"slot_index"` SlotRoot []byte `db:"slot_root"` Orphaned bool `db:"orphaned"` PublicKey []byte `db:"publickey"` WithdrawalCredentials []byte `db:"withdrawalcredentials"` Amount uint64 `db:"amount"` ForkId uint64 `db:"fork_id"` }
type DepositFilter ¶
type DepositIndexerState ¶
type DepositTx ¶
type DepositTx struct { Index uint64 `db:"deposit_index"` BlockNumber uint64 `db:"block_number"` BlockTime uint64 `db:"block_time"` BlockRoot []byte `db:"block_root"` PublicKey []byte `db:"publickey"` WithdrawalCredentials []byte `db:"withdrawalcredentials"` Amount uint64 `db:"amount"` Signature []byte `db:"signature"` ValidSignature bool `db:"valid_signature"` Orphaned bool `db:"orphaned"` TxHash []byte `db:"tx_hash"` TxSender []byte `db:"tx_sender"` TxTarget []byte `db:"tx_target"` ForkId uint64 `db:"fork_id"` }
type DepositTxFilter ¶
type Epoch ¶
type Epoch struct { Epoch uint64 `db:"epoch"` ValidatorCount uint64 `db:"validator_count"` ValidatorBalance uint64 `db:"validator_balance"` Eligible uint64 `db:"eligible"` VotedTarget uint64 `db:"voted_target"` VotedHead uint64 `db:"voted_head"` VotedTotal uint64 `db:"voted_total"` BlockCount uint16 `db:"block_count"` OrphanedCount uint16 `db:"orphaned_count"` AttestationCount uint64 `db:"attestation_count"` DepositCount uint64 `db:"deposit_count"` ExitCount uint64 `db:"exit_count"` WithdrawCount uint64 `db:"withdraw_count"` WithdrawAmount uint64 `db:"withdraw_amount"` AttesterSlashingCount uint64 `db:"attester_slashing_count"` ProposerSlashingCount uint64 `db:"proposer_slashing_count"` BLSChangeCount uint64 `db:"bls_change_count"` EthTransactionCount uint64 `db:"eth_transaction_count"` SyncParticipation float32 `db:"sync_participation"` }
type ExplorerState ¶
type IndexerForkState ¶ added in v1.11.0
type IndexerPruneState ¶ added in v1.11.0
type IndexerPruneState struct {
Epoch uint64 `json:"epoch"`
}
type IndexerSyncState ¶
type IndexerSyncState struct {
Epoch uint64 `json:"epoch"`
}
type MevBlock ¶
type MevBlock struct { SlotNumber uint64 `db:"slot_number"` BlockHash []byte `db:"block_hash"` BlockNumber uint64 `db:"block_number"` BuilderPubkey []byte `db:"builder_pubkey"` ProposerIndex uint64 `db:"proposer_index"` Proposed uint8 `db:"proposed"` SeenbyRelays uint64 `db:"seenby_relays"` FeeRecipient []byte `db:"fee_recipient"` TxCount uint64 `db:"tx_count"` GasUsed uint64 `db:"gas_used"` BlockValue []byte `db:"block_value"` BlockValueGwei uint64 `db:"block_value_gwei"` }
type MevBlockFilter ¶
type OrphanedBlock ¶
type SearchAheadEpochsResult ¶
type SearchAheadEpochsResult []struct { Epoch uint64 `db:"epoch"` }
type SearchAheadExecBlocksResult ¶
type SearchAheadExecBlocksResult []struct { Slot uint64 `db:"slot"` Root []byte `db:"root"` ExecHash []byte `db:"eth_block_hash"` ExecNumber uint64 `db:"eth_block_number"` Status SlotStatus `db:"status"` }
type SearchAheadSlotsResult ¶
type SearchAheadSlotsResult []struct { Slot uint64 `db:"slot"` Root []byte `db:"root"` Status SlotStatus `db:"status"` }
type SearchBlockResult ¶
type SearchBlockResult struct { Slot uint64 `db:"slot"` Root []byte `db:"root"` Status SlotStatus `db:"status"` }
type SearchGraffitiResult ¶
type SearchGraffitiResult struct {
Graffiti string `db:"graffiti"`
}
type SearchNameResult ¶
type SearchNameResult struct {
Name string `db:"name"`
}
type SlashingFilter ¶
type SlashingReason ¶
type SlashingReason uint8
const ( UnspecifiedSlashing SlashingReason = iota ProposerSlashing AttesterSlashing )
type Slot ¶
type Slot struct { Slot uint64 `db:"slot"` Proposer uint64 `db:"proposer"` Status SlotStatus `db:"status"` Root []byte `db:"root"` ParentRoot []byte `db:"parent_root"` StateRoot []byte `db:"state_root"` Graffiti []byte `db:"graffiti"` GraffitiText string `db:"graffiti_text"` AttestationCount uint64 `db:"attestation_count"` DepositCount uint64 `db:"deposit_count"` ExitCount uint64 `db:"exit_count"` WithdrawCount uint64 `db:"withdraw_count"` WithdrawAmount uint64 `db:"withdraw_amount"` AttesterSlashingCount uint64 `db:"attester_slashing_count"` ProposerSlashingCount uint64 `db:"proposer_slashing_count"` BLSChangeCount uint64 `db:"bls_change_count"` EthTransactionCount uint64 `db:"eth_transaction_count"` EthBlockNumber *uint64 `db:"eth_block_number"` EthBlockHash []byte `db:"eth_block_hash"` EthBlockExtra []byte `db:"eth_block_extra"` EthBlockExtraText string `db:"eth_block_extra_text"` SyncParticipation float32 `db:"sync_participation"` ForkId uint64 `db:"fork_id"` }
type SlotAssignment ¶
type SlotHeader ¶
type SlotHeader struct { Slot uint64 `db:"slot"` Proposer uint64 `db:"proposer"` Status SlotStatus `db:"status"` }
type SyncAssignment ¶
type TxFunctionSignature ¶
type UnfinalizedBlock ¶
type UnfinalizedBlockFilter ¶ added in v1.11.0
type UnfinalizedBlockStatus ¶ added in v1.11.0
type UnfinalizedBlockStatus uint32
const ( UnfinalizedBlockStatusUnprocessed UnfinalizedBlockStatus = iota UnfinalizedBlockStatusPruned UnfinalizedBlockStatusProcessed )
type UnfinalizedDuty ¶ added in v1.11.0
type UnfinalizedEpoch ¶ added in v1.11.0
type UnfinalizedEpoch struct { Epoch uint64 `db:"epoch"` DependentRoot []byte `db:"dependent_root"` EpochHeadRoot []byte `db:"epoch_head_root"` EpochHeadForkId uint64 `db:"epoch_head_fork_id"` ValidatorCount uint64 `db:"validator_count"` ValidatorBalance uint64 `db:"validator_balance"` Eligible uint64 `db:"eligible"` VotedTarget uint64 `db:"voted_target"` VotedHead uint64 `db:"voted_head"` VotedTotal uint64 `db:"voted_total"` BlockCount uint16 `db:"block_count"` OrphanedCount uint16 `db:"orphaned_count"` AttestationCount uint64 `db:"attestation_count"` DepositCount uint64 `db:"deposit_count"` ExitCount uint64 `db:"exit_count"` WithdrawCount uint64 `db:"withdraw_count"` WithdrawAmount uint64 `db:"withdraw_amount"` AttesterSlashingCount uint64 `db:"attester_slashing_count"` ProposerSlashingCount uint64 `db:"proposer_slashing_count"` BLSChangeCount uint64 `db:"bls_change_count"` EthTransactionCount uint64 `db:"eth_transaction_count"` SyncParticipation float32 `db:"sync_participation"` }
type ValidatorName ¶
type VoluntaryExit ¶
type VoluntaryExitFilter ¶
type WithdrawalRequest ¶ added in v1.11.0
type WithdrawalRequest struct { SlotNumber uint64 `db:"slot_number"` SlotRoot []byte `db:"slot_root"` SlotIndex uint64 `db:"slot_index"` Orphaned bool `db:"orphaned"` ForkId uint64 `db:"fork_id"` SourceAddress []byte `db:"source_address"` ValidatorIndex *uint64 `db:"validator_index"` ValidatorPubkey []byte `db:"validator_pubkey"` Amount uint64 `db:"amount"` TxHash []byte `db:"tx_hash"` BlockNumber uint64 `db:"block_number"` }
type WithdrawalRequestFilter ¶ added in v1.11.0
type WithdrawalRequestTx ¶ added in v1.12.1
type WithdrawalRequestTx struct { BlockNumber uint64 `db:"block_number"` BlockIndex uint64 `db:"block_index"` BlockTime uint64 `db:"block_time"` BlockRoot []byte `db:"block_root"` ForkId uint64 `db:"fork_id"` SourceAddress []byte `db:"source_address"` ValidatorPubkey []byte `db:"validator_pubkey"` ValidatorIndex *uint64 `db:"validator_index"` Amount uint64 `db:"amount"` TxHash []byte `db:"tx_hash"` TxSender []byte `db:"tx_sender"` TxTarget []byte `db:"tx_target"` DequeueBlock uint64 `db:"dequeue_block"` }
Click to show internal directories.
Click to hide internal directories.