@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
122 lines • 3.22 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPriceOracleGetterFactory = void 0;
const ethers_1 = require("ethers");
class IPriceOracleGetterFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IPriceOracleGetterFactory = IPriceOracleGetterFactory;
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "asset",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "price",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
],
name: "AssetPriceUpdated",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "asset",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "index",
type: "uint256",
},
{
indexed: true,
internalType: "address",
name: "underlyingSource",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "underlyingPrice",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
{
indexed: false,
internalType: "enum SourceType",
name: "sourceType",
type: "uint8",
},
],
name: "DerivedAssetSourceUpdated",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "uint256",
name: "price",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
],
name: "EthPriceUpdated",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "asset",
type: "address",
},
],
name: "getAssetPrice",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=IPriceOracleGetterFactory.js.map