White-Whale-Defi-Platform/white-whale-core

Burn module to burn given asset

Closed this issue · 0 comments

If you want to report a security issue, please follow our security policy: https://github.com/White-Whale-Defi-Platform/migaloo-core/blob/main/SECURITY.md


Improvement description

The burn module on pools burn the output asset of a swap. Similarly on a vault, it's burned the asset of said vault.

This could be improved by setting a specific asset to be burned. So no matter what is swapped on a pool, the burn fee would be swapped for that base burn asset and then burned.


Additional context

Add any other context here, code snippets, json responses, screenshots and so on.

Code sample
Logs
Screenshots