/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, BaseContract, ContractTransaction, Overrides, PayableOverrides, CallOverrides, } from "ethers"; import { BytesLike } from "@ethersproject/bytes"; import { Listener, Provider } from "@ethersproject/providers"; import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; interface VTreasuryInterface extends ethers.utils.Interface { functions: { "owner()": FunctionFragment; "renounceOwnership()": FunctionFragment; "transferOwnership(address)": FunctionFragment; "withdrawTreasuryBEP20(address,uint256,address)": FunctionFragment; "withdrawTreasuryBNB(uint256,address)": FunctionFragment; }; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData( functionFragment: "renounceOwnership", values?: undefined ): string; encodeFunctionData( functionFragment: "transferOwnership", values: [string] ): string; encodeFunctionData( functionFragment: "withdrawTreasuryBEP20", values: [string, BigNumberish, string] ): string; encodeFunctionData( functionFragment: "withdrawTreasuryBNB", values: [BigNumberish, string] ): string; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult( functionFragment: "renounceOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "transferOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "withdrawTreasuryBEP20", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "withdrawTreasuryBNB", data: BytesLike ): Result; events: { "OwnershipTransferred(address,address)": EventFragment; "WithdrawTreasuryBEP20(address,uint256,address)": EventFragment; "WithdrawTreasuryBNB(uint256,address)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; getEvent(nameOrSignatureOrTopic: "WithdrawTreasuryBEP20"): EventFragment; getEvent(nameOrSignatureOrTopic: "WithdrawTreasuryBNB"): EventFragment; } export type OwnershipTransferredEvent = TypedEvent< [string, string] & { previousOwner: string; newOwner: string } >; export type WithdrawTreasuryBEP20Event = TypedEvent< [string, BigNumber, string] & { tokenAddress: string; withdrawAmount: BigNumber; withdrawAddress: string; } >; export type WithdrawTreasuryBNBEvent = TypedEvent< [BigNumber, string] & { withdrawAmount: BigNumber; withdrawAddress: string } >; export class VTreasury extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; listeners, EventArgsObject>( eventFilter?: TypedEventFilter ): Array>; off, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; on, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; once, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; removeListener, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; removeAllListeners, EventArgsObject>( eventFilter: TypedEventFilter ): this; listeners(eventName?: string): Array; off(eventName: string, listener: Listener): this; on(eventName: string, listener: Listener): this; once(eventName: string, listener: Listener): this; removeListener(eventName: string, listener: Listener): this; removeAllListeners(eventName?: string): this; queryFilter, EventArgsObject>( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; interface: VTreasuryInterface; functions: { owner(overrides?: CallOverrides): Promise<[string]>; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBEP20( tokenAddress: string, withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBNB( withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; owner(overrides?: CallOverrides): Promise; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBEP20( tokenAddress: string, withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBNB( withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; callStatic: { owner(overrides?: CallOverrides): Promise; renounceOwnership(overrides?: CallOverrides): Promise; transferOwnership( newOwner: string, overrides?: CallOverrides ): Promise; withdrawTreasuryBEP20( tokenAddress: string, withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: CallOverrides ): Promise; withdrawTreasuryBNB( withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: CallOverrides ): Promise; }; filters: { "OwnershipTransferred(address,address)"( previousOwner?: string | null, newOwner?: string | null ): TypedEventFilter< [string, string], { previousOwner: string; newOwner: string } >; OwnershipTransferred( previousOwner?: string | null, newOwner?: string | null ): TypedEventFilter< [string, string], { previousOwner: string; newOwner: string } >; "WithdrawTreasuryBEP20(address,uint256,address)"( tokenAddress?: null, withdrawAmount?: null, withdrawAddress?: null ): TypedEventFilter< [string, BigNumber, string], { tokenAddress: string; withdrawAmount: BigNumber; withdrawAddress: string; } >; WithdrawTreasuryBEP20( tokenAddress?: null, withdrawAmount?: null, withdrawAddress?: null ): TypedEventFilter< [string, BigNumber, string], { tokenAddress: string; withdrawAmount: BigNumber; withdrawAddress: string; } >; "WithdrawTreasuryBNB(uint256,address)"( withdrawAmount?: null, withdrawAddress?: null ): TypedEventFilter< [BigNumber, string], { withdrawAmount: BigNumber; withdrawAddress: string } >; WithdrawTreasuryBNB( withdrawAmount?: null, withdrawAddress?: null ): TypedEventFilter< [BigNumber, string], { withdrawAmount: BigNumber; withdrawAddress: string } >; }; estimateGas: { owner(overrides?: CallOverrides): Promise; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBEP20( tokenAddress: string, withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBNB( withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; populateTransaction: { owner(overrides?: CallOverrides): Promise; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBEP20( tokenAddress: string, withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: Overrides & { from?: string | Promise } ): Promise; withdrawTreasuryBNB( withdrawAmount: BigNumberish, withdrawAddress: string, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; }