UNPKG

@astonic-io/astonic-bindings-ts

Version:

Astonic type generation and npm package deployment repo

215 lines (214 loc) 5.24 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ISortedOraclesV00828__factory = void 0; var ethers_1 = require("ethers"); var _abi = [ { type: "function", name: "addOracle", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "isOldestReportExpired", inputs: [ { name: "token", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "medianRate", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "medianTimestamp", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "numRates", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "numTimestamps", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "removeExpiredReports", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "removeOracle", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "report", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, { name: "", type: "address", internalType: "address", }, { name: "", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, ]; var ISortedOraclesV00828__factory = /** @class */ (function () { function ISortedOraclesV00828__factory() { } ISortedOraclesV00828__factory.createInterface = function () { return new ethers_1.utils.Interface(_abi); }; ISortedOraclesV00828__factory.connect = function (address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); }; ISortedOraclesV00828__factory.abi = _abi; return ISortedOraclesV00828__factory; }()); exports.ISortedOraclesV00828__factory = ISortedOraclesV00828__factory;