Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( L1HeadLocalIndex preimage.LocalIndexKey = iota + 1 L2OutputRootLocalIndex L2ClaimLocalIndex L2ClaimBlockNumberLocalIndex L2ChainIDLocalIndex // These local keys are only used for custom chains L2ChainConfigLocalIndex RollupConfigLocalIndex DependencySetLocalIndex )
Variables ¶
      View Source
      
  var CustomChainIDIndicator = eth.ChainIDFromUInt64(uint64(math.MaxUint64))
    CustomChainIDIndicator is used to detect when the program should load custom chain configuration
      View Source
      
  
var (
	ErrUnknownChainID = errors.New("unknown chain id")
)
    Functions ¶
This section is empty.
Types ¶
type BootInfoInterop ¶
type BootInfoInterop struct {
	Configs ConfigSource
	L1Head         common.Hash
	AgreedPrestate common.Hash
	Claim          common.Hash
	GameTimestamp  uint64
}
    func BootstrapInterop ¶
func BootstrapInterop(r oracleClient) *BootInfoInterop
type BootstrapClient ¶
type BootstrapClient struct {
	// contains filtered or unexported fields
}
    func NewBootstrapClient ¶
func NewBootstrapClient(r oracleClient) *BootstrapClient
func (*BootstrapClient) BootInfo ¶
func (br *BootstrapClient) BootInfo() *BootInfo
type ConfigSource ¶
type OracleConfigSource ¶
type OracleConfigSource struct {
	// contains filtered or unexported fields
}
    func (*OracleConfigSource) ChainConfig ¶
func (c *OracleConfigSource) ChainConfig(chainID eth.ChainID) (*params.ChainConfig, error)
func (*OracleConfigSource) DependencySet ¶ added in v1.11.2
func (c *OracleConfigSource) DependencySet(chainID eth.ChainID) (depset.DependencySet, error)
func (*OracleConfigSource) RollupConfig ¶
 Click to show internal directories. 
   Click to hide internal directories.