UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

120 lines 3.24 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ILendingPoolAaveCompatibleFactory = void 0; const ethers_1 = require("ethers"); class ILendingPoolAaveCompatibleFactory { static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ILendingPoolAaveCompatibleFactory = ILendingPoolAaveCompatibleFactory; const _abi = [ { inputs: [ { internalType: "address", name: "asset", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint256", name: "interestRateMode", type: "uint256", }, { internalType: "uint16", name: "referral", type: "uint16", }, { internalType: "address", name: "onBehalfOf", type: "address", }, ], name: "borrow", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "asset", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "address", name: "onBehalfOf", type: "address", }, { internalType: "uint16", name: "referral", type: "uint16", }, ], name: "deposit", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "receiverAddress", type: "address", }, { internalType: "address[]", name: "assets", type: "address[]", }, { internalType: "uint256[]", name: "amounts", type: "uint256[]", }, { internalType: "uint256[]", name: "modes", type: "uint256[]", }, { internalType: "address", name: "onBehalfOf", type: "address", }, { internalType: "bytes", name: "params", type: "bytes", }, { internalType: "uint16", name: "referral", type: "uint16", }, ], name: "flashLoan", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=ILendingPoolAaveCompatibleFactory.js.map