This bounty is no longer available
Web3 DAO | Uniswap Logo

Consider fee accrual as 1155 balance

Organization

Uniswap

Deadline

N/A

Status

ENDED


INSTRUCTIONS

Components

Singleton, 1155 Balances

Describe the suggested feature and problem it solves.

Currently fees accrued to the protocol and to hooks are stored in mappings. However the ERC1155 implementation of the PoolManager should allow us to actually accrue these as 1155 minting instead of having separate mappings.

Describe the desired implementation.

Remove the 2 mappings protocolFeesAccrued and hookFeesAccrued and instead mint 1155s, similarly to in PoolManager.mint

Describe alternatives.

No response

Additional context.

No response