aave-protocol-v2/types/IFlashLoanReceiverFactory.ts
2020-06-03 12:23:21 +02:00

48 lines
986 B
TypeScript

/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Contract, Signer } from "ethers";
import { Provider } from "ethers/providers";
import { IFlashLoanReceiver } from "./IFlashLoanReceiver";
export class IFlashLoanReceiverFactory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): IFlashLoanReceiver {
return new Contract(address, _abi, signerOrProvider) as IFlashLoanReceiver;
}
}
const _abi = [
{
inputs: [
{
internalType: "address",
name: "_reserve",
type: "address"
},
{
internalType: "uint256",
name: "_amount",
type: "uint256"
},
{
internalType: "uint256",
name: "_fee",
type: "uint256"
},
{
internalType: "bytes",
name: "_params",
type: "bytes"
}
],
name: "executeOperation",
outputs: [],
stateMutability: "nonpayable",
type: "function"
}
];