The implementation of the redeem method for Treasury token is the biggest remaining TODO here, but should be relatively straightforward. There's also definitely some code cleanup to do, including some considerations like:
[x] Combining the shortfall/surplus view methods into one
~Moving the math functions into a library contract~ Note: decided against this for now
[x] Natspec
[x] Better comments and code organization generally
Closes #8
The implementation of the redeem method for Treasury token is the biggest remaining TODO here, but should be relatively straightforward. There's also definitely some code cleanup to do, including some considerations like: