@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
145 lines (128 loc) • 3.97 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumberish,
BytesLike,
FunctionFragment,
Result,
Interface,
ContractRunner,
ContractMethod,
Listener,
} from "ethers";
import type {
TypedContractEvent,
TypedDeferredTopicFilter,
TypedEventLog,
TypedListener,
TypedContractMethod,
} from "../../../common";
export interface RoundEarningsSettingsUtilsInterface extends Interface {
getFunction(
nameOrSignature:
| "appSharesCap"
| "baseAllocationPercentage"
| "getRoundAppSharesCap"
| "getRoundBaseAllocationPercentage"
): FunctionFragment;
encodeFunctionData(
functionFragment: "appSharesCap",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "baseAllocationPercentage",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getRoundAppSharesCap",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "getRoundBaseAllocationPercentage",
values: [BigNumberish]
): string;
decodeFunctionResult(
functionFragment: "appSharesCap",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "baseAllocationPercentage",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getRoundAppSharesCap",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getRoundBaseAllocationPercentage",
data: BytesLike
): Result;
}
export interface RoundEarningsSettingsUtils extends BaseContract {
connect(runner?: ContractRunner | null): RoundEarningsSettingsUtils;
waitForDeployment(): Promise<this>;
interface: RoundEarningsSettingsUtilsInterface;
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>;
appSharesCap: TypedContractMethod<[], [bigint], "view">;
baseAllocationPercentage: TypedContractMethod<[], [bigint], "view">;
getRoundAppSharesCap: TypedContractMethod<
[roundId: BigNumberish],
[bigint],
"view"
>;
getRoundBaseAllocationPercentage: TypedContractMethod<
[roundId: BigNumberish],
[bigint],
"view"
>;
getFunction<T extends ContractMethod = ContractMethod>(
key: string | FunctionFragment
): T;
getFunction(
nameOrSignature: "appSharesCap"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "baseAllocationPercentage"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getRoundAppSharesCap"
): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
getFunction(
nameOrSignature: "getRoundBaseAllocationPercentage"
): TypedContractMethod<[roundId: BigNumberish], [bigint], "view">;
filters: {};
}