ufomarketplace-sdk
Version:
SDK to interact with set ufo marketplace contracts
54 lines (49 loc) • 1.13 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { IChainlinkOracle } from "../IChainlinkOracle";
export class IChainlinkOracle__factory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): IChainlinkOracle {
return new Contract(address, _abi, signerOrProvider) as IChainlinkOracle;
}
}
const _abi = [
{
inputs: [],
name: "latestRoundData",
outputs: [
{
internalType: "uint80",
name: "roundId",
type: "uint80",
},
{
internalType: "int256",
name: "answer",
type: "int256",
},
{
internalType: "uint256",
name: "startedAt",
type: "uint256",
},
{
internalType: "uint256",
name: "updatedAt",
type: "uint256",
},
{
internalType: "uint80",
name: "answeredInRound",
type: "uint80",
},
],
stateMutability: "view",
type: "function",
},
];