UNPKG

@vechain/vebetterdao-contracts

Version:

Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.

1,547 lines (1,453 loc) 44 kB
/* 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 VoterRewardsV6Interface extends Interface { getFunction( nameOrSignature: | "CONTRACTS_ADDRESS_MANAGER_ROLE" | "DEFAULT_ADMIN_ROLE" | "SCALING_FACTOR" | "UPGRADER_ROLE" | "UPGRADE_INTERFACE_VERSION" | "VOTE_REGISTRAR_ROLE" | "b3tr" | "claimReward" | "clock" | "cycleToTotal" | "cycleToTotalGMWeight" | "cycleToVoterToGMWeight" | "cycleToVoterToTotal" | "emissions" | "galaxyMember" | "getGMReward" | "getMultiplier" | "getRelayerFee" | "getReward" | "getRoleAdmin" | "grantRole" | "hasNodeVoted" | "hasRole" | "hasTokenVoted" | "initialize" | "initializeV5" | "initializeV6" | "isQuadraticRewardingDisabledAtBlock" | "isQuadraticRewardingDisabledForCurrentCycle" | "levelToMultiplier" | "proxiableUUID" | "registerVote" | "relayerRewardsPool" | "renounceRole" | "revokeRole" | "setEmissions" | "setGalaxyMember" | "setLevelToMultiplier" | "setLevelToMultiplierNow" | "setRelayerRewardsPool" | "setXAllocationVoting" | "supportsInterface" | "toggleQuadraticRewarding" | "upgradeToAndCall" | "version" | "xAllocationVoting" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: | "EmissionsAddressUpdated" | "GMVoteRegistered" | "GalaxyMemberAddressUpdated" | "Initialized" | "LevelToMultiplierPending" | "LevelToMultiplierSet" | "QuadraticRewardingToggled" | "RelayerFeeTaken" | "RelayerRewardsPoolAddressUpdated" | "RewardClaimed" | "RewardClaimedV2" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Upgraded" | "VoteRegistered" | "XAllocationVotingAddressUpdated" ): EventFragment; encodeFunctionData( functionFragment: "CONTRACTS_ADDRESS_MANAGER_ROLE", values?: undefined ): string; encodeFunctionData( functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined ): string; encodeFunctionData( functionFragment: "SCALING_FACTOR", values?: undefined ): string; encodeFunctionData( functionFragment: "UPGRADER_ROLE", values?: undefined ): string; encodeFunctionData( functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined ): string; encodeFunctionData( functionFragment: "VOTE_REGISTRAR_ROLE", values?: undefined ): string; encodeFunctionData(functionFragment: "b3tr", values?: undefined): string; encodeFunctionData( functionFragment: "claimReward", values: [BigNumberish, AddressLike] ): string; encodeFunctionData(functionFragment: "clock", values?: undefined): string; encodeFunctionData( functionFragment: "cycleToTotal", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "cycleToTotalGMWeight", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "cycleToVoterToGMWeight", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "cycleToVoterToTotal", values: [BigNumberish, AddressLike] ): string; encodeFunctionData(functionFragment: "emissions", values?: undefined): string; encodeFunctionData( functionFragment: "galaxyMember", values?: undefined ): string; encodeFunctionData( functionFragment: "getGMReward", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "getMultiplier", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "getRelayerFee", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "getReward", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "getRoleAdmin", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "grantRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "hasNodeVoted", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "hasRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "hasTokenVoted", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "initialize", values: [ AddressLike, AddressLike, AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish[], BigNumberish[] ] ): string; encodeFunctionData( functionFragment: "initializeV5", values: [BigNumberish[], BigNumberish[]] ): string; encodeFunctionData( functionFragment: "initializeV6", values: [AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "isQuadraticRewardingDisabledAtBlock", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isQuadraticRewardingDisabledForCurrentCycle", values?: undefined ): string; encodeFunctionData( functionFragment: "levelToMultiplier", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "proxiableUUID", values?: undefined ): string; encodeFunctionData( functionFragment: "registerVote", values: [BigNumberish, AddressLike, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "relayerRewardsPool", values?: undefined ): string; encodeFunctionData( functionFragment: "renounceRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "revokeRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "setEmissions", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "setGalaxyMember", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "setLevelToMultiplier", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setLevelToMultiplierNow", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "setRelayerRewardsPool", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "setXAllocationVoting", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "supportsInterface", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "toggleQuadraticRewarding", values?: undefined ): string; encodeFunctionData( functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike] ): string; encodeFunctionData(functionFragment: "version", values?: undefined): string; encodeFunctionData( functionFragment: "xAllocationVoting", values?: undefined ): string; decodeFunctionResult( functionFragment: "CONTRACTS_ADDRESS_MANAGER_ROLE", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "SCALING_FACTOR", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "UPGRADER_ROLE", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "VOTE_REGISTRAR_ROLE", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "b3tr", data: BytesLike): Result; decodeFunctionResult( functionFragment: "claimReward", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; decodeFunctionResult( functionFragment: "cycleToTotal", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "cycleToTotalGMWeight", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "cycleToVoterToGMWeight", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "cycleToVoterToTotal", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "emissions", data: BytesLike): Result; decodeFunctionResult( functionFragment: "galaxyMember", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getGMReward", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getMultiplier", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getRelayerFee", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result; decodeFunctionResult( functionFragment: "getRoleAdmin", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; decodeFunctionResult( functionFragment: "hasNodeVoted", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; decodeFunctionResult( functionFragment: "hasTokenVoted", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult( functionFragment: "initializeV5", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "initializeV6", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isQuadraticRewardingDisabledAtBlock", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isQuadraticRewardingDisabledForCurrentCycle", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "levelToMultiplier", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "proxiableUUID", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "registerVote", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "relayerRewardsPool", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "renounceRole", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; decodeFunctionResult( functionFragment: "setEmissions", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setGalaxyMember", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setLevelToMultiplier", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setLevelToMultiplierNow", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setRelayerRewardsPool", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setXAllocationVoting", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "supportsInterface", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "toggleQuadraticRewarding", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "upgradeToAndCall", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; decodeFunctionResult( functionFragment: "xAllocationVoting", data: BytesLike ): Result; } 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 GMVoteRegisteredEvent { export type InputTuple = [ cycle: BigNumberish, tokenId: BigNumberish, level: BigNumberish, multiplier: BigNumberish ]; export type OutputTuple = [ cycle: bigint, tokenId: bigint, level: bigint, multiplier: bigint ]; export interface OutputObject { cycle: bigint; tokenId: bigint; level: bigint; multiplier: 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 GalaxyMemberAddressUpdatedEvent { 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 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 LevelToMultiplierPendingEvent { export type InputTuple = [level: BigNumberish, multiplier: BigNumberish]; export type OutputTuple = [level: bigint, multiplier: bigint]; export interface OutputObject { level: bigint; multiplier: 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 LevelToMultiplierSetEvent { export type InputTuple = [level: BigNumberish, multiplier: BigNumberish]; export type OutputTuple = [level: bigint, multiplier: bigint]; export interface OutputObject { level: bigint; multiplier: 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 QuadraticRewardingToggledEvent { export type InputTuple = [disabled: boolean]; export type OutputTuple = [disabled: boolean]; export interface OutputObject { disabled: boolean; } export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; export type Filter = TypedDeferredTopicFilter<Event>; export type Log = TypedEventLog<Event>; export type LogDescription = TypedLogDescription<Event>; } export namespace RelayerFeeTakenEvent { export type InputTuple = [ relayer: AddressLike, fee: BigNumberish, cycle: BigNumberish, voter: AddressLike ]; export type OutputTuple = [ relayer: string, fee: bigint, cycle: bigint, voter: string ]; export interface OutputObject { relayer: string; fee: bigint; cycle: bigint; voter: 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 RelayerRewardsPoolAddressUpdatedEvent { 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 RewardClaimedEvent { export type InputTuple = [ cycle: BigNumberish, voter: AddressLike, reward: BigNumberish ]; export type OutputTuple = [cycle: bigint, voter: string, reward: bigint]; export interface OutputObject { cycle: bigint; voter: string; reward: 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 RewardClaimedV2Event { export type InputTuple = [ cycle: BigNumberish, voter: AddressLike, reward: BigNumberish, gmReward: BigNumberish ]; export type OutputTuple = [ cycle: bigint, voter: string, reward: bigint, gmReward: bigint ]; export interface OutputObject { cycle: bigint; voter: string; reward: bigint; gmReward: 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 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 VoteRegisteredEvent { export type InputTuple = [ cycle: BigNumberish, voter: AddressLike, votes: BigNumberish, rewardWeightedVote: BigNumberish ]; export type OutputTuple = [ cycle: bigint, voter: string, votes: bigint, rewardWeightedVote: bigint ]; export interface OutputObject { cycle: bigint; voter: string; votes: bigint; rewardWeightedVote: 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]; export type OutputTuple = [newAddress: string]; export interface OutputObject { newAddress: 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 VoterRewardsV6 extends BaseContract { connect(runner?: ContractRunner | null): VoterRewardsV6; waitForDeployment(): Promise<this>; interface: VoterRewardsV6Interface; 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>; CONTRACTS_ADDRESS_MANAGER_ROLE: TypedContractMethod<[], [string], "view">; DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">; SCALING_FACTOR: TypedContractMethod<[], [bigint], "view">; UPGRADER_ROLE: TypedContractMethod<[], [string], "view">; UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; VOTE_REGISTRAR_ROLE: TypedContractMethod<[], [string], "view">; b3tr: TypedContractMethod<[], [string], "view">; claimReward: TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [void], "nonpayable" >; clock: TypedContractMethod<[], [bigint], "view">; cycleToTotal: TypedContractMethod<[cycle: BigNumberish], [bigint], "view">; cycleToTotalGMWeight: TypedContractMethod< [cycle: BigNumberish], [bigint], "view" >; cycleToVoterToGMWeight: TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; cycleToVoterToTotal: TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; emissions: TypedContractMethod<[], [string], "view">; galaxyMember: TypedContractMethod<[], [string], "view">; getGMReward: TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getMultiplier: TypedContractMethod< [tokenId: BigNumberish, proposalId: BigNumberish], [bigint], "view" >; getRelayerFee: TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getReward: TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">; grantRole: TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; hasNodeVoted: TypedContractMethod< [nodeId: BigNumberish, proposalId: BigNumberish], [boolean], "view" >; hasRole: TypedContractMethod< [role: BytesLike, account: AddressLike], [boolean], "view" >; hasTokenVoted: TypedContractMethod< [tokenId: BigNumberish, proposalId: BigNumberish], [boolean], "view" >; initialize: TypedContractMethod< [ admin: AddressLike, upgrader: AddressLike, contractsAddressManager: AddressLike, _emissions: AddressLike, _galaxyMember: AddressLike, _b3tr: AddressLike, levels: BigNumberish[], multipliers: BigNumberish[] ], [void], "nonpayable" >; initializeV5: TypedContractMethod< [levels: BigNumberish[], multipliers: BigNumberish[]], [void], "nonpayable" >; initializeV6: TypedContractMethod< [_xAllocationVoting: AddressLike, _relayerRewardsPool: AddressLike], [void], "nonpayable" >; isQuadraticRewardingDisabledAtBlock: TypedContractMethod< [blockNumber: BigNumberish], [boolean], "view" >; isQuadraticRewardingDisabledForCurrentCycle: TypedContractMethod< [], [boolean], "view" >; levelToMultiplier: TypedContractMethod< [level: BigNumberish], [bigint], "view" >; proxiableUUID: TypedContractMethod<[], [string], "view">; registerVote: TypedContractMethod< [ proposalId: BigNumberish, voter: AddressLike, votes: BigNumberish, votePower: BigNumberish ], [void], "nonpayable" >; relayerRewardsPool: TypedContractMethod<[], [string], "view">; renounceRole: TypedContractMethod< [role: BytesLike, callerConfirmation: AddressLike], [void], "nonpayable" >; revokeRole: TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; setEmissions: TypedContractMethod< [_emissions: AddressLike], [void], "nonpayable" >; setGalaxyMember: TypedContractMethod< [_galaxyMember: AddressLike], [void], "nonpayable" >; setLevelToMultiplier: TypedContractMethod< [level: BigNumberish, multiplier: BigNumberish], [void], "nonpayable" >; setLevelToMultiplierNow: TypedContractMethod< [level: BigNumberish, multiplier: BigNumberish], [void], "nonpayable" >; setRelayerRewardsPool: TypedContractMethod< [_relayerRewardsPool: AddressLike], [void], "nonpayable" >; setXAllocationVoting: TypedContractMethod< [_xAllocationVoting: AddressLike], [void], "nonpayable" >; supportsInterface: TypedContractMethod< [interfaceId: BytesLike], [boolean], "view" >; toggleQuadraticRewarding: TypedContractMethod<[], [void], "nonpayable">; upgradeToAndCall: TypedContractMethod< [newImplementation: AddressLike, data: BytesLike], [void], "payable" >; version: TypedContractMethod<[], [string], "view">; xAllocationVoting: TypedContractMethod<[], [string], "view">; getFunction<T extends ContractMethod = ContractMethod>( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "CONTRACTS_ADDRESS_MANAGER_ROLE" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "DEFAULT_ADMIN_ROLE" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "SCALING_FACTOR" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "UPGRADER_ROLE" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "UPGRADE_INTERFACE_VERSION" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "VOTE_REGISTRAR_ROLE" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "b3tr" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "claimReward" ): TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "clock" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "cycleToTotal" ): TypedContractMethod<[cycle: BigNumberish], [bigint], "view">; getFunction( nameOrSignature: "cycleToTotalGMWeight" ): TypedContractMethod<[cycle: BigNumberish], [bigint], "view">; getFunction( nameOrSignature: "cycleToVoterToGMWeight" ): TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getFunction( nameOrSignature: "cycleToVoterToTotal" ): TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getFunction( nameOrSignature: "emissions" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "galaxyMember" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "getGMReward" ): TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getFunction( nameOrSignature: "getMultiplier" ): TypedContractMethod< [tokenId: BigNumberish, proposalId: BigNumberish], [bigint], "view" >; getFunction( nameOrSignature: "getRelayerFee" ): TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getFunction( nameOrSignature: "getReward" ): TypedContractMethod< [cycle: BigNumberish, voter: AddressLike], [bigint], "view" >; getFunction( nameOrSignature: "getRoleAdmin" ): TypedContractMethod<[role: BytesLike], [string], "view">; getFunction( nameOrSignature: "grantRole" ): TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "hasNodeVoted" ): TypedContractMethod< [nodeId: BigNumberish, proposalId: BigNumberish], [boolean], "view" >; getFunction( nameOrSignature: "hasRole" ): TypedContractMethod< [role: BytesLike, account: AddressLike], [boolean], "view" >; getFunction( nameOrSignature: "hasTokenVoted" ): TypedContractMethod< [tokenId: BigNumberish, proposalId: BigNumberish], [boolean], "view" >; getFunction( nameOrSignature: "initialize" ): TypedContractMethod< [ admin: AddressLike, upgrader: AddressLike, contractsAddressManager: AddressLike, _emissions: AddressLike, _galaxyMember: AddressLike, _b3tr: AddressLike, levels: BigNumberish[], multipliers: BigNumberish[] ], [void], "nonpayable" >; getFunction( nameOrSignature: "initializeV5" ): TypedContractMethod< [levels: BigNumberish[], multipliers: BigNumberish[]], [void], "nonpayable" >; getFunction( nameOrSignature: "initializeV6" ): TypedContractMethod< [_xAllocationVoting: AddressLike, _relayerRewardsPool: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "isQuadraticRewardingDisabledAtBlock" ): TypedContractMethod<[blockNumber: BigNumberish], [boolean], "view">; getFunction( nameOrSignature: "isQuadraticRewardingDisabledForCurrentCycle" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "levelToMultiplier" ): TypedContractMethod<[level: BigNumberish], [bigint], "view">; getFunction( nameOrSignature: "proxiableUUID" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "registerVote" ): TypedContractMethod< [ proposalId: BigNumberish, voter: AddressLike, votes: BigNumberish, votePower: BigNumberish ], [void], "nonpayable" >; getFunction( nameOrSignature: "relayerRewardsPool" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "renounceRole" ): TypedContractMethod< [role: BytesLike, callerConfirmation: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "revokeRole" ): TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "setEmissions" ): TypedContractMethod<[_emissions: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "setGalaxyMember" ): TypedContractMethod<[_galaxyMember: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "setLevelToMultiplier" ): TypedContractMethod< [level: BigNumberish, multiplier: BigNumberish], [void], "nonpayable" >; getFunction( nameOrSignature: "setLevelToMultiplierNow" ): TypedContractMethod< [level: BigNumberish, multiplier: BigNumberish], [void], "nonpayable" >; getFunction( nameOrSignature: "setRelayerRewardsPool" ): TypedContractMethod< [_relayerRewardsPool: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "setXAllocationVoting" ): TypedContractMethod< [_xAllocationVoting: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "supportsInterface" ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getFunction( nameOrSignature: "toggleQuadraticRewarding" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "upgradeToAndCall" ): TypedContractMethod< [newImplementation: AddressLike, data: BytesLike], [void], "payable" >; getFunction( nameOrSignature: "version" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "xAllocationVoting" ): TypedContractMethod<[], [string], "view">; getEvent( key: "EmissionsAddressUpdated" ): TypedContractEvent< EmissionsAddressUpdatedEvent.InputTuple, EmissionsAddressUpdatedEvent.OutputTuple, EmissionsAddressUpdatedEvent.OutputObject >; getEvent( key: "GMVoteRegistered" ): TypedContractEvent< GMVoteRegisteredEvent.InputTuple, GMVoteRegisteredEvent.OutputTuple, GMVoteRegisteredEvent.OutputObject >; getEvent( key: "GalaxyMemberAddressUpdated" ): TypedContractEvent< GalaxyMemberAddressUpdatedEvent.InputTuple, GalaxyMemberAddressUpdatedEvent.OutputTuple, GalaxyMemberAddressUpdatedEvent.OutputObject >; getEvent( key: "Initialized" ): TypedContractEvent< InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject >; getEvent( key: "LevelToMultiplierPending" ): TypedContractEvent< LevelToMultiplierPendingEvent.InputTuple, LevelToMultiplierPendingEvent.OutputTuple, LevelToMultiplierPendingEvent.OutputObject >; getEvent( key: "LevelToMultiplierSet" ): TypedContractEvent< LevelToMultiplierSetEvent.InputTuple, LevelToMultiplierSetEvent.OutputTuple, LevelToMultiplierSetEvent.OutputObject >; getEvent( key: "QuadraticRewardingToggled" ): TypedContractEvent< QuadraticRewardingToggledEvent.InputTuple, QuadraticRewardingToggledEvent.OutputTuple, QuadraticRewardingToggledEvent.OutputObject >; getEvent( key: "RelayerFeeTaken" ): TypedContractEvent< RelayerFeeTakenEvent.InputTuple, RelayerFeeTakenEvent.OutputTuple, RelayerFeeTakenEvent.OutputObject >; getEvent( key: "RelayerRewardsPoolAddressUpdated" ): TypedContractEvent< RelayerRewardsPoolAddressUpdatedEvent.InputTuple, RelayerRewardsPoolAddressUpdatedEvent.OutputTuple, RelayerRewardsPoolAddressUpdatedEvent.OutputObject >; getEvent( key: "RewardClaimed" ): TypedContractEvent< RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject >; getEvent( key: "RewardClaimedV2" ): TypedContractEvent< RewardClaimedV2Event.InputTuple, RewardClaimedV2Event.OutputTuple, RewardClaimedV2Event.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: "Upgraded" ): TypedContractEvent< UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject >; getEvent( key: "VoteRegistered" ): TypedContractEvent< VoteRegisteredEvent.InputTuple, VoteRegisteredEvent.OutputTuple, VoteRegisteredEvent.OutputObject >; getEvent( key: "XAllocationVotingAddressUpdated" ): TypedContractEvent< XAllocationVotingAddressUpdatedEvent.InputTuple, XAllocationVotingAddressUpdatedEvent.OutputTuple, XAllocationVotingAddressUpdatedEvent.OutputObject >; filters: { "EmissionsAddressUpdated(address,address)": TypedContractEvent< EmissionsAddressUpdatedEvent.InputTuple, EmissionsAddressUpdatedEvent.OutputTuple, EmissionsAddressUpdatedEvent.OutputObject >; EmissionsAddressUpdated: TypedContractEvent< EmissionsAddressUpdatedEvent.InputTuple, EmissionsAddressUpdatedEvent.OutputTuple, EmissionsAddressUpdatedEvent.OutputObject >; "GMVoteRegistered(uint256,uint256,uint256,uint256)": TypedContractEvent< GMVoteRegisteredEvent.InputTuple, GMVoteRegisteredEvent.OutputTuple, GMVoteRegisteredEvent.OutputObject >; GMVoteRegistered: TypedContractEvent< GMVoteRegisteredEvent.InputTuple, GMVoteRegisteredEvent.OutputTuple, GMVoteRegisteredEvent.OutputObject >; "GalaxyMemberAddressUpdated(address,address)": TypedContractEvent< GalaxyMemberAddressUpdatedEvent.InputTuple, GalaxyMemberAddressUpdatedEvent.OutputTuple, GalaxyMemberAddressUpdatedEvent.OutputObject >; GalaxyMemberAddressUpdated: TypedContractEvent< GalaxyMemberAddressUpdatedEvent.InputTuple, GalaxyMemberAddressUpdatedEvent.OutputTuple, GalaxyMemberAddressUpdatedEvent.OutputObject >; "Initialized(uint64)": TypedContractEvent< InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject >; Initialized: TypedContractEvent< InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject >; "LevelToMultiplierPending(uint256,uint256)": TypedContractEvent< LevelToMultiplierPendingEvent.InputTuple, LevelToMultiplierPendingEvent.OutputTuple, LevelToMultiplierPendingEvent.OutputObject >; LevelToMultiplierPending: TypedContractEvent< LevelToMultiplierPendingEvent.InputTuple, LevelToMultiplierPendingEvent.OutputTuple, LevelToMultiplierPendingEvent.OutputObject >; "LevelToMultiplierSet(uint256,uint256)": TypedContractEvent< LevelToMultiplierSetEvent.InputTuple, LevelToMultiplierSetEvent.OutputTuple, LevelToMultiplierSetEvent.OutputObject >; LevelToMultiplierSet: TypedContractEvent< LevelToMultiplierSetEvent.InputTuple, LevelToMultiplierSetEvent.OutputTuple, LevelToMultiplierSetEvent.OutputObject >; "QuadraticRewardingToggled(bool)": TypedContractEvent< QuadraticRewardingToggledEvent.InputTuple, QuadraticRewardingToggledEvent.OutputTuple, QuadraticRewardingToggledEvent.OutputObject >; QuadraticRewardingToggled: TypedContractEvent< QuadraticRewardingToggledEvent.InputTuple, QuadraticRewardingToggledEvent.OutputTuple, QuadraticRewardingToggledEvent.OutputObject >; "RelayerFeeTaken(address,uint256,uint256,address)": TypedContractEvent< RelayerFeeTakenEvent.InputTuple, RelayerFeeTakenEvent.OutputTuple, RelayerFeeTakenEvent.OutputObject >; RelayerFeeTaken: TypedContractEvent< RelayerFeeTakenEvent.InputTuple, RelayerFeeTakenEvent.OutputTuple, RelayerFeeTakenEvent.OutputObject >; "RelayerRewardsPoolAddressUpdated(address,address)": TypedContractEvent< RelayerRewardsPoolAddressUpdatedEvent.InputTuple, RelayerRewardsPoolAddressUpdatedEvent.OutputTuple, RelayerRewardsPoolAddressUpdatedEvent.OutputObject >; RelayerRewardsPoolAddressUpdated: TypedContractEvent< RelayerRewardsPoolAddressUpdatedEvent.InputTuple, RelayerRewardsPoolAddressUpdatedEvent.OutputTuple, RelayerRewardsPoolAddressUpdatedEvent.OutputObject >; "RewardClaimed(uint256,address,uint256)": TypedContractEvent< RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject >; RewardClaimed: TypedContractEvent< RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject >; "RewardClaimedV2(uint256,address,uint256,uint256)": TypedContractEvent< RewardClaimedV2Event.InputTuple, RewardClaimedV2Event.OutputTuple, RewardClaimedV2Event.OutputObject >; RewardClaimedV2: TypedContractEvent< RewardClaimedV2Event.InputTuple, RewardClaimedV2Event.OutputTuple, RewardClaimedV2Event.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 >; "Upgraded(address)": TypedContractEvent< UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject >; Upgraded: TypedContractEvent< UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject >; "VoteRegistered(uint256,address,uint256,uint256)": TypedContractEvent< VoteRegisteredEvent.InputTuple, VoteRegisteredEvent.OutputTuple, VoteRegisteredEvent.OutputObject >; VoteRegistered: TypedContractEvent< VoteRegisteredEvent.InputTuple, VoteRegisteredEvent.OutputTuple, VoteRegisteredEvent.OutputObject >; "XAllocationVotingAddressUpdated(address)": TypedContractEvent< XAllocationVotingAddressUpdatedEvent.InputTuple, XAllocationVotingAddressUpdatedEvent.OutputTuple, XAllocationVotingAddressUpdatedEvent.OutputObject >; XAllocationVotingAddressUpdated: TypedContractEvent< XAllocationVotingAddressUpdatedEvent.InputTuple, XAllocationVotingAddressUpdatedEvent.OutputTuple, XAllocationVotingAddressUpdatedEvent.OutputObject >; }; }