Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EthProofResult ¶
type EthProofResult struct { AccountProof []hexutil.Bytes `json:"accountProof"` Balance hexutil.Big `json:"balance"` CodeHash common.Hash `json:"codeHash"` Nonce hexutil.Uint64 `json:"nonce"` StorageHash common.Hash `json:"storageHash"` StorageProof []struct { Key hexutil.Big `json:"key"` Proof []hexutil.Bytes `json:"proof"` Value hexutil.Big `json:"value"` } `json:"storageProof"` }
type Prover ¶
type Prover struct {
// contains filtered or unexported fields
}
func NewProver ¶
func NewProver(config *ProverConfig) *Prover
type ProverConfig ¶
type ProverConfig struct { // A list of Ethereum endpoints. Secure as long as any one of them is honest. EthApiEndpointList []string // Arbitrum L2 EVM-compatible endpoint. This does not have to be trusted. UntrustedArbApiEndpoint string // Arbitrum rollup contract address on L1. ArbRollupContractAddress common.Address }
type RollupHead ¶
func FetchRollupHead ¶
Click to show internal directories.
Click to hide internal directories.