@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
68 lines (53 loc) • 2.03 kB
TypeScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
} from "ethers";
import { Contract, ContractTransaction } from "@ethersproject/contracts";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
interface IPriceOracleEventsInterface extends ethers.utils.Interface {
functions: {};
events: {
"AssetPriceUpdated(address,uint256,uint256)": EventFragment;
"DerivedAssetSourceUpdated(address,uint256,address,uint256,uint256,uint8)": EventFragment;
"EthPriceUpdated(uint256,uint256)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "AssetPriceUpdated"): EventFragment;
getEvent(nameOrSignatureOrTopic: "DerivedAssetSourceUpdated"): EventFragment;
getEvent(nameOrSignatureOrTopic: "EthPriceUpdated"): EventFragment;
}
export class IPriceOracleEvents 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: IPriceOracleEventsInterface;
functions: {};
callStatic: {};
filters: {
AssetPriceUpdated(asset: null, price: null, timestamp: null): EventFilter;
DerivedAssetSourceUpdated(
asset: string | null,
index: null,
underlyingSource: string | null,
underlyingPrice: null,
timestamp: null,
sourceType: null
): EventFilter;
EthPriceUpdated(price: null, timestamp: null): EventFilter;
};
estimateGas: {};
populateTransaction: {};
}