UNPKG

baluni-contracts

Version:
199 lines (176 loc) 5.82 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "../../common"; export interface IBaluniV1DCAVaultInterface extends Interface { getFunction( nameOrSignature: | "baseAsset" | "deposit" | "lastDeposit" | "pause" | "quoteAsset" | "registry" | "totalValuation" | "unitPrice" | "unpause" | "withdraw" ): FunctionFragment; encodeFunctionData(functionFragment: "baseAsset", values?: undefined): string; encodeFunctionData( functionFragment: "deposit", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "lastDeposit", values?: undefined ): string; encodeFunctionData(functionFragment: "pause", values?: undefined): string; encodeFunctionData( functionFragment: "quoteAsset", values?: undefined ): string; encodeFunctionData(functionFragment: "registry", values?: undefined): string; encodeFunctionData( functionFragment: "totalValuation", values?: undefined ): string; encodeFunctionData(functionFragment: "unitPrice", values?: undefined): string; encodeFunctionData(functionFragment: "unpause", values?: undefined): string; encodeFunctionData( functionFragment: "withdraw", values: [BigNumberish, AddressLike] ): string; decodeFunctionResult(functionFragment: "baseAsset", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; decodeFunctionResult( functionFragment: "lastDeposit", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result; decodeFunctionResult(functionFragment: "quoteAsset", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result; decodeFunctionResult( functionFragment: "totalValuation", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "unitPrice", data: BytesLike): Result; decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result; decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; } export interface IBaluniV1DCAVault extends BaseContract { connect(runner?: ContractRunner | null): IBaluniV1DCAVault; waitForDeployment(): Promise<this>; interface: IBaluniV1DCAVaultInterface; 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>; baseAsset: TypedContractMethod<[], [string], "view">; deposit: TypedContractMethod< [amount: BigNumberish, to: AddressLike], [void], "nonpayable" >; lastDeposit: TypedContractMethod<[], [bigint], "view">; pause: TypedContractMethod<[], [void], "nonpayable">; quoteAsset: TypedContractMethod<[], [string], "view">; registry: TypedContractMethod<[], [string], "view">; totalValuation: TypedContractMethod<[], [bigint], "view">; unitPrice: TypedContractMethod<[], [bigint], "view">; unpause: TypedContractMethod<[], [void], "nonpayable">; withdraw: TypedContractMethod< [shares: BigNumberish, to: AddressLike], [void], "nonpayable" >; getFunction<T extends ContractMethod = ContractMethod>( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "baseAsset" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "deposit" ): TypedContractMethod< [amount: BigNumberish, to: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "lastDeposit" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "pause" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "quoteAsset" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "registry" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "totalValuation" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "unitPrice" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "unpause" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "withdraw" ): TypedContractMethod< [shares: BigNumberish, to: AddressLike], [void], "nonpayable" >; filters: {}; }