> For the complete documentation index, see [llms.txt](https://docs.algebra.finance/algebra-integral-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algebra.finance/algebra-integral-documentation/algebra-v1-technical-reference/contracts/api-reference-v1.0/v1.0-periphery/peripherypaymentswithfee.md).

# PeripheryPaymentsWithFee

## Functions

### unwrapWNativeTokenWithFee

`unwrapWNativeTokenWithFee(uint256,address,uint256,address)` payable public

Unwraps the contract's WNativeToken balance and sends it to recipient as NativeToken, with a percentage between 0 (exclusive), and 1 (inclusive) going to feeRecipient

| Name          | Type    | Description |
| ------------- | ------- | ----------- |
| amountMinimum | uint256 |             |
| recipient     | address |             |
| feeBips       | uint256 |             |
| feeRecipient  | address |             |

### sweepTokenWithFee

`sweepTokenWithFee(address,uint256,address,uint256,address)` payable public

Transfers the full amount of a token held by this contract to recipient, with a percentage between 0 (exclusive) and 1 (inclusive) going to feeRecipient

| Name          | Type    | Description |
| ------------- | ------- | ----------- |
| token         | address |             |
| amountMinimum | uint256 |             |
| recipient     | address |             |
| feeBips       | uint256 |             |
| feeRecipient  | address |             |

***
