UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

160 lines 4.35 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IReserveInterestRateStrategyFactory = void 0; const ethers_1 = require("ethers"); class IReserveInterestRateStrategyFactory { static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IReserveInterestRateStrategyFactory = IReserveInterestRateStrategyFactory; 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: "aToken", 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: [ { internalType: "address", name: "reserve", type: "address", }, { internalType: "uint256", name: "availableLiquidity", 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: "", type: "uint256", }, { internalType: "uint256", name: "", type: "uint256", }, { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getMaxVariableBorrowRate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; //# sourceMappingURL=IReserveInterestRateStrategyFactory.js.map