/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumber,
  BigNumberish,
  BytesLike,
  CallOverrides,
  ContractTransaction,
  Overrides,
  PopulatedTransaction,
  Signer,
  utils,
} from "ethers";
import type {
  FunctionFragment,
  Result,
  EventFragment,
} from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
  TypedEventFilter,
  TypedEvent,
  TypedListener,
  OnEvent,
} from "./common";

export declare namespace SP1Helios {
  export type InitParamsStruct = {
    executionStateRoot: BytesLike;
    genesisTime: BigNumberish;
    head: BigNumberish;
    header: BytesLike;
    heliosProgramVkey: BytesLike;
    secondsPerSlot: BigNumberish;
    slotsPerEpoch: BigNumberish;
    slotsPerPeriod: BigNumberish;
    syncCommitteeHash: BytesLike;
    verifier: string;
    vkeyUpdater: string;
    updaters: string[];
  };

  export type InitParamsStructOutput = [
    string,
    BigNumber,
    BigNumber,
    string,
    string,
    BigNumber,
    BigNumber,
    BigNumber,
    string,
    string,
    string,
    string[]
  ] & {
    executionStateRoot: string;
    genesisTime: BigNumber;
    head: BigNumber;
    header: string;
    heliosProgramVkey: string;
    secondsPerSlot: BigNumber;
    slotsPerEpoch: BigNumber;
    slotsPerPeriod: BigNumber;
    syncCommitteeHash: string;
    verifier: string;
    vkeyUpdater: string;
    updaters: string[];
  };
}

export interface SP1HeliosInterface extends utils.Interface {
  functions: {
    "DEFAULT_ADMIN_ROLE()": FunctionFragment;
    "GENESIS_TIME()": FunctionFragment;
    "MAX_SLOT_AGE()": FunctionFragment;
    "SECONDS_PER_SLOT()": FunctionFragment;
    "SLOTS_PER_EPOCH()": FunctionFragment;
    "SLOTS_PER_PERIOD()": FunctionFragment;
    "STATE_UPDATER_ROLE()": FunctionFragment;
    "VKEY_UPDATER_ROLE()": FunctionFragment;
    "computeStorageKey(uint256,address,bytes32)": FunctionFragment;
    "executionStateRoots(uint256)": FunctionFragment;
    "getCurrentEpoch()": FunctionFragment;
    "getRoleAdmin(bytes32)": FunctionFragment;
    "getRoleMember(bytes32,uint256)": FunctionFragment;
    "getRoleMemberCount(bytes32)": FunctionFragment;
    "getStorageSlot(uint256,address,bytes32)": FunctionFragment;
    "getSyncCommitteePeriod(uint256)": FunctionFragment;
    "grantRole(bytes32,address)": FunctionFragment;
    "hasRole(bytes32,address)": FunctionFragment;
    "head()": FunctionFragment;
    "headTimestamp()": FunctionFragment;
    "headers(uint256)": FunctionFragment;
    "heliosProgramVkey()": FunctionFragment;
    "renounceRole(bytes32,address)": FunctionFragment;
    "revokeRole(bytes32,address)": FunctionFragment;
    "slotTimestamp(uint256)": FunctionFragment;
    "storageValues(bytes32)": FunctionFragment;
    "supportsInterface(bytes4)": FunctionFragment;
    "syncCommittees(uint256)": FunctionFragment;
    "update(bytes,bytes)": FunctionFragment;
    "updateHeliosProgramVkey(bytes32)": FunctionFragment;
    "verifier()": FunctionFragment;
  };

