@augumented-finance/protocol-v1
Version:
Augmented Protocol smart contracts
106 lines • 2.6 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IExtendedPriceAggregatorFactory = void 0;
const ethers_1 = require("ethers");
class IExtendedPriceAggregatorFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IExtendedPriceAggregatorFactory = IExtendedPriceAggregatorFactory;
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "int256",
name: "current",
type: "int256",
},
{
indexed: true,
internalType: "uint256",
name: "roundId",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
],
name: "AnswerUpdated",
type: "event",
},
{
inputs: [],
name: "getPlatformId",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getSubTokens",
outputs: [
{
internalType: "address[]",
name: "",
type: "address[]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getToken",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getTokenType",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "latestAnswer",
outputs: [
{
internalType: "int256",
name: "",
type: "int256",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=IExtendedPriceAggregatorFactory.js.map