Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explanations for invariant ratios to the amm build page #166

Open
mkflow27 opened this issue Oct 10, 2024 · 0 comments
Open

Add explanations for invariant ratios to the amm build page #166

mkflow27 opened this issue Oct 10, 2024 · 0 comments
Labels
before release To review/tidy before release

Comments

@mkflow27
Copy link
Collaborator

Additional explanations in the docs page about invariant ratios are needed

    /// @inheritdoc IUnbalancedLiquidityInvariantRatioBounds
    function getMinimumInvariantRatio() external pure returns (uint256) {
        return WeightedMath._MIN_INVARIANT_RATIO;
    }

    /// @inheritdoc IUnbalancedLiquidityInvariantRatioBounds
    function getMaximumInvariantRatio() external pure returns (uint256) {
        return WeightedMath._MAX_INVARIANT_RATIO;
    }
@mkflow27 mkflow27 added the before release To review/tidy before release label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
before release To review/tidy before release
Projects
None yet
Development

No branches or pull requests

1 participant