  getFunction(
    nameOrSignatureOrTopic:
      | "DEFAULT_ADMIN_ROLE"
      | "GENESIS_TIME"
      | "MAX_SLOT_AGE"
      | "SECONDS_PER_SLOT"
      | "SLOTS_PER_EPOCH"
      | "SLOTS_PER_PERIOD"
      | "STATE_UPDATER_ROLE"
      | "VKEY_UPDATER_ROLE"
      | "computeStorageKey"
      | "executionStateRoots"
      | "getCurrentEpoch"
      | "getRoleAdmin"
      | "getRoleMember"
      | "getRoleMemberCount"
      | "getStorageSlot"
      | "getSyncCommitteePeriod"
      | "grantRole"
      | "hasRole"
      | "head"
      | "headTimestamp"
      | "headers"
      | "heliosProgramVkey"
      | "renounceRole"
      | "revokeRole"
      | "slotTimestamp"
      | "storageValues"
      | "supportsInterface"
      | "syncCommittees"
      | "update"
      | "updateHeliosProgramVkey"
      | "verifier"
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "DEFAULT_ADMIN_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GENESIS_TIME",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "MAX_SLOT_AGE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "SECONDS_PER_SLOT",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "SLOTS_PER_EPOCH",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "SLOTS_PER_PERIOD",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "STATE_UPDATER_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "VKEY_UPDATER_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "computeStorageKey",
    values: [BigNumberish, string, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "executionStateRoots",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getCurrentEpoch",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getRoleAdmin",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getRoleMember",
    values: [BytesLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getRoleMemberCount",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getStorageSlot",
    values: [BigNumberish, string, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getSyncCommitteePeriod",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "grantRole",
    values: [BytesLike, string]
  ): string;
  encodeFunctionData(
    functionFragment: "hasRole",
    values: [BytesLike, string]
  ): string;
  encodeFunctionData(functionFragment: "head", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "headTimestamp",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "headers",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "heliosProgramVkey",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "renounceRole",
    values: [BytesLike, string]
  ): string;
  encodeFunctionData(
    functionFragment: "revokeRole",
    values: [BytesLike, string]
  ): string;
  encodeFunctionData(
    functionFragment: "slotTimestamp",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "storageValues",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "supportsInterface",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "syncCommittees",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "update",
    values: [BytesLike, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "updateHeliosProgramVkey",
    values: [BytesLike]
  ): string;
  encodeFunctionData(functionFragment: "verifier", values?: undefined): string;

  decodeFunctionResult(
    functionFragment: "DEFAULT_ADMIN_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GENESIS_TIME",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "MAX_SLOT_AGE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "SECONDS_PER_SLOT",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "SLOTS_PER_EPOCH",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "SLOTS_PER_PERIOD",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "STATE_UPDATER_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "VKEY_UPDATER_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "computeStorageKey",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "executionStateRoots",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCurrentEpoch",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRoleAdmin",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRoleMember",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRoleMemberCount",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getStorageSlot",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getSyncCommitteePeriod",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "head", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "headTimestamp",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "headers", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "heliosProgramVkey",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "renounceRole",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "slotTimestamp",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "storageValues",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "supportsInterface",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "syncCommittees",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "update", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "updateHeliosProgramVkey",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "verifier", data: BytesLike): Result;

  events: {
    "HeadUpdate(uint256,bytes32)": EventFragment;
    "HeliosProgramVkeyUpdated(bytes32,bytes32)": EventFragment;
    "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment;
    "RoleGranted(bytes32,address,address)": EventFragment;
    "RoleRevoked(bytes32,address,address)": EventFragment;
    "StorageSlotVerified(uint256,bytes32,bytes32,address)": EventFragment;
    "SyncCommitteeUpdate(uint256,bytes32)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "HeadUpdate"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "HeliosProgramVkeyUpdated"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "StorageSlotVerified"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SyncCommitteeUpdate"): EventFragment;
}

export interface HeadUpdateEventObject {
  slot: BigNumber;
  root: string;
}
export type HeadUpdateEvent = TypedEvent<
  [BigNumber, string],
  HeadUpdateEventObject
>;

export type HeadUpdateEventFilter = TypedEventFilter<HeadUpdateEvent>;

export interface HeliosProgramVkeyUpdatedEventObject {
  oldHeliosProgramVkey: string;
  newHeliosProgramVkey: string;
}
export type HeliosProgramVkeyUpdatedEvent = TypedEvent<
  [string, string],
  HeliosProgramVkeyUpdatedEventObject
>;

export type HeliosProgramVkeyUpdatedEventFilter =
  TypedEventFilter<HeliosProgramVkeyUpdatedEvent>;

export interface RoleAdminChangedEventObject {
  role: string;
  previousAdminRole: string;
  newAdminRole: string;
}
export type RoleAdminChangedEvent = TypedEvent<
  [string, string, string],
  RoleAdminChangedEventObject
>;

export type RoleAdminChangedEventFilter =
  TypedEventFilter<RoleAdminChangedEvent>;

export interface RoleGrantedEventObject {
  role: string;
  account: string;
  sender: string;
}
export type RoleGrantedEvent = TypedEvent<
  [string, string, string],
  RoleGrantedEventObject
>;

export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;

export interface RoleRevokedEventObject {
  role: string;
  account: string;
  sender: string;
}
export type RoleRevokedEvent = TypedEvent<
  [string, string, string],
  RoleRevokedEventObject
>;

export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;

export interface StorageSlotVerifiedEventObject {
  head: BigNumber;
  key: string;
  value: string;
  contractAddress: string;
}
export type StorageSlotVerifiedEvent = TypedEvent<
  [BigNumber, string, string, string],
  StorageSlotVerifiedEventObject
>;

export type StorageSlotVerifiedEventFilter =
  TypedEventFilter<StorageSlotVerifiedEvent>;

export interface SyncCommitteeUpdateEventObject {
  period: BigNumber;
  root: string;
}
export type SyncCommitteeUpdateEvent = TypedEvent<
  [BigNumber, string],
  SyncCommitteeUpdateEventObject
>;

export type SyncCommitteeUpdateEventFilter =
  TypedEventFilter<SyncCommitteeUpdateEvent>;

export interface SP1Helios extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  interface: SP1HeliosInterface;

  queryFilter<TEvent extends TypedEvent>(
    event: TypedEventFilter<TEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TEvent>>;

  listeners<TEvent extends TypedEvent>(
    eventFilter?: TypedEventFilter<TEvent>
  ): Array<TypedListener<TEvent>>;
  listeners(eventName?: string): Array<Listener>;
  removeAllListeners<TEvent extends TypedEvent>(
    eventFilter: TypedEventFilter<TEvent>
  ): this;
  removeAllListeners(eventName?: string): this;
  off: OnEvent<this>;
  on: OnEvent<this>;
  once: OnEvent<this>;
  removeListener: OnEvent<this>;

  functions: {
    DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>;

    GENESIS_TIME(overrides?: CallOverrides): Promise<[BigNumber]>;

    MAX_SLOT_AGE(overrides?: CallOverrides): Promise<[BigNumber]>;

    SECONDS_PER_SLOT(overrides?: CallOverrides): Promise<[BigNumber]>;

    SLOTS_PER_EPOCH(overrides?: CallOverrides): Promise<[BigNumber]>;

    SLOTS_PER_PERIOD(overrides?: CallOverrides): Promise<[BigNumber]>;

    STATE_UPDATER_ROLE(overrides?: CallOverrides): Promise<[string]>;

    VKEY_UPDATER_ROLE(overrides?: CallOverrides): Promise<[string]>;

    computeStorageKey(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<[string]>;

    executionStateRoots(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[string] & { executionStateRoot: string }>;

    getCurrentEpoch(overrides?: CallOverrides): Promise<[BigNumber]>;

    getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>;

    getRoleMember(
      role: BytesLike,
      index: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[string]>;

    getRoleMemberCount(
      role: BytesLike,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    getStorageSlot(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<[string]>;

    getSyncCommitteePeriod(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    grantRole(
      role: BytesLike,
      account: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    hasRole(
      role: BytesLike,
      account: string,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    head(overrides?: CallOverrides): Promise<[BigNumber]>;

    headTimestamp(overrides?: CallOverrides): Promise<[BigNumber]>;

    headers(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[string] & { beaconHeaderRoot: string }>;

    heliosProgramVkey(overrides?: CallOverrides): Promise<[string]>;

    renounceRole(
      role: BytesLike,
      callerConfirmation: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    revokeRole(
      role: BytesLike,
      account: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    slotTimestamp(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    storageValues(
      computedStorageKey: BytesLike,
      overrides?: CallOverrides
    ): Promise<[string] & { storageValue: string }>;

    supportsInterface(
      interfaceId: BytesLike,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    syncCommittees(
      syncCommitteePeriod: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[string] & { syncCommitteeHash: string }>;

    update(
      proof: BytesLike,
      publicValues: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    updateHeliosProgramVkey(
      newHeliosProgramVkey: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    verifier(overrides?: CallOverrides): Promise<[string]>;
  };

  DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;

  GENESIS_TIME(overrides?: CallOverrides): Promise<BigNumber>;

  MAX_SLOT_AGE(overrides?: CallOverrides): Promise<BigNumber>;

  SECONDS_PER_SLOT(overrides?: CallOverrides): Promise<BigNumber>;

  SLOTS_PER_EPOCH(overrides?: CallOverrides): Promise<BigNumber>;

  SLOTS_PER_PERIOD(overrides?: CallOverrides): Promise<BigNumber>;

  STATE_UPDATER_ROLE(overrides?: CallOverrides): Promise<string>;

  VKEY_UPDATER_ROLE(overrides?: CallOverrides): Promise<string>;

  computeStorageKey(
    beaconSlot: BigNumberish,
    contractAddress: string,
    storageSlot: BytesLike,
    overrides?: CallOverrides
  ): Promise<string>;

  executionStateRoots(
    beaconSlot: BigNumberish,
    overrides?: CallOverrides
  ): Promise<string>;

  getCurrentEpoch(overrides?: CallOverrides): Promise<BigNumber>;

  getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;

  getRoleMember(
    role: BytesLike,
    index: BigNumberish,
    overrides?: CallOverrides
  ): Promise<string>;

  getRoleMemberCount(
    role: BytesLike,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  getStorageSlot(
    beaconSlot: BigNumberish,
    contractAddress: string,
    storageSlot: BytesLike,
    overrides?: CallOverrides
  ): Promise<string>;

  getSyncCommitteePeriod(
    slot: BigNumberish,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  grantRole(
    role: BytesLike,
    account: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  hasRole(
    role: BytesLike,
    account: string,
    overrides?: CallOverrides
  ): Promise<boolean>;

  head(overrides?: CallOverrides): Promise<BigNumber>;

  headTimestamp(overrides?: CallOverrides): Promise<BigNumber>;

  headers(beaconSlot: BigNumberish, overrides?: CallOverrides): Promise<string>;

  heliosProgramVkey(overrides?: CallOverrides): Promise<string>;

  renounceRole(
    role: BytesLike,
    callerConfirmation: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  revokeRole(
    role: BytesLike,
    account: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  slotTimestamp(
    slot: BigNumberish,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  storageValues(
    computedStorageKey: BytesLike,
    overrides?: CallOverrides
  ): Promise<string>;

  supportsInterface(
    interfaceId: BytesLike,
    overrides?: CallOverrides
  ): Promise<boolean>;

  syncCommittees(
    syncCommitteePeriod: BigNumberish,
    overrides?: CallOverrides
  ): Promise<string>;

  update(
    proof: BytesLike,
    publicValues: BytesLike,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  updateHeliosProgramVkey(
    newHeliosProgramVkey: BytesLike,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  verifier(overrides?: CallOverrides): Promise<string>;

  callStatic: {
    DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;

    GENESIS_TIME(overrides?: CallOverrides): Promise<BigNumber>;

    MAX_SLOT_AGE(overrides?: CallOverrides): Promise<BigNumber>;

    SECONDS_PER_SLOT(overrides?: CallOverrides): Promise<BigNumber>;

    SLOTS_PER_EPOCH(overrides?: CallOverrides): Promise<BigNumber>;

    SLOTS_PER_PERIOD(overrides?: CallOverrides): Promise<BigNumber>;

    STATE_UPDATER_ROLE(overrides?: CallOverrides): Promise<string>;

    VKEY_UPDATER_ROLE(overrides?: CallOverrides): Promise<string>;

    computeStorageKey(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<string>;

    executionStateRoots(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<string>;

    getCurrentEpoch(overrides?: CallOverrides): Promise<BigNumber>;

    getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;

    getRoleMember(
      role: BytesLike,
      index: BigNumberish,
      overrides?: CallOverrides
    ): Promise<string>;

    getRoleMemberCount(
      role: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getStorageSlot(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<string>;

    getSyncCommitteePeriod(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    grantRole(
      role: BytesLike,
      account: string,
      overrides?: CallOverrides
    ): Promise<void>;

    hasRole(
      role: BytesLike,
      account: string,
      overrides?: CallOverrides
    ): Promise<boolean>;

    head(overrides?: CallOverrides): Promise<BigNumber>;

    headTimestamp(overrides?: CallOverrides): Promise<BigNumber>;

    headers(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<string>;

    heliosProgramVkey(overrides?: CallOverrides): Promise<string>;

    renounceRole(
      role: BytesLike,
      callerConfirmation: string,
      overrides?: CallOverrides
    ): Promise<void>;

    revokeRole(
      role: BytesLike,
      account: string,
      overrides?: CallOverrides
    ): Promise<void>;

    slotTimestamp(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    storageValues(
      computedStorageKey: BytesLike,
      overrides?: CallOverrides
    ): Promise<string>;

    supportsInterface(
      interfaceId: BytesLike,
      overrides?: CallOverrides
    ): Promise<boolean>;

    syncCommittees(
      syncCommitteePeriod: BigNumberish,
      overrides?: CallOverrides
    ): Promise<string>;

    update(
      proof: BytesLike,
      publicValues: BytesLike,
      overrides?: CallOverrides
    ): Promise<void>;

    updateHeliosProgramVkey(
      newHeliosProgramVkey: BytesLike,
      overrides?: CallOverrides
    ): Promise<void>;

    verifier(overrides?: CallOverrides): Promise<string>;
  };

  filters: {
    "HeadUpdate(uint256,bytes32)"(
      slot?: BigNumberish | null,
      root?: BytesLike | null
    ): HeadUpdateEventFilter;
    HeadUpdate(
      slot?: BigNumberish | null,
      root?: BytesLike | null
    ): HeadUpdateEventFilter;

    "HeliosProgramVkeyUpdated(bytes32,bytes32)"(
      oldHeliosProgramVkey?: BytesLike | null,
      newHeliosProgramVkey?: BytesLike | null
    ): HeliosProgramVkeyUpdatedEventFilter;
    HeliosProgramVkeyUpdated(
      oldHeliosProgramVkey?: BytesLike | null,
      newHeliosProgramVkey?: BytesLike | null
    ): HeliosProgramVkeyUpdatedEventFilter;

    "RoleAdminChanged(bytes32,bytes32,bytes32)"(
      role?: BytesLike | null,
      previousAdminRole?: BytesLike | null,
      newAdminRole?: BytesLike | null
    ): RoleAdminChangedEventFilter;
    RoleAdminChanged(
      role?: BytesLike | null,
      previousAdminRole?: BytesLike | null,
      newAdminRole?: BytesLike | null
    ): RoleAdminChangedEventFilter;

    "RoleGranted(bytes32,address,address)"(
      role?: BytesLike | null,
      account?: string | null,
      sender?: string | null
    ): RoleGrantedEventFilter;
    RoleGranted(
      role?: BytesLike | null,
      account?: string | null,
      sender?: string | null
    ): RoleGrantedEventFilter;

    "RoleRevoked(bytes32,address,address)"(
      role?: BytesLike | null,
      account?: string | null,
      sender?: string | null
    ): RoleRevokedEventFilter;
    RoleRevoked(
      role?: BytesLike | null,
      account?: string | null,
      sender?: string | null
    ): RoleRevokedEventFilter;

    "StorageSlotVerified(uint256,bytes32,bytes32,address)"(
      head?: BigNumberish | null,
      key?: BytesLike | null,
      value?: null,
      contractAddress?: null
    ): StorageSlotVerifiedEventFilter;
    StorageSlotVerified(
      head?: BigNumberish | null,
      key?: BytesLike | null,
      value?: null,
      contractAddress?: null
    ): StorageSlotVerifiedEventFilter;

    "SyncCommitteeUpdate(uint256,bytes32)"(
      period?: BigNumberish | null,
      root?: BytesLike | null
    ): SyncCommitteeUpdateEventFilter;
    SyncCommitteeUpdate(
      period?: BigNumberish | null,
      root?: BytesLike | null
    ): SyncCommitteeUpdateEventFilter;
  };

  estimateGas: {
    DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<BigNumber>;

    GENESIS_TIME(overrides?: CallOverrides): Promise<BigNumber>;

    MAX_SLOT_AGE(overrides?: CallOverrides): Promise<BigNumber>;

    SECONDS_PER_SLOT(overrides?: CallOverrides): Promise<BigNumber>;

    SLOTS_PER_EPOCH(overrides?: CallOverrides): Promise<BigNumber>;

    SLOTS_PER_PERIOD(overrides?: CallOverrides): Promise<BigNumber>;

    STATE_UPDATER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;

    VKEY_UPDATER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;

    computeStorageKey(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    executionStateRoots(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getCurrentEpoch(overrides?: CallOverrides): Promise<BigNumber>;

    getRoleAdmin(
      role: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getRoleMember(
      role: BytesLike,
      index: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getRoleMemberCount(
      role: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getStorageSlot(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getSyncCommitteePeriod(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    grantRole(
      role: BytesLike,
      account: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    hasRole(
      role: BytesLike,
      account: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    head(overrides?: CallOverrides): Promise<BigNumber>;

    headTimestamp(overrides?: CallOverrides): Promise<BigNumber>;

    headers(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    heliosProgramVkey(overrides?: CallOverrides): Promise<BigNumber>;

    renounceRole(
      role: BytesLike,
      callerConfirmation: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    revokeRole(
      role: BytesLike,
      account: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    slotTimestamp(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    storageValues(
      computedStorageKey: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    supportsInterface(
      interfaceId: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    syncCommittees(
      syncCommitteePeriod: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    update(
      proof: BytesLike,
      publicValues: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    updateHeliosProgramVkey(
      newHeliosProgramVkey: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    verifier(overrides?: CallOverrides): Promise<BigNumber>;
  };

  populateTransaction: {
    DEFAULT_ADMIN_ROLE(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GENESIS_TIME(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    MAX_SLOT_AGE(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    SECONDS_PER_SLOT(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    SLOTS_PER_EPOCH(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    SLOTS_PER_PERIOD(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    STATE_UPDATER_ROLE(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    VKEY_UPDATER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    computeStorageKey(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    executionStateRoots(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getCurrentEpoch(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    getRoleAdmin(
      role: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getRoleMember(
      role: BytesLike,
      index: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getRoleMemberCount(
      role: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getStorageSlot(
      beaconSlot: BigNumberish,
      contractAddress: string,
      storageSlot: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getSyncCommitteePeriod(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    grantRole(
      role: BytesLike,
      account: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    hasRole(
      role: BytesLike,
      account: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    head(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    headTimestamp(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    headers(
      beaconSlot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    heliosProgramVkey(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    renounceRole(
      role: BytesLike,
      callerConfirmation: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    revokeRole(
      role: BytesLike,
      account: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    slotTimestamp(
      slot: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    storageValues(
      computedStorageKey: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    supportsInterface(
      interfaceId: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    syncCommittees(
      syncCommitteePeriod: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    update(
      proof: BytesLike,
      publicValues: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    updateHeliosProgramVkey(
      newHeliosProgramVkey: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    verifier(overrides?: CallOverrides): Promise<PopulatedTransaction>;
  };
}
