mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
43 lines
847 B
TypeScript
43 lines
847 B
TypeScript
/* Generated by ts-generator ver. 0.0.8 */
|
|
/* tslint:disable */
|
|
|
|
import { Contract, Signer } from "ethers";
|
|
import { Provider } from "ethers/providers";
|
|
|
|
import { ChainlinkUsdethOracleI } from "./ChainlinkUsdethOracleI";
|
|
|
|
export class ChainlinkUsdethOracleIFactory {
|
|
static connect(
|
|
address: string,
|
|
signerOrProvider: Signer | Provider
|
|
): ChainlinkUsdethOracleI {
|
|
return new Contract(
|
|
address,
|
|
_abi,
|
|
signerOrProvider
|
|
) as ChainlinkUsdethOracleI;
|
|
}
|
|
}
|
|
|
|
const _abi = [
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "int256",
|
|
name: "current",
|
|
type: "int256"
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "answerId",
|
|
type: "uint256"
|
|
}
|
|
],
|
|
name: "AnswerUpdated",
|
|
type: "event"
|
|
}
|
|
];
|