Fexi.net

Madridyeth's Ethereum Experiments

Minor Fix on Beefy Vault UI (but Felt Big to Me)

January 2021

Spent a couple nights digging into Beefy’s vault display logic on BSC. Wasn't planning to contribute at first but got annoyed with how APY refresh was jumping around on smaller vaults.

Forked the repo. Found out the APY calc on frontend was rounding a bit aggressively when decimals got too small. Not a huge bug but looked messy when you’re farming low TVL pairs.

Pushed a quick fix on a separate branch. Cleaned up the formatting and added a timeout delay before the UI fetches new stats — makes it feel less twitchy when flipping through vaults.

Submitted the PR, didn’t expect much. Few hours later it got merged and showed up on live site by the weekend. Seeing your code on a project people actually use… feels proper good.

Also learned a bit more about how vault contracts link to the strategy layer. That whole autocompounding logic is more elegant than I thought. Simple structure but does the job. That’s the kind of smart I like.

Might try writing a test vault myself next month. Just to learn more. No promises.