/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import { FunctionFragment, Result } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, } from "./common"; export declare namespace IPActionInfoStatic { export type TokenAmountStruct = { token: string; amount: BigNumberish }; export type TokenAmountStructOutput = [string, BigNumber] & { token: string; amount: BigNumber; }; export type UserMarketInfoStruct = { lpBalance: IPActionInfoStatic.TokenAmountStruct; ptBalance: IPActionInfoStatic.TokenAmountStruct; syBalance: IPActionInfoStatic.TokenAmountStruct; unclaimedRewards: IPActionInfoStatic.TokenAmountStruct[]; }; export type UserMarketInfoStructOutput = [ IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput[] ] & { lpBalance: IPActionInfoStatic.TokenAmountStructOutput; ptBalance: IPActionInfoStatic.TokenAmountStructOutput; syBalance: IPActionInfoStatic.TokenAmountStructOutput; unclaimedRewards: IPActionInfoStatic.TokenAmountStructOutput[]; }; export type UserPYInfoStruct = { ptBalance: IPActionInfoStatic.TokenAmountStruct; ytBalance: IPActionInfoStatic.TokenAmountStruct; unclaimedInterest: IPActionInfoStatic.TokenAmountStruct; unclaimedRewards: IPActionInfoStatic.TokenAmountStruct[]; }; export type UserPYInfoStructOutput = [ IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput[] ] & { ptBalance: IPActionInfoStatic.TokenAmountStructOutput; ytBalance: IPActionInfoStatic.TokenAmountStructOutput; unclaimedInterest: IPActionInfoStatic.TokenAmountStructOutput; unclaimedRewards: IPActionInfoStatic.TokenAmountStructOutput[]; }; export type UserSYInfoStruct = { syBalance: IPActionInfoStatic.TokenAmountStruct; unclaimedRewards: IPActionInfoStatic.TokenAmountStruct[]; }; export type UserSYInfoStructOutput = [ IPActionInfoStatic.TokenAmountStructOutput, IPActionInfoStatic.TokenAmountStructOutput[] ] & { syBalance: IPActionInfoStatic.TokenAmountStructOutput; unclaimedRewards: IPActionInfoStatic.TokenAmountStructOutput[]; }; } export interface ActionInfoStaticInterface extends utils.Interface { contractName: "ActionInfoStatic"; functions: { "getPY(address)": FunctionFragment; "getTokensInOut(address)": FunctionFragment; "getUserMarketInfo(address,address)": FunctionFragment; "getUserPYInfo(address,address)": FunctionFragment; "getUserSYInfo(address,address)": FunctionFragment; }; encodeFunctionData(functionFragment: "getPY", values: [string]): string; encodeFunctionData( functionFragment: "getTokensInOut", values: [string] ): string; encodeFunctionData( functionFragment: "getUserMarketInfo", values: [string, string] ): string; encodeFunctionData( functionFragment: "getUserPYInfo", values: [string, string] ): string; encodeFunctionData( functionFragment: "getUserSYInfo", values: [string, string] ): string; decodeFunctionResult(functionFragment: "getPY", data: BytesLike): Result; decodeFunctionResult( functionFragment: "getTokensInOut", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getUserMarketInfo", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getUserPYInfo", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getUserSYInfo", data: BytesLike ): Result; events: {}; } export interface ActionInfoStatic extends BaseContract { contractName: "ActionInfoStatic"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: ActionInfoStaticInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>; listeners( eventFilter?: TypedEventFilter ): Array>; listeners(eventName?: string): Array; removeAllListeners( eventFilter: TypedEventFilter ): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { getPY( py: string, overrides?: CallOverrides ): Promise<[string, string] & { pt: string; yt: string }>; getTokensInOut( token: string, overrides?: CallOverrides ): Promise< [string[], string[]] & { tokensIn: string[]; tokensOut: string[] } >; getUserMarketInfo( market: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserPYInfo( py: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserSYInfo( sy: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; }; getPY( py: string, overrides?: CallOverrides ): Promise<[string, string] & { pt: string; yt: string }>; getTokensInOut( token: string, overrides?: CallOverrides ): Promise< [string[], string[]] & { tokensIn: string[]; tokensOut: string[] } >; getUserMarketInfo( market: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserPYInfo( py: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserSYInfo( sy: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; callStatic: { getPY( py: string, overrides?: CallOverrides ): Promise<[string, string] & { pt: string; yt: string }>; getTokensInOut( token: string, overrides?: CallOverrides ): Promise< [string[], string[]] & { tokensIn: string[]; tokensOut: string[] } >; getUserMarketInfo( market: string, user: string, overrides?: CallOverrides ): Promise; getUserPYInfo( py: string, user: string, overrides?: CallOverrides ): Promise; getUserSYInfo( sy: string, user: string, overrides?: CallOverrides ): Promise; }; filters: {}; estimateGas: { getPY(py: string, overrides?: CallOverrides): Promise; getTokensInOut( token: string, overrides?: CallOverrides ): Promise; getUserMarketInfo( market: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserPYInfo( py: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserSYInfo( sy: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; }; populateTransaction: { getPY(py: string, overrides?: CallOverrides): Promise; getTokensInOut( token: string, overrides?: CallOverrides ): Promise; getUserMarketInfo( market: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserPYInfo( py: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getUserSYInfo( sy: string, user: string, overrides?: Overrides & { from?: string | Promise } ): Promise; }; }