/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumberish,
  BytesLike,
  FunctionFragment,
  Result,
  Interface,
  EventFragment,
  AddressLike,
  ContractRunner,
  ContractMethod,
  Listener,
} from "ethers";
import type {
  TypedContractEvent,
  TypedDeferredTopicFilter,
  TypedEventLog,
  TypedLogDescription,
  TypedListener,
  TypedContractMethod,
} from "../common";

export interface RelayerRewardsPoolInterface extends Interface {
  getFunction(
    nameOrSignature:
      | "DEFAULT_ADMIN_ROLE"
      | "POOL_ADMIN_ROLE"
      | "UPGRADER_ROLE"
      | "UPGRADE_INTERFACE_VERSION"
      | "calculateRelayerFee"
      | "claimRewards"
      | "claimableRewards"
      | "completedWeightedActions"
      | "deposit"
      | "getB3trAddress"
      | "getClaimWeight"
      | "getEarlyAccessBlocks"
      | "getEmissionsAddress"
      | "getFeeCap"
      | "getMissedAutoVotingUsersCount"
      | "getPreferredRelayer"
      | "getRegisteredRelayers"
      | "getRelayerFeeDenominator"
      | "getRelayerFeePercentage"
      | "getRoleAdmin"
      | "getTotalRewards"
      | "getVoteWeight"
      | "getXAllocationVotingAddress"
      | "grantRole"
      | "hasRole"
      | "initialize"
      | "initializeV2"
      | "initializeV3"
      | "isClaimEarlyAccessActive"
      | "isRegisteredRelayer"
      | "isRewardClaimable"
      | "isVoteEarlyAccessActive"
      | "proxiableUUID"
      | "reduceExpectedActionsForRound"
      | "reduceUserAllocationVote"
      | "reduceUserGovernanceVote"
      | "registerRelayer"
      | "registerRelayerAction"
      | "renounceRole"
      | "revokeRole"
      | "setB3TRAddress"
      | "setClaimWeight"
      | "setEarlyAccessBlocks"
      | "setEmissionsAddress"
      | "setFeeCap"
      | "setPreferredRelayer"
      | "setRelayerFeeDenominator"
      | "setRelayerFeePercentage"
      | "setTotalActionsForRound"
      | "setTotalActionsForRoundWithGovernance"
      | "setVoteWeight"
      | "setXAllocationVotingAddress"
      | "supportsInterface"
      | "totalActions"
      | "totalRelayerActions"
      | "totalRelayerWeightedActions"
      | "totalWeightedActions"
      | "unregisterRelayer"
      | "upgradeToAndCall"
      | "validateClaimDuringEarlyAccess"
      | "validateVoteDuringEarlyAccess"
      | "version"
  ): FunctionFragment;

  getEvent(
    nameOrSignatureOrTopic:
      | "B3TRAddressUpdated"
      | "ClaimWeightUpdated"
      | "EarlyAccessBlocksUpdated"
      | "EmissionsAddressUpdated"
      | "ExpectedActionsReduced"
      | "FeeCapUpdated"
      | "Initialized"
      | "PreferredRelayerSet"
      | "RelayerActionRegistered"
      | "RelayerFeeDenominatorUpdated"
      | "RelayerFeePercentageUpdated"
      | "RelayerRegistered"
      | "RelayerRewardsClaimed"
      | "RelayerUnregistered"
      | "RewardsDeposited"
      | "RoleAdminChanged"
      | "RoleGranted"
      | "RoleRevoked"
      | "TotalAutoVotingActionsSet"
      | "Upgraded"
      | "VoteWeightUpdated"
      | "XAllocationVotingAddressUpdated"
  ): EventFragment;

