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