@augumented-finance/protocol-v1
Version:
Augmented Protocol smart contracts
81 lines • 2.1 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ILendablePoolFactory = void 0;
const ethers_1 = require("ethers");
class ILendablePoolFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.ILendablePoolFactory = ILendablePoolFactory;
const _abi = [
{
inputs: [
{
internalType: "address",
name: "asset",
type: "address",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
{
internalType: "address",
name: "onBehalfOf",
type: "address",
},
{
internalType: "uint16",
name: "referralCode",
type: "uint16",
},
],
name: "deposit",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "asset",
type: "address",
},
],
name: "getReserveNormalizedIncome",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "asset",
type: "address",
},
{
internalType: "bool",
name: "useAsCollateral",
type: "bool",
},
],
name: "setUserUseReserveAsCollateral",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
//# sourceMappingURL=ILendablePoolFactory.js.map