@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
119 lines • 3.17 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IReserveRateStrategyFactory = void 0;
const ethers_1 = require("ethers");
class IReserveRateStrategyFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IReserveRateStrategyFactory = IReserveRateStrategyFactory;
const _abi = [
{
inputs: [],
name: "baseVariableBorrowRate",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "reserve",
type: "address",
},
{
internalType: "address",
name: "depositToken",
type: "address",
},
{
internalType: "uint256",
name: "liquidityAdded",
type: "uint256",
},
{
internalType: "uint256",
name: "liquidityTaken",
type: "uint256",
},
{
internalType: "uint256",
name: "totalStableDebt",
type: "uint256",
},
{
internalType: "uint256",
name: "totalVariableDebt",
type: "uint256",
},
{
internalType: "uint256",
name: "averageStableBorrowRate",
type: "uint256",
},
{
internalType: "uint256",
name: "reserveFactor",
type: "uint256",
},
],
name: "calculateInterestRates",
outputs: [
{
internalType: "uint256",
name: "liquidityRate",
type: "uint256",
},
{
internalType: "uint256",
name: "stableBorrowRate",
type: "uint256",
},
{
internalType: "uint256",
name: "variableBorrowRate",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getMaxVariableBorrowRate",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "isDelegatedReserve",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=IReserveRateStrategyFactory.js.map