# FlashLoanBorrowerExample

## Methods

### executeOperation

```solidity
function executeOperation(address pool, address token, uint256 amount, uint256 fee, bytes params) external nonpayable
```

#### Parameters

| Name   | Type    | Description |
| ------ | ------- | ----------- |
| pool   | address | undefined   |
| token  | address | undefined   |
| amount | uint256 | undefined   |
| fee    | uint256 | undefined   |
| params | bytes   | undefined   |

### flashLoan

```solidity
function flashLoan(contract ISwapFlashLoan swap, contract IERC20 token, uint256 amount, bytes params) external nonpayable
```

#### Parameters

| Name   | Type                    | Description |
| ------ | ----------------------- | ----------- |
| swap   | contract ISwapFlashLoan | undefined   |
| token  | contract IERC20         | undefined   |
| amount | uint256                 | undefined   |
| params | bytes                   | undefined   |
