@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
1,239 lines (1,169 loc) • 32.8 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 interface X2EarnRewardsPoolV6Interface extends Interface {
getFunction(
nameOrSignature:
| "CONTRACTS_ADDRESS_MANAGER_ROLE"
| "DEFAULT_ADMIN_ROLE"
| "IMPACT_KEY_MANAGER_ROLE"
| "UPGRADER_ROLE"
| "UPGRADE_INTERFACE_VERSION"
| "addImpactKey"
| "availableFunds"
| "b3tr"
| "buildProof"
| "deposit"
| "distributeReward"
| "distributeRewardDeprecated"
| "distributeRewardWithProof"
| "distributeRewardWithProofAndMetadata"
| "getAllowedImpactKeys"
| "getRoleAdmin"
| "grantRole"
| "hasRole"
| "initialize"
| "initializeV2"
| "initializeV3"
| "onERC1155BatchReceived"
| "onERC1155Received"
| "onERC721Received"
| "proxiableUUID"
| "removeImpactKey"
| "renounceRole"
| "revokeRole"
| "setVeBetterPassport"
| "setX2EarnApps"
| "supportsInterface"
| "upgradeToAndCall"
| "veBetterPassport"
| "version"
| "withdraw"
| "x2EarnApps"
): FunctionFragment;
getEvent(
nameOrSignatureOrTopic:
| "Initialized"
| "NewDeposit"
| "RegisterActionFailed"
| "RewardDistributed"
| "RewardMetadata"
| "RoleAdminChanged"
| "RoleGranted"
| "RoleRevoked"
| "TeamWithdrawal"
| "Upgraded"
): EventFragment;
encodeFunctionData(
functionFragment: "CONTRACTS_ADDRESS_MANAGER_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "DEFAULT_ADMIN_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "IMPACT_KEY_MANAGER_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "UPGRADER_ROLE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "UPGRADE_INTERFACE_VERSION",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "addImpactKey",
values: [string]
): string;
encodeFunctionData(
functionFragment: "availableFunds",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "b3tr", values?: undefined): string;
encodeFunctionData(
functionFragment: "buildProof",
values: [string[], string[], string[], BigNumberish[], string]
): string;
encodeFunctionData(
functionFragment: "deposit",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "distributeReward",
values: [BytesLike, BigNumberish, AddressLike, string]
): string;
encodeFunctionData(
functionFragment: "distributeRewardDeprecated",
values: [BytesLike, BigNumberish, AddressLike, string]
): string;
encodeFunctionData(
functionFragment: "distributeRewardWithProof",
values: [
BytesLike,
BigNumberish,
AddressLike,
string[],
string[],
string[],
BigNumberish[],
string
]
): string;
encodeFunctionData(
functionFragment: "distributeRewardWithProofAndMetadata",
values: [
BytesLike,
BigNumberish,
AddressLike,
string[],
string[],
string[],
BigNumberish[],
string,
string
]
): string;
encodeFunctionData(
functionFragment: "getAllowedImpactKeys",
values?: undefined
): 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: [AddressLike, AddressLike, AddressLike, AddressLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "initializeV2",
values: [AddressLike, string[]]
): string;
encodeFunctionData(
functionFragment: "initializeV3",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "onERC1155BatchReceived",
values: [
AddressLike,
AddressLike,
BigNumberish[],
BigNumberish[],
BytesLike
]
): string;
encodeFunctionData(
functionFragment: "onERC1155Received",
values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "onERC721Received",
values: [AddressLike, AddressLike, BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "proxiableUUID",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "removeImpactKey",
values: [string]
): string;
encodeFunctionData(
functionFragment: "renounceRole",
values: [BytesLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "revokeRole",
values: [BytesLike, AddressLike]
): string;
encodeFunctionData(
functionFragment: "setVeBetterPassport",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "setX2EarnApps",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "supportsInterface",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "upgradeToAndCall",
values: [AddressLike, BytesLike]
): string;
encodeFunctionData(
functionFragment: "veBetterPassport",
values?: undefined
): string;
encodeFunctionData(functionFragment: "version", values?: undefined): string;
encodeFunctionData(
functionFragment: "withdraw",
values: [BigNumberish, BytesLike, string]
): string;
encodeFunctionData(
functionFragment: "x2EarnApps",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "CONTRACTS_ADDRESS_MANAGER_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "DEFAULT_ADMIN_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "IMPACT_KEY_MANAGER_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "UPGRADER_ROLE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "UPGRADE_INTERFACE_VERSION",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "addImpactKey",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "availableFunds",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "b3tr", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "buildProof", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "distributeReward",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "distributeRewardDeprecated",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "distributeRewardWithProof",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "distributeRewardWithProofAndMetadata",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getAllowedImpactKeys",
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: "initializeV2",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "initializeV3",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "onERC1155BatchReceived",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "onERC1155Received",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "onERC721Received",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proxiableUUID",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "removeImpactKey",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "renounceRole",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setVeBetterPassport",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setX2EarnApps",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "supportsInterface",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "upgradeToAndCall",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "veBetterPassport",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "x2EarnApps", data: BytesLike): Result;
}
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 NewDepositEvent {
export type InputTuple = [
amount: BigNumberish,
appId: BytesLike,
depositor: AddressLike
];
export type OutputTuple = [amount: bigint, appId: string, depositor: string];
export interface OutputObject {
amount: bigint;
appId: string;
depositor: 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 RegisterActionFailedEvent {
export type InputTuple = [reason: string, lowLevelData: BytesLike];
export type OutputTuple = [reason: string, lowLevelData: string];
export interface OutputObject {
reason: string;
lowLevelData: 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 RewardDistributedEvent {
export type InputTuple = [
amount: BigNumberish,
appId: BytesLike,
receiver: AddressLike,
proof: string,
distributor: AddressLike
];
export type OutputTuple = [
amount: bigint,
appId: string,
receiver: string,
proof: string,
distributor: string
];
export interface OutputObject {
amount: bigint;
appId: string;
receiver: string;
proof: string;
distributor: 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 RewardMetadataEvent {
export type InputTuple = [
amount: BigNumberish,
appId: BytesLike,
receiver: AddressLike,
metadata: string,
distributor: AddressLike
];
export type OutputTuple = [
amount: bigint,
appId: string,
receiver: string,
metadata: string,
distributor: string
];
export interface OutputObject {
amount: bigint;
appId: string;
receiver: string;
metadata: string;
distributor: 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 TeamWithdrawalEvent {
export type InputTuple = [
amount: BigNumberish,
appId: BytesLike,
teamWallet: AddressLike,
withdrawer: AddressLike,
reason: string
];
export type OutputTuple = [
amount: bigint,
appId: string,
teamWallet: string,
withdrawer: string,
reason: string
];
export interface OutputObject {
amount: bigint;
appId: string;
teamWallet: string;
withdrawer: string;
reason: 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 X2EarnRewardsPoolV6 extends BaseContract {
connect(runner?: ContractRunner | null): X2EarnRewardsPoolV6;
waitForDeployment(): Promise<this>;
interface: X2EarnRewardsPoolV6Interface;
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">;
IMPACT_KEY_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
UPGRADER_ROLE: TypedContractMethod<[], [string], "view">;
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
addImpactKey: TypedContractMethod<[newKey: string], [void], "nonpayable">;
availableFunds: TypedContractMethod<[appId: BytesLike], [bigint], "view">;
b3tr: TypedContractMethod<[], [string], "view">;
buildProof: TypedContractMethod<
[
proofTypes: string[],
proofValues: string[],
impactCodes: string[],
impactValues: BigNumberish[],
description: string
],
[string],
"view"
>;
deposit: TypedContractMethod<
[amount: BigNumberish, appId: BytesLike],
[boolean],
"nonpayable"
>;
distributeReward: TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
arg3: string
],
[void],
"nonpayable"
>;
distributeRewardDeprecated: TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
proof: string
],
[void],
"nonpayable"
>;
distributeRewardWithProof: TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
proofTypes: string[],
proofValues: string[],
impactCodes: string[],
impactValues: BigNumberish[],
description: string
],
[void],
"nonpayable"
>;
distributeRewardWithProofAndMetadata: TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
proofTypes: string[],
proofValues: string[],
impactCodes: string[],
impactValues: BigNumberish[],
description: string,
metadata: string
],
[void],
"nonpayable"
>;
getAllowedImpactKeys: TypedContractMethod<[], [string[]], "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<
[
_admin: AddressLike,
_contractsManagerAdmin: AddressLike,
_upgrader: AddressLike,
_b3tr: AddressLike,
_x2EarnApps: AddressLike
],
[void],
"nonpayable"
>;
initializeV2: TypedContractMethod<
[_impactKeyManager: AddressLike, _initialImpactKeys: string[]],
[void],
"nonpayable"
>;
initializeV3: TypedContractMethod<
[_veBetterPassport: AddressLike],
[void],
"nonpayable"
>;
onERC1155BatchReceived: TypedContractMethod<
[
arg0: AddressLike,
arg1: AddressLike,
arg2: BigNumberish[],
arg3: BigNumberish[],
arg4: BytesLike
],
[string],
"nonpayable"
>;
onERC1155Received: TypedContractMethod<
[
arg0: AddressLike,
arg1: AddressLike,
arg2: BigNumberish,
arg3: BigNumberish,
arg4: BytesLike
],
[string],
"nonpayable"
>;
onERC721Received: TypedContractMethod<
[arg0: AddressLike, arg1: AddressLike, arg2: BigNumberish, arg3: BytesLike],
[string],
"nonpayable"
>;
proxiableUUID: TypedContractMethod<[], [string], "view">;
removeImpactKey: TypedContractMethod<
[keyToRemove: string],
[void],
"nonpayable"
>;
renounceRole: TypedContractMethod<
[role: BytesLike, callerConfirmation: AddressLike],
[void],
"nonpayable"
>;
revokeRole: TypedContractMethod<
[role: BytesLike, account: AddressLike],
[void],
"nonpayable"
>;
setVeBetterPassport: TypedContractMethod<
[_veBetterPassport: AddressLike],
[void],
"nonpayable"
>;
setX2EarnApps: TypedContractMethod<
[_x2EarnApps: AddressLike],
[void],
"nonpayable"
>;
supportsInterface: TypedContractMethod<
[interfaceId: BytesLike],
[boolean],
"view"
>;
upgradeToAndCall: TypedContractMethod<
[newImplementation: AddressLike, data: BytesLike],
[void],
"payable"
>;
veBetterPassport: TypedContractMethod<[], [string], "view">;
version: TypedContractMethod<[], [string], "view">;
withdraw: TypedContractMethod<
[amount: BigNumberish, appId: BytesLike, reason: string],
[void],
"nonpayable"
>;
x2EarnApps: 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: "IMPACT_KEY_MANAGER_ROLE"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "UPGRADER_ROLE"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "UPGRADE_INTERFACE_VERSION"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "addImpactKey"
): TypedContractMethod<[newKey: string], [void], "nonpayable">;
getFunction(
nameOrSignature: "availableFunds"
): TypedContractMethod<[appId: BytesLike], [bigint], "view">;
getFunction(
nameOrSignature: "b3tr"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "buildProof"
): TypedContractMethod<
[
proofTypes: string[],
proofValues: string[],
impactCodes: string[],
impactValues: BigNumberish[],
description: string
],
[string],
"view"
>;
getFunction(
nameOrSignature: "deposit"
): TypedContractMethod<
[amount: BigNumberish, appId: BytesLike],
[boolean],
"nonpayable"
>;
getFunction(
nameOrSignature: "distributeReward"
): TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
arg3: string
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "distributeRewardDeprecated"
): TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
proof: string
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "distributeRewardWithProof"
): TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
proofTypes: string[],
proofValues: string[],
impactCodes: string[],
impactValues: BigNumberish[],
description: string
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "distributeRewardWithProofAndMetadata"
): TypedContractMethod<
[
appId: BytesLike,
amount: BigNumberish,
receiver: AddressLike,
proofTypes: string[],
proofValues: string[],
impactCodes: string[],
impactValues: BigNumberish[],
description: string,
metadata: string
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "getAllowedImpactKeys"
): TypedContractMethod<[], [string[]], "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<
[
_admin: AddressLike,
_contractsManagerAdmin: AddressLike,
_upgrader: AddressLike,
_b3tr: AddressLike,
_x2EarnApps: AddressLike
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "initializeV2"
): TypedContractMethod<
[_impactKeyManager: AddressLike, _initialImpactKeys: string[]],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "initializeV3"
): TypedContractMethod<
[_veBetterPassport: AddressLike],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "onERC1155BatchReceived"
): TypedContractMethod<
[
arg0: AddressLike,
arg1: AddressLike,
arg2: BigNumberish[],
arg3: BigNumberish[],
arg4: BytesLike
],
[string],
"nonpayable"
>;
getFunction(
nameOrSignature: "onERC1155Received"
): TypedContractMethod<
[
arg0: AddressLike,
arg1: AddressLike,
arg2: BigNumberish,
arg3: BigNumberish,
arg4: BytesLike
],
[string],
"nonpayable"
>;
getFunction(
nameOrSignature: "onERC721Received"
): TypedContractMethod<
[arg0: AddressLike, arg1: AddressLike, arg2: BigNumberish, arg3: BytesLike],
[string],
"nonpayable"
>;
getFunction(
nameOrSignature: "proxiableUUID"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "removeImpactKey"
): TypedContractMethod<[keyToRemove: string], [void], "nonpayable">;
getFunction(
nameOrSignature: "renounceRole"
): TypedContractMethod<
[role: BytesLike, callerConfirmation: AddressLike],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "revokeRole"
): TypedContractMethod<
[role: BytesLike, account: AddressLike],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "setVeBetterPassport"
): TypedContractMethod<
[_veBetterPassport: AddressLike],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "setX2EarnApps"
): TypedContractMethod<[_x2EarnApps: AddressLike], [void], "nonpayable">;
getFunction(
nameOrSignature: "supportsInterface"
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
getFunction(
nameOrSignature: "upgradeToAndCall"
): TypedContractMethod<
[newImplementation: AddressLike, data: BytesLike],
[void],
"payable"
>;
getFunction(
nameOrSignature: "veBetterPassport"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "version"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "withdraw"
): TypedContractMethod<
[amount: BigNumberish, appId: BytesLike, reason: string],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "x2EarnApps"
): TypedContractMethod<[], [string], "view">;
getEvent(
key: "Initialized"
): TypedContractEvent<
InitializedEvent.InputTuple,
InitializedEvent.OutputTuple,
InitializedEvent.OutputObject
>;
getEvent(
key: "NewDeposit"
): TypedContractEvent<
NewDepositEvent.InputTuple,
NewDepositEvent.OutputTuple,
NewDepositEvent.OutputObject
>;
getEvent(
key: "RegisterActionFailed"
): TypedContractEvent<
RegisterActionFailedEvent.InputTuple,
RegisterActionFailedEvent.OutputTuple,
RegisterActionFailedEvent.OutputObject
>;
getEvent(
key: "RewardDistributed"
): TypedContractEvent<
RewardDistributedEvent.InputTuple,
RewardDistributedEvent.OutputTuple,
RewardDistributedEvent.OutputObject
>;
getEvent(
key: "RewardMetadata"
): TypedContractEvent<
RewardMetadataEvent.InputTuple,
RewardMetadataEvent.OutputTuple,
RewardMetadataEvent.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: "TeamWithdrawal"
): TypedContractEvent<
TeamWithdrawalEvent.InputTuple,
TeamWithdrawalEvent.OutputTuple,
TeamWithdrawalEvent.OutputObject
>;
getEvent(
key: "Upgraded"
): TypedContractEvent<
UpgradedEvent.InputTuple,
UpgradedEvent.OutputTuple,
UpgradedEvent.OutputObject
>;
filters: {
"Initialized(uint64)": TypedContractEvent<
InitializedEvent.InputTuple,
InitializedEvent.OutputTuple,
InitializedEvent.OutputObject
>;
Initialized: TypedContractEvent<
InitializedEvent.InputTuple,
InitializedEvent.OutputTuple,
InitializedEvent.OutputObject
>;
"NewDeposit(uint256,bytes32,address)": TypedContractEvent<
NewDepositEvent.InputTuple,
NewDepositEvent.OutputTuple,
NewDepositEvent.OutputObject
>;
NewDeposit: TypedContractEvent<
NewDepositEvent.InputTuple,
NewDepositEvent.OutputTuple,
NewDepositEvent.OutputObject
>;
"RegisterActionFailed(string,bytes)": TypedContractEvent<
RegisterActionFailedEvent.InputTuple,
RegisterActionFailedEvent.OutputTuple,
RegisterActionFailedEvent.OutputObject
>;
RegisterActionFailed: TypedContractEvent<
RegisterActionFailedEvent.InputTuple,
RegisterActionFailedEvent.OutputTuple,
RegisterActionFailedEvent.OutputObject
>;
"RewardDistributed(uint256,bytes32,address,string,address)": TypedContractEvent<
RewardDistributedEvent.InputTuple,
RewardDistributedEvent.OutputTuple,
RewardDistributedEvent.OutputObject
>;
RewardDistributed: TypedContractEvent<
RewardDistributedEvent.InputTuple,
RewardDistributedEvent.OutputTuple,
RewardDistributedEvent.OutputObject
>;
"RewardMetadata(uint256,bytes32,address,string,address)": TypedContractEvent<
RewardMetadataEvent.InputTuple,
RewardMetadataEvent.OutputTuple,
RewardMetadataEvent.OutputObject
>;
RewardMetadata: TypedContractEvent<
RewardMetadataEvent.InputTuple,
RewardMetadataEvent.OutputTuple,
RewardMetadataEvent.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
>;
"TeamWithdrawal(uint256,bytes32,address,address,string)": TypedContractEvent<
TeamWithdrawalEvent.InputTuple,
TeamWithdrawalEvent.OutputTuple,
TeamWithdrawalEvent.OutputObject
>;
TeamWithdrawal: TypedContractEvent<
TeamWithdrawalEvent.InputTuple,
TeamWithdrawalEvent.OutputTuple,
TeamWithdrawalEvent.OutputObject
>;
"Upgraded(address)": TypedContractEvent<
UpgradedEvent.InputTuple,
UpgradedEvent.OutputTuple,
UpgradedEvent.OutputObject
>;
Upgraded: TypedContractEvent<
UpgradedEvent.InputTuple,
UpgradedEvent.OutputTuple,
UpgradedEvent.OutputObject
>;
};
}