2020-06-03 10:23:21 +00:00
|
|
|
/* Generated by ts-generator ver. 0.0.8 */
|
|
|
|
/* tslint:disable */
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
import {Contract, Signer} from 'ethers';
|
|
|
|
import {Provider} from 'ethers/providers';
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
import {IFlashLoanReceiver} from './IFlashLoanReceiver';
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
export class IFlashLoanReceiverFactory {
|
2020-07-13 08:54:08 +00:00
|
|
|
static connect(address: string, signerOrProvider: Signer | Provider): IFlashLoanReceiver {
|
2020-06-03 10:23:21 +00:00
|
|
|
return new Contract(address, _abi, signerOrProvider) as IFlashLoanReceiver;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const _abi = [
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
2020-07-13 08:54:08 +00:00
|
|
|
internalType: 'address',
|
|
|
|
name: '_reserve',
|
|
|
|
type: 'address',
|
2020-06-03 10:23:21 +00:00
|
|
|
},
|
2020-07-23 15:18:06 +00:00
|
|
|
{
|
|
|
|
internalType: 'address',
|
|
|
|
name: '_destination',
|
|
|
|
type: 'address',
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
2020-07-13 08:54:08 +00:00
|
|
|
internalType: 'uint256',
|
|
|
|
name: '_amount',
|
|
|
|
type: 'uint256',
|
2020-06-03 10:23:21 +00:00
|
|
|
},
|
|
|
|
{
|
2020-07-13 08:54:08 +00:00
|
|
|
internalType: 'uint256',
|
|
|
|
name: '_fee',
|
|
|
|
type: 'uint256',
|
2020-06-03 10:23:21 +00:00
|
|
|
},
|
|
|
|
{
|
2020-07-13 08:54:08 +00:00
|
|
|
internalType: 'bytes',
|
|
|
|
name: '_params',
|
|
|
|
type: 'bytes',
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
],
|
2020-07-13 08:54:08 +00:00
|
|
|
name: 'executeOperation',
|
2020-06-03 10:23:21 +00:00
|
|
|
outputs: [],
|
2020-07-13 08:54:08 +00:00
|
|
|
stateMutability: 'nonpayable',
|
|
|
|
type: 'function',
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
];
|