package
1.0.11
Repository: https://github.com/dappnode/mev-sp-oracle.git
Documentation: pkg.go.dev

# Functions

Returns true if a given validator can subscribe or not to the pool Accepted states are: -ValidatorStatePendingInitialized -ValidatorStatePendingQueued -ValidatorStateActiveOngoing.
Returns the 0x prefixed withdrawal credentials and its type: BlsWithdrawal or Eth1Withdrawal.
No description provided by the author
Create a new block with the bare minimum information.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
Simple cache storing epoch -> proposer duties This is useful to not query the beacon node for each slot since ProposerDuties returns the duties for the whole epoch Note that the cache is meant to store only one epoch's duties.
Fork 1 changes two things: - minor fix in rewards calculation (some wei rouding) - exited and slahed validators no longer get fees.
Default path of persisted state.
No description provided by the author
Whitelisted builders for each chain.

# Structs

No description provided by the author
This file provides different functions to access the blockchain state from both consensus and execution layer and modifying the its state via smart contract calls.
All the events that the contract can emit.
Information of every block from the blockchain.
No description provided by the author
No description provided by the author
Represents the latest commited state onchain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Represents a block with information relevant for the pool, uses Fullblock but stores a subset of the fields (summarized).
Represents all the information that is stored of a validator.

# Type aliases

Block type.
Events in the state machine that trigger transition.
No description provided by the author
Types of block rewards.
Type of validator subscription.
States of the state machine.
Withdrawal credentials type.