aave-protocol-v2/types/ChainlinkUsdethOracleIFactory.ts

43 lines
847 B
TypeScript
Raw Normal View History

2020-06-03 10:23:21 +00:00
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
2020-08-07 17:29:13 +00:00
import { Contract, Signer } from "ethers";
import { Provider } from "ethers/providers";
2020-06-03 10:23:21 +00:00
2020-08-07 17:29:13 +00:00
import { ChainlinkUsdethOracleI } from "./ChainlinkUsdethOracleI";
2020-06-03 10:23:21 +00:00
export class ChainlinkUsdethOracleIFactory {
2020-08-07 17:29:13 +00:00
static connect(
address: string,
signerOrProvider: Signer | Provider
): ChainlinkUsdethOracleI {
return new Contract(
address,
_abi,
signerOrProvider
) as ChainlinkUsdethOracleI;
2020-06-03 10:23:21 +00:00
}
}
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
2020-08-07 17:29:13 +00:00
internalType: "int256",
name: "current",
type: "int256"
2020-06-03 10:23:21 +00:00
},
{
indexed: true,
2020-08-07 17:29:13 +00:00
internalType: "uint256",
name: "answerId",
type: "uint256"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "AnswerUpdated",
type: "event"
}
2020-06-03 10:23:21 +00:00
];