ufomarketplace-sdk
Version:
SDK to interact with set ufo marketplace contracts
127 lines • 3.34 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.AggregatorV3Interface__factory = void 0;
const ethers_1 = require("ethers");
class AggregatorV3Interface__factory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.AggregatorV3Interface__factory = AggregatorV3Interface__factory;
const _abi = [
{
inputs: [],
name: "decimals",
outputs: [
{
internalType: "uint8",
name: "",
type: "uint8",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "description",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint80",
name: "_roundId",
type: "uint80",
},
],
name: "getRoundData",
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",
},
{
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",
},
{
inputs: [],
name: "version",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=AggregatorV3Interface__factory.js.map