UNPKG

baluni-contracts

Version:
140 lines (124 loc) 3.87 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 IBaluniV1HyperUniProxyInterface extends Interface { getFunction( nameOrSignature: "clearance" | "deposit" | "getDepositAmount" ): FunctionFragment; encodeFunctionData(functionFragment: "clearance", values?: undefined): string; encodeFunctionData( functionFragment: "deposit", values: [BigNumberish, BigNumberish, AddressLike, AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "getDepositAmount", values: [AddressLike, AddressLike, BigNumberish] ): string; decodeFunctionResult(functionFragment: "clearance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; decodeFunctionResult( functionFragment: "getDepositAmount", data: BytesLike ): Result; } export interface IBaluniV1HyperUniProxy extends BaseContract { connect(runner?: ContractRunner | null): IBaluniV1HyperUniProxy; waitForDeployment(): Promise<this>; interface: IBaluniV1HyperUniProxyInterface; 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>; clearance: TypedContractMethod<[], [string], "nonpayable">; deposit: TypedContractMethod< [ deposit0: BigNumberish, deposit1: BigNumberish, to: AddressLike, from: AddressLike, pos: AddressLike ], [bigint], "nonpayable" >; getDepositAmount: TypedContractMethod< [pos: AddressLike, token: AddressLike, _deposit: BigNumberish], [[bigint, bigint] & { amountStart: bigint; amountEnd: bigint }], "view" >; getFunction<T extends ContractMethod = ContractMethod>( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "clearance" ): TypedContractMethod<[], [string], "nonpayable">; getFunction( nameOrSignature: "deposit" ): TypedContractMethod< [ deposit0: BigNumberish, deposit1: BigNumberish, to: AddressLike, from: AddressLike, pos: AddressLike ], [bigint], "nonpayable" >; getFunction( nameOrSignature: "getDepositAmount" ): TypedContractMethod< [pos: AddressLike, token: AddressLike, _deposit: BigNumberish], [[bigint, bigint] & { amountStart: bigint; amountEnd: bigint }], "view" >; filters: {}; }