Documentation
¶
Index ¶
- type AssignedBlob
- type AssignedSlot
- type Blob
- type BlobAssignment
- type BlockFilter
- type BlockStatus
- type DBEngineType
- type Deposit
- type DepositFilter
- type DepositIndexerState
- type DepositTx
- type DepositTxFilter
- type Epoch
- type ExplorerState
- 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 ValidatorName
- type VoluntaryExit
- type VoluntaryExitFilter
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 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"`
}
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"`
}
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 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 SearchAheadSlotsResult ¶
type SearchBlockResult ¶
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"`
}
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 ValidatorName ¶
type VoluntaryExit ¶
Click to show internal directories.
Click to hide internal directories.