Skip to content

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

@mkflow27

Description

@mkflow27

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;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    before releaseTo review/tidy before release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions