Beanstalk icon indicating copy to clipboard operation
Beanstalk copied to clipboard

⛓ on-chain metadata for fertilizers

Open PatrickAlphaC opened this issue 3 years ago • 2 comments

I left a Note: in there as well:

  1. For formatBpfRemaining, does BPF have decimals? The number that is returned on the image is quite large.

Here is a sample image the is returned:

download (1)

PatrickAlphaC avatar Oct 15 '22 04:10 PatrickAlphaC

This addresses https://github.com/BeanstalkFarms/Beanstalk/issues/120

PatrickAlphaC avatar Oct 15 '22 04:10 PatrickAlphaC

ALSO:

  1. I'm not sure if I got the active, used, or available fertilizer math correct... hoping to get a double check and then update the tests
  2. I did a weird swap-in-place bytecode trick to test the constant variable for the beanstalk diamond address. Let me know if that's not what you'd like to see.

PatrickAlphaC avatar Oct 16 '22 16:10 PatrickAlphaC