@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
67 lines • 1.85 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IWETHGatewayCompatibleFactory = void 0;
const ethers_1 = require("ethers");
class IWETHGatewayCompatibleFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IWETHGatewayCompatibleFactory = IWETHGatewayCompatibleFactory;
const _abi = [
{
inputs: [
{
internalType: "address",
name: "lendingPool",
type: "address",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
{
internalType: "uint256",
name: "interesRateMode",
type: "uint256",
},
{
internalType: "uint16",
name: "referralCode",
type: "uint16",
},
],
name: "borrowETH",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "lendingPool",
type: "address",
},
{
internalType: "address",
name: "onBehalfOf",
type: "address",
},
{
internalType: "uint16",
name: "referralCode",
type: "uint16",
},
],
name: "depositETH",
outputs: [],
stateMutability: "payable",
type: "function",
},
];
//# sourceMappingURL=IWETHGatewayCompatibleFactory.js.map