@tian7.eth
Just reviewed the way defillama calculated fees and found they made a query on dune themselves. The query is cool but it excludes our v1 contract which makes the fees a bit less than the actual fees.
https://dune.com/queries/4343160
It's cool if we can provide a query to defillama since we will maintain our code in time.