Skip to content

metastable pool#2

Open
decaf-addict wants to merge 2 commits intomainfrom
metastable2
Open

metastable pool#2
decaf-addict wants to merge 2 commits intomainfrom
metastable2

Conversation

@decaf-addict
Copy link
Owner

  • new way of estimating pooled balance for metastable pools
  • estimating total asset changed to non-view
  • updated tests

image

}

// There is no way to calculate the total asset without doing a tx call.
function estimateTotalAssets() public returns (uint256 _wants) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this _wants variable used?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not really necessary, just there for clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants