@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
1,039 lines (967 loc) • 29 kB
text/typescript
/* 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 declare namespace DBAPool {
export type InitializeV1ParamsStruct = {
admin: AddressLike;
x2EarnApps: AddressLike;
xAllocationPool: AddressLike;
x2earnRewardsPool: AddressLike;
b3tr: AddressLike;
distributionStartRound: BigNumberish;
};
export type InitializeV1ParamsStructOutput = [
admin: string,
x2EarnApps: string,
xAllocationPool: string,
x2earnRewardsPool: string,
b3tr: string,
distributionStartRound: bigint
] & {
admin: string;
x2EarnApps: string;
xAllocationPool: string;
x2earnRewardsPool: string;
b3tr: string;
distributionStartRound: bigint;
};
}
export interface DBAPoolInterface extends Interface {
getFunction(
nameOrSignature:
| "DEFAULT_ADMIN_ROLE"
| "DISTRIBUTOR_ROLE"
| "UPGRADER_ROLE"
| "UPGRADE_INTERFACE_VERSION"
| "b3tr"
| "b3trBalance"
| "canDistributeDBARewards"
| "dbaRoundRewardsForApp"
| "distributeDBARewards"
| "distributionStartRound"
| "fundsForRound"
| "getRoleAdmin"
| "grantRole"
| "hasRole"
| "initialize"
| "initializeV3"
| "isDBARewardsDistributed"
| "meritCapMultiplier"
| "pause"
| "paused"
| "proxiableUUID"
| "renounceRole"
| "revokeRole"
| "seedDBARewardsForApps"
| "setDistributionStartRound"
| "setMeritCapMultiplier"
| "setTreasuryAddress"
| "setX2EarnApps"
| "setX2EarnRewardsPool"
| "setXAllocationPool"
| "supportsInterface"
| "treasuryAddress"
| "unpause"
| "upgradeToAndCall"
| "version"
| "x2EarnApps"
| "x2EarnRewardsPool"
| "xAllocationPool"
): FunctionFragment;
getEvent(
nameOrSignatureOrTopic:
| "FundsDistributedToApp"
| "FundsDistributedToTreasury"
| "Initialized"
| "Paused"
| "RoleAdminChanged"
| "RoleGranted"
| "RoleRevoked"
| "Unpaused"
| "Upgraded"
): EventFragment;
encodeFunctionData(
functionFragment: "DEFAULT_ADMIN_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "DISTRIBUTOR_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "UPGRADER_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "UPGRADE_INTERFACE_VERSION",
values?: undefined
): string;
encodeFunctionData(functionFragment: "b3tr", values?: undefined): string;
encodeFunctionData(
functionFragment: "b3trBalance",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "canDistributeDBARewards",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "dbaRoundRewardsForApp",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "distributeDBARewards",
values: [BigNumberish, BytesLike[]]
): string;
encodeFunctionData(
functionFragment: "distributionStartRound",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "fundsForRound",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "getRoleAdmin",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "grantRole",
values: [BytesLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "hasRole",
values: [BytesLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "initialize",
values: [DBAPool.InitializeV1ParamsStruct]
): string;
encodeFunctionData(
functionFragment: "initializeV3",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "isDBARewardsDistributed",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "meritCapMultiplier",
values?: undefined
): string;
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
encodeFunctionData(
functionFragment: "proxiableUUID",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "renounceRole",
values: [BytesLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "revokeRole",
values: [BytesLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "seedDBARewardsForApps",
values: [BigNumberish[], BytesLike[], BigNumberish[]]
): string;
encodeFunctionData(
functionFragment: "setDistributionStartRound",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setMeritCapMultiplier",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setTreasuryAddress",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "setX2EarnApps",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "setX2EarnRewardsPool",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "setXAllocationPool",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "supportsInterface",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "treasuryAddress",
values?: undefined
): string;
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
encodeFunctionData(
functionFragment: "upgradeToAndCall",
values: [AddressLike, BytesLike]
): string;
encodeFunctionData(functionFragment: "version", values?: undefined): string;
encodeFunctionData(
functionFragment: "x2EarnApps",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "x2EarnRewardsPool",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "xAllocationPool",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "DEFAULT_ADMIN_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "DISTRIBUTOR_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "UPGRADER_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "UPGRADE_INTERFACE_VERSION",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "b3tr", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "b3trBalance",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "canDistributeDBARewards",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "dbaRoundRewardsForApp",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "distributeDBARewards",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "distributionStartRound",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "fundsForRound",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getRoleAdmin",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "initializeV3",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isDBARewardsDistributed",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "meritCapMultiplier",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "proxiableUUID",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "renounceRole",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "seedDBARewardsForApps",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setDistributionStartRound",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setMeritCapMultiplier",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setTreasuryAddress",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setX2EarnApps",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setX2EarnRewardsPool",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setXAllocationPool",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "supportsInterface",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "treasuryAddress",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "upgradeToAndCall",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "x2EarnApps", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "x2EarnRewardsPool",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "xAllocationPool",
data: BytesLike
): Result;
}
export namespace FundsDistributedToAppEvent {
export type InputTuple = [
appId: BytesLike,
amount: BigNumberish,
roundId: BigNumberish
];
export type OutputTuple = [appId: string, amount: bigint, roundId: bigint];
export interface OutputObject {
appId: string;
amount: bigint;
roundId: 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 FundsDistributedToTreasuryEvent {
export type InputTuple = [amount: BigNumberish, roundId: BigNumberish];
export type OutputTuple = [amount: bigint, roundId: bigint];
export interface OutputObject {
amount: bigint;
roundId: 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 PausedEvent {
export type InputTuple = [account: AddressLike];
export type OutputTuple = [account: string];
export interface OutputObject {
account: 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 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 UnpausedEvent {
export type InputTuple = [account: AddressLike];
export type OutputTuple = [account: string];
export interface OutputObject {
account: 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 interface DBAPool extends BaseContract {
connect(runner?: ContractRunner | null): DBAPool;
waitForDeployment(): Promise<this>;
interface: DBAPoolInterface;
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">;
DISTRIBUTOR_ROLE: TypedContractMethod<[], [string], "view">;
UPGRADER_ROLE: TypedContractMethod<[], [string], "view">;
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
b3tr: TypedContractMethod<[], [string], "view">;
b3trBalance: TypedContractMethod<[], [bigint], "view">;
canDistributeDBARewards: TypedContractMethod<
[_roundId: BigNumberish],
[boolean],
"view"
>;
dbaRoundRewardsForApp: TypedContractMethod<
[_roundId: BigNumberish, _appId: BytesLike],
[bigint],
"view"
>;
distributeDBARewards: TypedContractMethod<
[_roundId: BigNumberish, _appIds: BytesLike[]],
[void],
"nonpayable"
>;
distributionStartRound: TypedContractMethod<[], [bigint], "view">;
fundsForRound: TypedContractMethod<
[_roundId: BigNumberish],
[bigint],
"view"
>;
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
grantRole: TypedContractMethod<
[role: BytesLike, account: AddressLike],
[void],
"nonpayable"
>;
hasRole: TypedContractMethod<
[role: BytesLike, account: AddressLike],
[boolean],
"view"
>;
initialize: TypedContractMethod<
[params: DBAPool.InitializeV1ParamsStruct],
[void],
"nonpayable"
>;
initializeV3: TypedContractMethod<
[_treasuryAddress: AddressLike],
[void],
"nonpayable"
>;
isDBARewardsDistributed: TypedContractMethod<
[_roundId: BigNumberish],
[boolean],
"view"
>;
meritCapMultiplier: TypedContractMethod<[], [bigint], "view">;
pause: TypedContractMethod<[], [void], "nonpayable">;
paused: TypedContractMethod<[], [boolean], "view">;
proxiableUUID: TypedContractMethod<[], [string], "view">;
renounceRole: TypedContractMethod<
[role: BytesLike, callerConfirmation: AddressLike],
[void],
"nonpayable"
>;
revokeRole: TypedContractMethod<
[role: BytesLike, account: AddressLike],
[void],
"nonpayable"
>;
seedDBARewardsForApps: TypedContractMethod<
[_roundIds: BigNumberish[], _appIds: BytesLike[], _amounts: BigNumberish[]],
[void],
"nonpayable"
>;
setDistributionStartRound: TypedContractMethod<
[_distributionStartRound: BigNumberish],
[void],
"nonpayable"
>;
setMeritCapMultiplier: TypedContractMethod<
[_meritCapMultiplier: BigNumberish],
[void],
"nonpayable"
>;
setTreasuryAddress: TypedContractMethod<
[_treasuryAddress: AddressLike],
[void],
"nonpayable"
>;
setX2EarnApps: TypedContractMethod<
[_x2EarnApps: AddressLike],
[void],
"nonpayable"
>;
setX2EarnRewardsPool: TypedContractMethod<
[_x2EarnRewardsPool: AddressLike],
[void],
"nonpayable"
>;
setXAllocationPool: TypedContractMethod<
[_xAllocationPool: AddressLike],
[void],
"nonpayable"
>;
supportsInterface: TypedContractMethod<
[interfaceId: BytesLike],
[boolean],
"view"
>;
treasuryAddress: TypedContractMethod<[], [string], "view">;
unpause: TypedContractMethod<[], [void], "nonpayable">;
upgradeToAndCall: TypedContractMethod<
[newImplementation: AddressLike, data: BytesLike],
[void],
"payable"
>;
version: TypedContractMethod<[], [string], "view">;
x2EarnApps: TypedContractMethod<[], [string], "view">;
x2EarnRewardsPool: TypedContractMethod<[], [string], "view">;
xAllocationPool: TypedContractMethod<[], [string], "view">;
getFunction<T extends ContractMethod = ContractMethod>(
key: string | FunctionFragment
): T;
getFunction(
nameOrSignature: "DEFAULT_ADMIN_ROLE"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "DISTRIBUTOR_ROLE"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "UPGRADER_ROLE"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "UPGRADE_INTERFACE_VERSION"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "b3tr"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "b3trBalance"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "canDistributeDBARewards"
): TypedContractMethod<[_roundId: BigNumberish], [boolean], "view">;
getFunction(
nameOrSignature: "dbaRoundRewardsForApp"
): TypedContractMethod<
[_roundId: BigNumberish, _appId: BytesLike],
[bigint],
"view"
>;
getFunction(
nameOrSignature: "distributeDBARewards"
): TypedContractMethod<
[_roundId: BigNumberish, _appIds: BytesLike[]],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "distributionStartRound"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "fundsForRound"
): TypedContractMethod<[_roundId: BigNumberish], [bigint], "view">;
getFunction(
nameOrSignature: "getRoleAdmin"
): TypedContractMethod<[role: BytesLike], [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<
[params: DBAPool.InitializeV1ParamsStruct],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "initializeV3"
): TypedContractMethod<[_treasuryAddress: AddressLike], [void], "nonpayable">;
getFunction(
nameOrSignature: "isDBARewardsDistributed"
): TypedContractMethod<[_roundId: BigNumberish], [boolean], "view">;
getFunction(
nameOrSignature: "meritCapMultiplier"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "pause"
): TypedContractMethod<[], [void], "nonpayable">;
getFunction(
nameOrSignature: "paused"
): TypedContractMethod<[], [boolean], "view">;
getFunction(
nameOrSignature: "proxiableUUID"
): 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: "seedDBARewardsForApps"
): TypedContractMethod<
[_roundIds: BigNumberish[], _appIds: BytesLike[], _amounts: BigNumberish[]],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "setDistributionStartRound"
): TypedContractMethod<
[_distributionStartRound: BigNumberish],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "setMeritCapMultiplier"
): TypedContractMethod<
[_meritCapMultiplier: BigNumberish],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "setTreasuryAddress"
): TypedContractMethod<[_treasuryAddress: AddressLike], [void], "nonpayable">;
getFunction(
nameOrSignature: "setX2EarnApps"
): TypedContractMethod<[_x2EarnApps: AddressLike], [void], "nonpayable">;
getFunction(
nameOrSignature: "setX2EarnRewardsPool"
): TypedContractMethod<
[_x2EarnRewardsPool: AddressLike],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "setXAllocationPool"
): TypedContractMethod<[_xAllocationPool: AddressLike], [void], "nonpayable">;
getFunction(
nameOrSignature: "supportsInterface"
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
getFunction(
nameOrSignature: "treasuryAddress"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "unpause"
): TypedContractMethod<[], [void], "nonpayable">;
getFunction(
nameOrSignature: "upgradeToAndCall"
): TypedContractMethod<
[newImplementation: AddressLike, data: BytesLike],
[void],
"payable"
>;
getFunction(
nameOrSignature: "version"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "x2EarnApps"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "x2EarnRewardsPool"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "xAllocationPool"
): TypedContractMethod<[], [string], "view">;
getEvent(
key: "FundsDistributedToApp"
): TypedContractEvent<
FundsDistributedToAppEvent.InputTuple,
FundsDistributedToAppEvent.OutputTuple,
FundsDistributedToAppEvent.OutputObject
>;
getEvent(
key: "FundsDistributedToTreasury"
): TypedContractEvent<
FundsDistributedToTreasuryEvent.InputTuple,
FundsDistributedToTreasuryEvent.OutputTuple,
FundsDistributedToTreasuryEvent.OutputObject
>;
getEvent(
key: "Initialized"
): TypedContractEvent<
InitializedEvent.InputTuple,
InitializedEvent.OutputTuple,
InitializedEvent.OutputObject
>;
getEvent(
key: "Paused"
): TypedContractEvent<
PausedEvent.InputTuple,
PausedEvent.OutputTuple,
PausedEvent.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: "Unpaused"
): TypedContractEvent<
UnpausedEvent.InputTuple,
UnpausedEvent.OutputTuple,
UnpausedEvent.OutputObject
>;
getEvent(
key: "Upgraded"
): TypedContractEvent<
UpgradedEvent.InputTuple,
UpgradedEvent.OutputTuple,
UpgradedEvent.OutputObject
>;
filters: {
"FundsDistributedToApp(bytes32,uint256,uint256)": TypedContractEvent<
FundsDistributedToAppEvent.InputTuple,
FundsDistributedToAppEvent.OutputTuple,
FundsDistributedToAppEvent.OutputObject
>;
FundsDistributedToApp: TypedContractEvent<
FundsDistributedToAppEvent.InputTuple,
FundsDistributedToAppEvent.OutputTuple,
FundsDistributedToAppEvent.OutputObject
>;
"FundsDistributedToTreasury(uint256,uint256)": TypedContractEvent<
FundsDistributedToTreasuryEvent.InputTuple,
FundsDistributedToTreasuryEvent.OutputTuple,
FundsDistributedToTreasuryEvent.OutputObject
>;
FundsDistributedToTreasury: TypedContractEvent<
FundsDistributedToTreasuryEvent.InputTuple,
FundsDistributedToTreasuryEvent.OutputTuple,
FundsDistributedToTreasuryEvent.OutputObject
>;
"Initialized(uint64)": TypedContractEvent<
InitializedEvent.InputTuple,
InitializedEvent.OutputTuple,
InitializedEvent.OutputObject
>;
Initialized: TypedContractEvent<
InitializedEvent.InputTuple,
InitializedEvent.OutputTuple,
InitializedEvent.OutputObject
>;
"Paused(address)": TypedContractEvent<
PausedEvent.InputTuple,
PausedEvent.OutputTuple,
PausedEvent.OutputObject
>;
Paused: TypedContractEvent<
PausedEvent.InputTuple,
PausedEvent.OutputTuple,
PausedEvent.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
>;
"Unpaused(address)": TypedContractEvent<
UnpausedEvent.InputTuple,
UnpausedEvent.OutputTuple,
UnpausedEvent.OutputObject
>;
Unpaused: TypedContractEvent<
UnpausedEvent.InputTuple,
UnpausedEvent.OutputTuple,
UnpausedEvent.OutputObject
>;
"Upgraded(address)": TypedContractEvent<
UpgradedEvent.InputTuple,
UpgradedEvent.OutputTuple,
UpgradedEvent.OutputObject
>;
Upgraded: TypedContractEvent<
UpgradedEvent.InputTuple,
UpgradedEvent.OutputTuple,
UpgradedEvent.OutputObject
>;
};
}