  encodeFunctionData(
    functionFragment: "DEFAULT_ADMIN_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "POOL_ADMIN_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "UPGRADER_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "UPGRADE_INTERFACE_VERSION",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "calculateRelayerFee",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "claimRewards",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "claimableRewards",
    values: [AddressLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "completedWeightedActions",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "deposit",
    values: [BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getB3trAddress",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getClaimWeight",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getEarlyAccessBlocks",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getEmissionsAddress",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "getFeeCap", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "getMissedAutoVotingUsersCount",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getPreferredRelayer",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getRegisteredRelayers",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getRelayerFeeDenominator",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getRelayerFeePercentage",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getRoleAdmin",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getTotalRewards",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getVoteWeight",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getXAllocationVotingAddress",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "grantRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "hasRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [AddressLike, AddressLike, AddressLike, AddressLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "initializeV2",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "initializeV3",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "isClaimEarlyAccessActive",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "isRegisteredRelayer",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "isRewardClaimable",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "isVoteEarlyAccessActive",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "proxiableUUID",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "reduceExpectedActionsForRound",
    values: [BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "reduceUserAllocationVote",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "reduceUserGovernanceVote",
    values: [BigNumberish, AddressLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "registerRelayer",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "registerRelayerAction",
    values: [AddressLike, AddressLike, BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "renounceRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "revokeRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "setB3TRAddress",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "setClaimWeight",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setEarlyAccessBlocks",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setEmissionsAddress",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "setFeeCap",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setPreferredRelayer",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "setRelayerFeeDenominator",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setRelayerFeePercentage",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setTotalActionsForRound",
    values: [BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setTotalActionsForRoundWithGovernance",
    values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish[]]
  ): string;
  encodeFunctionData(
    functionFragment: "setVoteWeight",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setXAllocationVotingAddress",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "supportsInterface",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "totalActions",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "totalRelayerActions",
    values: [AddressLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "totalRelayerWeightedActions",
    values: [AddressLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "totalWeightedActions",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "unregisterRelayer",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "upgradeToAndCall",
    values: [AddressLike, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "validateClaimDuringEarlyAccess",
    values: [BigNumberish, AddressLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "validateVoteDuringEarlyAccess",
    values: [BigNumberish, AddressLike, AddressLike]
  ): string;
  encodeFunctionData(functionFragment: "version", values?: undefined): string;

  decodeFunctionResult(
    functionFragment: "DEFAULT_ADMIN_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "POOL_ADMIN_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "UPGRADER_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "UPGRADE_INTERFACE_VERSION",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "calculateRelayerFee",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "claimRewards",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "claimableRewards",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "completedWeightedActions",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "getB3trAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getClaimWeight",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getEarlyAccessBlocks",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getEmissionsAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "getFeeCap", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "getMissedAutoVotingUsersCount",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getPreferredRelayer",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRegisteredRelayers",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRelayerFeeDenominator",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRelayerFeePercentage",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRoleAdmin",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getTotalRewards",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getVoteWeight",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getXAllocationVotingAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "initializeV2",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "initializeV3",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "isClaimEarlyAccessActive",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "isRegisteredRelayer",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "isRewardClaimable",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "isVoteEarlyAccessActive",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "proxiableUUID",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "reduceExpectedActionsForRound",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "reduceUserAllocationVote",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "reduceUserGovernanceVote",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "registerRelayer",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "registerRelayerAction",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "renounceRole",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setB3TRAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setClaimWeight",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setEarlyAccessBlocks",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setEmissionsAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "setFeeCap", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setPreferredRelayer",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setRelayerFeeDenominator",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setRelayerFeePercentage",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setTotalActionsForRound",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setTotalActionsForRoundWithGovernance",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setVoteWeight",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setXAllocationVotingAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "supportsInterface",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "totalActions",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "totalRelayerActions",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "totalRelayerWeightedActions",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "totalWeightedActions",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "unregisterRelayer",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "upgradeToAndCall",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "validateClaimDuringEarlyAccess",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "validateVoteDuringEarlyAccess",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
}

export namespace B3TRAddressUpdatedEvent {
  export type InputTuple = [newAddress: AddressLike, oldAddress: AddressLike];
  export type OutputTuple = [newAddress: string, oldAddress: string];
  export interface OutputObject {
    newAddress: string;
    oldAddress: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace ClaimWeightUpdatedEvent {
  export type InputTuple = [newWeight: BigNumberish, oldWeight: BigNumberish];
  export type OutputTuple = [newWeight: bigint, oldWeight: bigint];
  export interface OutputObject {
    newWeight: bigint;
    oldWeight: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace EarlyAccessBlocksUpdatedEvent {
  export type InputTuple = [newBlocks: BigNumberish, oldBlocks: BigNumberish];
  export type OutputTuple = [newBlocks: bigint, oldBlocks: bigint];
  export interface OutputObject {
    newBlocks: bigint;
    oldBlocks: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace EmissionsAddressUpdatedEvent {
  export type InputTuple = [newAddress: AddressLike, oldAddress: AddressLike];
  export type OutputTuple = [newAddress: string, oldAddress: string];
  export interface OutputObject {
    newAddress: string;
    oldAddress: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace ExpectedActionsReducedEvent {
  export type InputTuple = [
    roundId: BigNumberish,
    actionsReduced: BigNumberish,
    newTotalActions: BigNumberish,
    newTotalWeightedActions: BigNumberish
  ];
  export type OutputTuple = [
    roundId: bigint,
    actionsReduced: bigint,
    newTotalActions: bigint,
    newTotalWeightedActions: bigint
  ];
  export interface OutputObject {
    roundId: bigint;
    actionsReduced: bigint;
    newTotalActions: bigint;
    newTotalWeightedActions: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace FeeCapUpdatedEvent {
  export type InputTuple = [newFee: BigNumberish, oldFee: BigNumberish];
  export type OutputTuple = [newFee: bigint, oldFee: bigint];
  export interface OutputObject {
    newFee: bigint;
    oldFee: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace InitializedEvent {
  export type InputTuple = [version: BigNumberish];
  export type OutputTuple = [version: bigint];
  export interface OutputObject {
    version: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace PreferredRelayerSetEvent {
  export type InputTuple = [user: AddressLike, relayer: AddressLike];
  export type OutputTuple = [user: string, relayer: string];
  export interface OutputObject {
    user: string;
    relayer: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RelayerActionRegisteredEvent {
  export type InputTuple = [
    relayer: AddressLike,
    voter: AddressLike,
    roundId: BigNumberish,
    actionCount: BigNumberish,
    weight: BigNumberish
  ];
  export type OutputTuple = [
    relayer: string,
    voter: string,
    roundId: bigint,
    actionCount: bigint,
    weight: bigint
  ];
  export interface OutputObject {
    relayer: string;
    voter: string;
    roundId: bigint;
    actionCount: bigint;
    weight: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RelayerFeeDenominatorUpdatedEvent {
  export type InputTuple = [
    newDenominator: BigNumberish,
    oldDenominator: BigNumberish
  ];
  export type OutputTuple = [newDenominator: bigint, oldDenominator: bigint];
  export interface OutputObject {
    newDenominator: bigint;
    oldDenominator: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RelayerFeePercentageUpdatedEvent {
  export type InputTuple = [newFee: BigNumberish, oldFee: BigNumberish];
  export type OutputTuple = [newFee: bigint, oldFee: bigint];
  export interface OutputObject {
    newFee: bigint;
    oldFee: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RelayerRegisteredEvent {
  export type InputTuple = [relayer: AddressLike];
  export type OutputTuple = [relayer: string];
  export interface OutputObject {
    relayer: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RelayerRewardsClaimedEvent {
  export type InputTuple = [
    relayer: AddressLike,
    roundId: BigNumberish,
    amount: BigNumberish
  ];
  export type OutputTuple = [relayer: string, roundId: bigint, amount: bigint];
  export interface OutputObject {
    relayer: string;
    roundId: bigint;
    amount: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RelayerUnregisteredEvent {
  export type InputTuple = [relayer: AddressLike];
  export type OutputTuple = [relayer: string];
  export interface OutputObject {
    relayer: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RewardsDepositedEvent {
  export type InputTuple = [
    roundId: BigNumberish,
    amount: BigNumberish,
    totalRewards: BigNumberish
  ];
  export type OutputTuple = [
    roundId: bigint,
    amount: bigint,
    totalRewards: bigint
  ];
  export interface OutputObject {
    roundId: bigint;
    amount: bigint;
    totalRewards: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RoleAdminChangedEvent {
  export type InputTuple = [
    role: BytesLike,
    previousAdminRole: BytesLike,
    newAdminRole: BytesLike
  ];
  export type OutputTuple = [
    role: string,
    previousAdminRole: string,
    newAdminRole: string
  ];
  export interface OutputObject {
    role: string;
    previousAdminRole: string;
    newAdminRole: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RoleGrantedEvent {
  export type InputTuple = [
    role: BytesLike,
    account: AddressLike,
    sender: AddressLike
  ];
  export type OutputTuple = [role: string, account: string, sender: string];
  export interface OutputObject {
    role: string;
    account: string;
    sender: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RoleRevokedEvent {
  export type InputTuple = [
    role: BytesLike,
    account: AddressLike,
    sender: AddressLike
  ];
  export type OutputTuple = [role: string, account: string, sender: string];
  export interface OutputObject {
    role: string;
    account: string;
    sender: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace TotalAutoVotingActionsSetEvent {
  export type InputTuple = [
    roundId: BigNumberish,
    totalAutoVoteUsers: BigNumberish,
    totalActions: BigNumberish,
    totalWeightedActions: BigNumberish,
    numRelayers: BigNumberish
  ];
  export type OutputTuple = [
    roundId: bigint,
    totalAutoVoteUsers: bigint,
    totalActions: bigint,
    totalWeightedActions: bigint,
    numRelayers: bigint
  ];
  export interface OutputObject {
    roundId: bigint;
    totalAutoVoteUsers: bigint;
    totalActions: bigint;
    totalWeightedActions: bigint;
    numRelayers: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace UpgradedEvent {
  export type InputTuple = [implementation: AddressLike];
  export type OutputTuple = [implementation: string];
  export interface OutputObject {
    implementation: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace VoteWeightUpdatedEvent {
  export type InputTuple = [newWeight: BigNumberish, oldWeight: BigNumberish];
  export type OutputTuple = [newWeight: bigint, oldWeight: bigint];
  export interface OutputObject {
    newWeight: bigint;
    oldWeight: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace XAllocationVotingAddressUpdatedEvent {
  export type InputTuple = [newAddress: AddressLike, oldAddress: AddressLike];
  export type OutputTuple = [newAddress: string, oldAddress: string];
  export interface OutputObject {
    newAddress: string;
    oldAddress: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export interface RelayerRewardsPool extends BaseContract {
  connect(runner?: ContractRunner | null): RelayerRewardsPool;
  waitForDeployment(): Promise<this>;

  interface: RelayerRewardsPoolInterface;

  queryFilter<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;
  queryFilter<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;

  on<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  on<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  once<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  once<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  listeners<TCEvent extends TypedContractEvent>(
    event: TCEvent
  ): Promise<Array<TypedListener<TCEvent>>>;
  listeners(eventName?: string): Promise<Array<Listener>>;
  removeAllListeners<TCEvent extends TypedContractEvent>(
    event?: TCEvent
  ): Promise<this>;

  DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;

  POOL_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;

  UPGRADER_ROLE: TypedContractMethod<[], [string], "view">;

  UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;

  calculateRelayerFee: TypedContractMethod<
    [totalReward: BigNumberish],
    [bigint],
    "view"
  >;

  claimRewards: TypedContractMethod<
    [roundId: BigNumberish, relayer: AddressLike],
    [void],
    "nonpayable"
  >;

  claimableRewards: TypedContractMethod<
    [relayer: AddressLike, roundId: BigNumberish],
    [bigint],
    "view"
  >;

  completedWeightedActions: TypedContractMethod<
    [roundId: BigNumberish],
    [bigint],
    "view"
  >;

  deposit: TypedContractMethod<
    [amount: BigNumberish, roundId: BigNumberish],
    [void],
    "nonpayable"
  >;

  getB3trAddress: TypedContractMethod<[], [string], "view">;

  getClaimWeight: TypedContractMethod<[], [bigint], "view">;

  getEarlyAccessBlocks: TypedContractMethod<[], [bigint], "view">;

  getEmissionsAddress: TypedContractMethod<[], [string], "view">;

  getFeeCap: TypedContractMethod<[], [bigint], "view">;

  getMissedAutoVotingUsersCount: TypedContractMethod<
    [roundId: BigNumberish],
    [bigint],
    "view"
  >;

  getPreferredRelayer: TypedContractMethod<
    [user: AddressLike],
    [string],
    "view"
  >;

  getRegisteredRelayers: TypedContractMethod<[], [string[]], "view">;

  getRelayerFeeDenominator: TypedContractMethod<[], [bigint], "view">;

  getRelayerFeePercentage: TypedContractMethod<[], [bigint], "view">;

  getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;

  getTotalRewards: TypedContractMethod<
    [roundId: BigNumberish],
    [bigint],
    "view"
  >;

  getVoteWeight: TypedContractMethod<[], [bigint], "view">;

  getXAllocationVotingAddress: TypedContractMethod<[], [string], "view">;

  grantRole: TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;

  hasRole: TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [boolean],
    "view"
  >;

  initialize: TypedContractMethod<
    [
      admin: AddressLike,
      upgrader: AddressLike,
      b3trAddress: AddressLike,
      emissionsAddress: AddressLike,
      xAllocationVotingAddress: AddressLike
    ],
    [void],
    "nonpayable"
  >;

  initializeV2: TypedContractMethod<[], [void], "nonpayable">;

  initializeV3: TypedContractMethod<[], [void], "nonpayable">;

  isClaimEarlyAccessActive: TypedContractMethod<
    [roundId: BigNumberish],
    [boolean],
    "view"
  >;

  isRegisteredRelayer: TypedContractMethod<
    [relayer: AddressLike],
    [boolean],
    "view"
  >;

  isRewardClaimable: TypedContractMethod<
    [roundId: BigNumberish],
    [boolean],
    "view"
  >;

  isVoteEarlyAccessActive: TypedContractMethod<
    [roundId: BigNumberish],
    [boolean],
    "view"
  >;

  proxiableUUID: TypedContractMethod<[], [string], "view">;

  reduceExpectedActionsForRound: TypedContractMethod<
    [roundId: BigNumberish, userCount: BigNumberish],
    [void],
    "nonpayable"
  >;

  reduceUserAllocationVote: TypedContractMethod<
    [roundId: BigNumberish, user: AddressLike],
    [void],
    "nonpayable"
  >;

  reduceUserGovernanceVote: TypedContractMethod<
    [roundId: BigNumberish, user: AddressLike, proposalId: BigNumberish],
    [void],
    "nonpayable"
  >;

  registerRelayer: TypedContractMethod<
    [relayer: AddressLike],
    [void],
    "nonpayable"
  >;

  registerRelayerAction: TypedContractMethod<
    [
      relayer: AddressLike,
      voter: AddressLike,
      roundId: BigNumberish,
      action: BigNumberish
    ],
    [void],
    "nonpayable"
  >;

  renounceRole: TypedContractMethod<
    [role: BytesLike, callerConfirmation: AddressLike],
    [void],
    "nonpayable"
  >;

  revokeRole: TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;

  setB3TRAddress: TypedContractMethod<
    [b3trAddress: AddressLike],
    [void],
    "nonpayable"
  >;

  setClaimWeight: TypedContractMethod<
    [newWeight: BigNumberish],
    [void],
    "nonpayable"
  >;

  setEarlyAccessBlocks: TypedContractMethod<
    [blocks: BigNumberish],
    [void],
    "nonpayable"
  >;

  setEmissionsAddress: TypedContractMethod<
    [emissionsAddress: AddressLike],
    [void],
    "nonpayable"
  >;

  setFeeCap: TypedContractMethod<
    [newFeeCap: BigNumberish],
    [void],
    "nonpayable"
  >;

  setPreferredRelayer: TypedContractMethod<
    [relayer: AddressLike],
    [void],
    "nonpayable"
  >;

  setRelayerFeeDenominator: TypedContractMethod<
    [newDenominator: BigNumberish],
    [void],
    "nonpayable"
  >;

  setRelayerFeePercentage: TypedContractMethod<
    [newFeePercentage: BigNumberish],
    [void],
    "nonpayable"
  >;

  setTotalActionsForRound: TypedContractMethod<
    [roundId: BigNumberish, totalAutoVotingUsers: BigNumberish],
    [void],
    "nonpayable"
  >;

  setTotalActionsForRoundWithGovernance: TypedContractMethod<
    [
      roundId: BigNumberish,
      allocationUsers: BigNumberish,
      governanceUsers: BigNumberish,
      activeProposalIds: BigNumberish[]
    ],
    [void],
    "nonpayable"
  >;

  setVoteWeight: TypedContractMethod<
    [newWeight: BigNumberish],
    [void],
    "nonpayable"
  >;

  setXAllocationVotingAddress: TypedContractMethod<
    [xAllocationVotingAddress: AddressLike],
    [void],
    "nonpayable"
  >;

  supportsInterface: TypedContractMethod<
    [interfaceId: BytesLike],
    [boolean],
    "view"
  >;

  totalActions: TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;

  totalRelayerActions: TypedContractMethod<
    [relayer: AddressLike, roundId: BigNumberish],
    [bigint],
    "view"
  >;

  totalRelayerWeightedActions: TypedContractMethod<
    [relayer: AddressLike, roundId: BigNumberish],
    [bigint],
    "view"
  >;

  totalWeightedActions: TypedContractMethod<
    [roundId: BigNumberish],
    [bigint],
    "view"
  >;

  unregisterRelayer: TypedContractMethod<
    [relayer: AddressLike],
    [void],
    "nonpayable"
  >;

  upgradeToAndCall: TypedContractMethod<
    [newImplementation: AddressLike, data: BytesLike],
    [void],
    "payable"
  >;

  validateClaimDuringEarlyAccess: TypedContractMethod<
    [roundId: BigNumberish, voter: AddressLike, caller: AddressLike],
    [void],
    "view"
  >;

  validateVoteDuringEarlyAccess: TypedContractMethod<
    [roundId: BigNumberish, voter: AddressLike, caller: AddressLike],
    [void],
    "view"
  >;

  version: TypedContractMethod<[], [string], "view">;

  getFunction<T extends ContractMethod = ContractMethod>(
    key: string | FunctionFragment
  ): T;

  getFunction(
    nameOrSignature: "DEFAULT_ADMIN_ROLE"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "POOL_ADMIN_ROLE"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "UPGRADER_ROLE"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "UPGRADE_INTERFACE_VERSION"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "calculateRelayerFee"
  ): TypedContractMethod<[totalReward: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "claimRewards"
  ): TypedContractMethod<
    [roundId: BigNumberish, relayer: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "claimableRewards"
  ): TypedContractMethod<
    [relayer: AddressLike, roundId: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "completedWeightedActions"
  ): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "deposit"
  ): TypedContractMethod<
    [amount: BigNumberish, roundId: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "getB3trAddress"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "getClaimWeight"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getEarlyAccessBlocks"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getEmissionsAddress"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "getFeeCap"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getMissedAutoVotingUsersCount"
  ): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "getPreferredRelayer"
  ): TypedContractMethod<[user: AddressLike], [string], "view">;
  getFunction(
    nameOrSignature: "getRegisteredRelayers"
  ): TypedContractMethod<[], [string[]], "view">;
  getFunction(
    nameOrSignature: "getRelayerFeeDenominator"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getRelayerFeePercentage"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getRoleAdmin"
  ): TypedContractMethod<[role: BytesLike], [string], "view">;
  getFunction(
    nameOrSignature: "getTotalRewards"
  ): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "getVoteWeight"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getXAllocationVotingAddress"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "grantRole"
  ): TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "hasRole"
  ): TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [boolean],
    "view"
  >;
  getFunction(
    nameOrSignature: "initialize"
  ): TypedContractMethod<
    [
      admin: AddressLike,
      upgrader: AddressLike,
      b3trAddress: AddressLike,
      emissionsAddress: AddressLike,
      xAllocationVotingAddress: AddressLike
    ],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "initializeV2"
  ): TypedContractMethod<[], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "initializeV3"
  ): TypedContractMethod<[], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "isClaimEarlyAccessActive"
  ): TypedContractMethod<[roundId: BigNumberish], [boolean], "view">;
  getFunction(
    nameOrSignature: "isRegisteredRelayer"
  ): TypedContractMethod<[relayer: AddressLike], [boolean], "view">;
  getFunction(
    nameOrSignature: "isRewardClaimable"
  ): TypedContractMethod<[roundId: BigNumberish], [boolean], "view">;
  getFunction(
    nameOrSignature: "isVoteEarlyAccessActive"
  ): TypedContractMethod<[roundId: BigNumberish], [boolean], "view">;
  getFunction(
    nameOrSignature: "proxiableUUID"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "reduceExpectedActionsForRound"
  ): TypedContractMethod<
    [roundId: BigNumberish, userCount: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "reduceUserAllocationVote"
  ): TypedContractMethod<
    [roundId: BigNumberish, user: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "reduceUserGovernanceVote"
  ): TypedContractMethod<
    [roundId: BigNumberish, user: AddressLike, proposalId: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "registerRelayer"
  ): TypedContractMethod<[relayer: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "registerRelayerAction"
  ): TypedContractMethod<
    [
      relayer: AddressLike,
      voter: AddressLike,
      roundId: BigNumberish,
      action: BigNumberish
    ],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "renounceRole"
  ): TypedContractMethod<
    [role: BytesLike, callerConfirmation: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "revokeRole"
  ): TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setB3TRAddress"
  ): TypedContractMethod<[b3trAddress: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setClaimWeight"
  ): TypedContractMethod<[newWeight: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setEarlyAccessBlocks"
  ): TypedContractMethod<[blocks: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setEmissionsAddress"
  ): TypedContractMethod<[emissionsAddress: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setFeeCap"
  ): TypedContractMethod<[newFeeCap: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setPreferredRelayer"
  ): TypedContractMethod<[relayer: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setRelayerFeeDenominator"
  ): TypedContractMethod<[newDenominator: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setRelayerFeePercentage"
  ): TypedContractMethod<
    [newFeePercentage: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setTotalActionsForRound"
  ): TypedContractMethod<
    [roundId: BigNumberish, totalAutoVotingUsers: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setTotalActionsForRoundWithGovernance"
  ): TypedContractMethod<
    [
      roundId: BigNumberish,
      allocationUsers: BigNumberish,
      governanceUsers: BigNumberish,
      activeProposalIds: BigNumberish[]
    ],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setVoteWeight"
  ): TypedContractMethod<[newWeight: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setXAllocationVotingAddress"
  ): TypedContractMethod<
    [xAllocationVotingAddress: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "supportsInterface"
  ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
  getFunction(
    nameOrSignature: "totalActions"
  ): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "totalRelayerActions"
  ): TypedContractMethod<
    [relayer: AddressLike, roundId: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "totalRelayerWeightedActions"
  ): TypedContractMethod<
    [relayer: AddressLike, roundId: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "totalWeightedActions"
  ): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "unregisterRelayer"
  ): TypedContractMethod<[relayer: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "upgradeToAndCall"
  ): TypedContractMethod<
    [newImplementation: AddressLike, data: BytesLike],
    [void],
    "payable"
  >;
  getFunction(
    nameOrSignature: "validateClaimDuringEarlyAccess"
  ): TypedContractMethod<
    [roundId: BigNumberish, voter: AddressLike, caller: AddressLike],
    [void],
    "view"
  >;
  getFunction(
    nameOrSignature: "validateVoteDuringEarlyAccess"
  ): TypedContractMethod<
    [roundId: BigNumberish, voter: AddressLike, caller: AddressLike],
    [void],
    "view"
  >;
  getFunction(
    nameOrSignature: "version"
  ): TypedContractMethod<[], [string], "view">;

  getEvent(
    key: "B3TRAddressUpdated"
  ): TypedContractEvent<
    B3TRAddressUpdatedEvent.InputTuple,
    B3TRAddressUpdatedEvent.OutputTuple,
    B3TRAddressUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "ClaimWeightUpdated"
  ): TypedContractEvent<
    ClaimWeightUpdatedEvent.InputTuple,
    ClaimWeightUpdatedEvent.OutputTuple,
    ClaimWeightUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "EarlyAccessBlocksUpdated"
  ): TypedContractEvent<
    EarlyAccessBlocksUpdatedEvent.InputTuple,
    EarlyAccessBlocksUpdatedEvent.OutputTuple,
    EarlyAccessBlocksUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "EmissionsAddressUpdated"
  ): TypedContractEvent<
    EmissionsAddressUpdatedEvent.InputTuple,
    EmissionsAddressUpdatedEvent.OutputTuple,
    EmissionsAddressUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "ExpectedActionsReduced"
  ): TypedContractEvent<
    ExpectedActionsReducedEvent.InputTuple,
    ExpectedActionsReducedEvent.OutputTuple,
    ExpectedActionsReducedEvent.OutputObject
  >;
  getEvent(
    key: "FeeCapUpdated"
  ): TypedContractEvent<
    FeeCapUpdatedEvent.InputTuple,
    FeeCapUpdatedEvent.OutputTuple,
    FeeCapUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "Initialized"
  ): TypedContractEvent<
    InitializedEvent.InputTuple,
    InitializedEvent.OutputTuple,
    InitializedEvent.OutputObject
  >;
  getEvent(
    key: "PreferredRelayerSet"
  ): TypedContractEvent<
    PreferredRelayerSetEvent.InputTuple,
    PreferredRelayerSetEvent.OutputTuple,
    PreferredRelayerSetEvent.OutputObject
  >;
  getEvent(
    key: "RelayerActionRegistered"
  ): TypedContractEvent<
    RelayerActionRegisteredEvent.InputTuple,
    RelayerActionRegisteredEvent.OutputTuple,
    RelayerActionRegisteredEvent.OutputObject
  >;
  getEvent(
    key: "RelayerFeeDenominatorUpdated"
  ): TypedContractEvent<
    RelayerFeeDenominatorUpdatedEvent.InputTuple,
    RelayerFeeDenominatorUpdatedEvent.OutputTuple,
    RelayerFeeDenominatorUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "RelayerFeePercentageUpdated"
  ): TypedContractEvent<
    RelayerFeePercentageUpdatedEvent.InputTuple,
    RelayerFeePercentageUpdatedEvent.OutputTuple,
    RelayerFeePercentageUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "RelayerRegistered"
  ): TypedContractEvent<
    RelayerRegisteredEvent.InputTuple,
    RelayerRegisteredEvent.OutputTuple,
    RelayerRegisteredEvent.OutputObject
  >;
  getEvent(
    key: "RelayerRewardsClaimed"
  ): TypedContractEvent<
    RelayerRewardsClaimedEvent.InputTuple,
    RelayerRewardsClaimedEvent.OutputTuple,
    RelayerRewardsClaimedEvent.OutputObject
  >;
  getEvent(
    key: "RelayerUnregistered"
  ): TypedContractEvent<
    RelayerUnregisteredEvent.InputTuple,
    RelayerUnregisteredEvent.OutputTuple,
    RelayerUnregisteredEvent.OutputObject
  >;
  getEvent(
    key: "RewardsDeposited"
  ): TypedContractEvent<
    RewardsDepositedEvent.InputTuple,
    RewardsDepositedEvent.OutputTuple,
    RewardsDepositedEvent.OutputObject
  >;
  getEvent(
    key: "RoleAdminChanged"
  ): TypedContractEvent<
    RoleAdminChangedEvent.InputTuple,
    RoleAdminChangedEvent.OutputTuple,
    RoleAdminChangedEvent.OutputObject
  >;
  getEvent(
    key: "RoleGranted"
  ): TypedContractEvent<
    RoleGrantedEvent.InputTuple,
    RoleGrantedEvent.OutputTuple,
    RoleGrantedEvent.OutputObject
  >;
  getEvent(
    key: "RoleRevoked"
  ): TypedContractEvent<
    RoleRevokedEvent.InputTuple,
    RoleRevokedEvent.OutputTuple,
    RoleRevokedEvent.OutputObject
  >;
  getEvent(
    key: "TotalAutoVotingActionsSet"
  ): TypedContractEvent<
    TotalAutoVotingActionsSetEvent.InputTuple,
    TotalAutoVotingActionsSetEvent.OutputTuple,
    TotalAutoVotingActionsSetEvent.OutputObject
  >;
  getEvent(
    key: "Upgraded"
  ): TypedContractEvent<
    UpgradedEvent.InputTuple,
    UpgradedEvent.OutputTuple,
    UpgradedEvent.OutputObject
  >;
  getEvent(
    key: "VoteWeightUpdated"
  ): TypedContractEvent<
    VoteWeightUpdatedEvent.InputTuple,
    VoteWeightUpdatedEvent.OutputTuple,
    VoteWeightUpdatedEvent.OutputObject
  >;
  getEvent(
    key: "XAllocationVotingAddressUpdated"
  ): TypedContractEvent<
    XAllocationVotingAddressUpdatedEvent.InputTuple,
    XAllocationVotingAddressUpdatedEvent.OutputTuple,
    XAllocationVotingAddressUpdatedEvent.OutputObject
  >;

  filters: {
    "B3TRAddressUpdated(address,address)": TypedContractEvent<
      B3TRAddressUpdatedEvent.InputTuple,
      B3TRAddressUpdatedEvent.OutputTuple,
      B3TRAddressUpdatedEvent.OutputObject
    >;
    B3TRAddressUpdated: TypedContractEvent<
      B3TRAddressUpdatedEvent.InputTuple,
      B3TRAddressUpdatedEvent.OutputTuple,
      B3TRAddressUpdatedEvent.OutputObject
    >;

    "ClaimWeightUpdated(uint256,uint256)": TypedContractEvent<
      ClaimWeightUpdatedEvent.InputTuple,
      ClaimWeightUpdatedEvent.OutputTuple,
      ClaimWeightUpdatedEvent.OutputObject
    >;
    ClaimWeightUpdated: TypedContractEvent<
      ClaimWeightUpdatedEvent.InputTuple,
      ClaimWeightUpdatedEvent.OutputTuple,
      ClaimWeightUpdatedEvent.OutputObject
    >;

    "EarlyAccessBlocksUpdated(uint256,uint256)": TypedContractEvent<
      EarlyAccessBlocksUpdatedEvent.InputTuple,
      EarlyAccessBlocksUpdatedEvent.OutputTuple,
      EarlyAccessBlocksUpdatedEvent.OutputObject
    >;
    EarlyAccessBlocksUpdated: TypedContractEvent<
      EarlyAccessBlocksUpdatedEvent.InputTuple,
      EarlyAccessBlocksUpdatedEvent.OutputTuple,
      EarlyAccessBlocksUpdatedEvent.OutputObject
    >;

    "EmissionsAddressUpdated(address,address)": TypedContractEvent<
      EmissionsAddressUpdatedEvent.InputTuple,
      EmissionsAddressUpdatedEvent.OutputTuple,
      EmissionsAddressUpdatedEvent.OutputObject
    >;
    EmissionsAddressUpdated: TypedContractEvent<
      EmissionsAddressUpdatedEvent.InputTuple,
      EmissionsAddressUpdatedEvent.OutputTuple,
      EmissionsAddressUpdatedEvent.OutputObject
    >;

    "ExpectedActionsReduced(uint256,uint256,uint256,uint256)": TypedContractEvent<
      ExpectedActionsReducedEvent.InputTuple,
      ExpectedActionsReducedEvent.OutputTuple,
      ExpectedActionsReducedEvent.OutputObject
    >;
    ExpectedActionsReduced: TypedContractEvent<
      ExpectedActionsReducedEvent.InputTuple,
      ExpectedActionsReducedEvent.OutputTuple,
      ExpectedActionsReducedEvent.OutputObject
    >;

    "FeeCapUpdated(uint256,uint256)": TypedContractEvent<
      FeeCapUpdatedEvent.InputTuple,
      FeeCapUpdatedEvent.OutputTuple,
      FeeCapUpdatedEvent.OutputObject
    >;
    FeeCapUpdated: TypedContractEvent<
      FeeCapUpdatedEvent.InputTuple,
      FeeCapUpdatedEvent.OutputTuple,
      FeeCapUpdatedEvent.OutputObject
    >;

    "Initialized(uint64)": TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;
    Initialized: TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;

    "PreferredRelayerSet(address,address)": TypedContractEvent<
      PreferredRelayerSetEvent.InputTuple,
      PreferredRelayerSetEvent.OutputTuple,
      PreferredRelayerSetEvent.OutputObject
    >;
    PreferredRelayerSet: TypedContractEvent<
      PreferredRelayerSetEvent.InputTuple,
      PreferredRelayerSetEvent.OutputTuple,
      PreferredRelayerSetEvent.OutputObject
    >;

    "RelayerActionRegistered(address,address,uint256,uint256,uint256)": TypedContractEvent<
      RelayerActionRegisteredEvent.InputTuple,
      RelayerActionRegisteredEvent.OutputTuple,
      RelayerActionRegisteredEvent.OutputObject
    >;
    RelayerActionRegistered: TypedContractEvent<
      RelayerActionRegisteredEvent.InputTuple,
      RelayerActionRegisteredEvent.OutputTuple,
      RelayerActionRegisteredEvent.OutputObject
    >;

    "RelayerFeeDenominatorUpdated(uint256,uint256)": TypedContractEvent<
      RelayerFeeDenominatorUpdatedEvent.InputTuple,
      RelayerFeeDenominatorUpdatedEvent.OutputTuple,
      RelayerFeeDenominatorUpdatedEvent.OutputObject
    >;
    RelayerFeeDenominatorUpdated: TypedContractEvent<
      RelayerFeeDenominatorUpdatedEvent.InputTuple,
      RelayerFeeDenominatorUpdatedEvent.OutputTuple,
      RelayerFeeDenominatorUpdatedEvent.OutputObject
    >;

    "RelayerFeePercentageUpdated(uint256,uint256)": TypedContractEvent<
      RelayerFeePercentageUpdatedEvent.InputTuple,
      RelayerFeePercentageUpdatedEvent.OutputTuple,
      RelayerFeePercentageUpdatedEvent.OutputObject
    >;
    RelayerFeePercentageUpdated: TypedContractEvent<
      RelayerFeePercentageUpdatedEvent.InputTuple,
      RelayerFeePercentageUpdatedEvent.OutputTuple,
      RelayerFeePercentageUpdatedEvent.OutputObject
    >;

    "RelayerRegistered(address)": TypedContractEvent<
      RelayerRegisteredEvent.InputTuple,
      RelayerRegisteredEvent.OutputTuple,
      RelayerRegisteredEvent.OutputObject
    >;
    RelayerRegistered: TypedContractEvent<
      RelayerRegisteredEvent.InputTuple,
      RelayerRegisteredEvent.OutputTuple,
      RelayerRegisteredEvent.OutputObject
    >;

    "RelayerRewardsClaimed(address,uint256,uint256)": TypedContractEvent<
      RelayerRewardsClaimedEvent.InputTuple,
      RelayerRewardsClaimedEvent.OutputTuple,
      RelayerRewardsClaimedEvent.OutputObject
    >;
    RelayerRewardsClaimed: TypedContractEvent<
      RelayerRewardsClaimedEvent.InputTuple,
      RelayerRewardsClaimedEvent.OutputTuple,
      RelayerRewardsClaimedEvent.OutputObject
    >;

    "RelayerUnregistered(address)": TypedContractEvent<
      RelayerUnregisteredEvent.InputTuple,
      RelayerUnregisteredEvent.OutputTuple,
      RelayerUnregisteredEvent.OutputObject
    >;
    RelayerUnregistered: TypedContractEvent<
      RelayerUnregisteredEvent.InputTuple,
      RelayerUnregisteredEvent.OutputTuple,
      RelayerUnregisteredEvent.OutputObject
    >;

    "RewardsDeposited(uint256,uint256,uint256)": TypedContractEvent<
      RewardsDepositedEvent.InputTuple,
      RewardsDepositedEvent.OutputTuple,
      RewardsDepositedEvent.OutputObject
    >;
    RewardsDeposited: TypedContractEvent<
      RewardsDepositedEvent.InputTuple,
      RewardsDepositedEvent.OutputTuple,
      RewardsDepositedEvent.OutputObject
    >;

    "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<
      RoleAdminChangedEvent.InputTuple,
      RoleAdminChangedEvent.OutputTuple,
      RoleAdminChangedEvent.OutputObject
    >;
    RoleAdminChanged: TypedContractEvent<
      RoleAdminChangedEvent.InputTuple,
      RoleAdminChangedEvent.OutputTuple,
      RoleAdminChangedEvent.OutputObject
    >;

    "RoleGranted(bytes32,address,address)": TypedContractEvent<
      RoleGrantedEvent.InputTuple,
      RoleGrantedEvent.OutputTuple,
      RoleGrantedEvent.OutputObject
    >;
    RoleGranted: TypedContractEvent<
      RoleGrantedEvent.InputTuple,
      RoleGrantedEvent.OutputTuple,
      RoleGrantedEvent.OutputObject
    >;

    "RoleRevoked(bytes32,address,address)": TypedContractEvent<
      RoleRevokedEvent.InputTuple,
      RoleRevokedEvent.OutputTuple,
      RoleRevokedEvent.OutputObject
    >;
    RoleRevoked: TypedContractEvent<
      RoleRevokedEvent.InputTuple,
      RoleRevokedEvent.OutputTuple,
      RoleRevokedEvent.OutputObject
    >;

    "TotalAutoVotingActionsSet(uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<
      TotalAutoVotingActionsSetEvent.InputTuple,
      TotalAutoVotingActionsSetEvent.OutputTuple,
      TotalAutoVotingActionsSetEvent.OutputObject
    >;
    TotalAutoVotingActionsSet: TypedContractEvent<
      TotalAutoVotingActionsSetEvent.InputTuple,
      TotalAutoVotingActionsSetEvent.OutputTuple,
      TotalAutoVotingActionsSetEvent.OutputObject
    >;

    "Upgraded(address)": TypedContractEvent<
      UpgradedEvent.InputTuple,
      UpgradedEvent.OutputTuple,
      UpgradedEvent.OutputObject
    >;
    Upgraded: TypedContractEvent<
      UpgradedEvent.InputTuple,
      UpgradedEvent.OutputTuple,
      UpgradedEvent.OutputObject
    >;

    "VoteWeightUpdated(uint256,uint256)": TypedContractEvent<
      VoteWeightUpdatedEvent.InputTuple,
      VoteWeightUpdatedEvent.OutputTuple,
      VoteWeightUpdatedEvent.OutputObject
    >;
    VoteWeightUpdated: TypedContractEvent<
      VoteWeightUpdatedEvent.InputTuple,
      VoteWeightUpdatedEvent.OutputTuple,
      VoteWeightUpdatedEvent.OutputObject
    >;

    "XAllocationVotingAddressUpdated(address,address)": TypedContractEvent<
      XAllocationVotingAddressUpdatedEvent.InputTuple,
      XAllocationVotingAddressUpdatedEvent.OutputTuple,
      XAllocationVotingAddressUpdatedEvent.OutputObject
    >;
    XAllocationVotingAddressUpdated: TypedContractEvent<
      XAllocationVotingAddressUpdatedEvent.InputTuple,
      XAllocationVotingAddressUpdatedEvent.OutputTuple,
      XAllocationVotingAddressUpdatedEvent.OutputObject
    >;
  };
}
