@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
206 lines (176 loc) • 4.77 kB
TypeScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
} from "ethers";
import {
Contract,
ContractTransaction,
CallOverrides,
} from "@ethersproject/contracts";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
interface ILockedUnderlyingBalanceInterface extends ethers.utils.Interface {
functions: {
"balanceOfUnderlying(address)": FunctionFragment;
"balanceOfUnderlyingAndExpiry(address)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "balanceOfUnderlying",
values: [string]
): string;
encodeFunctionData(
functionFragment: "balanceOfUnderlyingAndExpiry",
values: [string]
): string;
decodeFunctionResult(
functionFragment: "balanceOfUnderlying",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "balanceOfUnderlyingAndExpiry",
data: BytesLike
): Result;
events: {};
}
export class ILockedUnderlyingBalance extends Contract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
on(event: EventFilter | string, listener: Listener): this;
once(event: EventFilter | string, listener: Listener): this;
addListener(eventName: EventFilter | string, listener: Listener): this;
removeAllListeners(eventName: EventFilter | string): this;
removeListener(eventName: any, listener: Listener): this;
interface: ILockedUnderlyingBalanceInterface;
functions: {
balanceOfUnderlying(
account: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"balanceOfUnderlying(address)"(
account: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
balanceOfUnderlyingAndExpiry(
account: string,
overrides?: CallOverrides
): Promise<{
underlying: BigNumber;
availableSince: number;
0: BigNumber;
1: number;
}>;
"balanceOfUnderlyingAndExpiry(address)"(
account: string,
overrides?: CallOverrides
): Promise<{
underlying: BigNumber;
availableSince: number;
0: BigNumber;
1: number;
}>;
};
balanceOfUnderlying(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"balanceOfUnderlying(address)"(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
balanceOfUnderlyingAndExpiry(
account: string,
overrides?: CallOverrides
): Promise<{
underlying: BigNumber;
availableSince: number;
0: BigNumber;
1: number;
}>;
"balanceOfUnderlyingAndExpiry(address)"(
account: string,
overrides?: CallOverrides
): Promise<{
underlying: BigNumber;
availableSince: number;
0: BigNumber;
1: number;
}>;
callStatic: {
balanceOfUnderlying(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"balanceOfUnderlying(address)"(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
balanceOfUnderlyingAndExpiry(
account: string,
overrides?: CallOverrides
): Promise<{
underlying: BigNumber;
availableSince: number;
0: BigNumber;
1: number;
}>;
"balanceOfUnderlyingAndExpiry(address)"(
account: string,
overrides?: CallOverrides
): Promise<{
underlying: BigNumber;
availableSince: number;
0: BigNumber;
1: number;
}>;
};
filters: {};
estimateGas: {
balanceOfUnderlying(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"balanceOfUnderlying(address)"(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
balanceOfUnderlyingAndExpiry(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"balanceOfUnderlyingAndExpiry(address)"(
account: string,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
balanceOfUnderlying(
account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"balanceOfUnderlying(address)"(
account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
balanceOfUnderlyingAndExpiry(
account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"balanceOfUnderlyingAndExpiry(address)"(
account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}