![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v28.
package
Version:
v19.2.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func TestCalculateAmountOutAndIn_InverseRelationship(t *testing.T, ctx sdk.Context, pool types.CFMMPoolI, assetInDenom string, ...)
-
func TestCfmmCommonTestSuite(t *testing.T)
-
func TestSlippageRelationInGivenOut(testname string, t *testing.T, ctx sdk.Context, ...)
-
func TestSlippageRelationOutGivenIn(testname string, t *testing.T, ctx sdk.Context, ...)
-
func TestSlippageRelationWithLiquidityIncrease(testname string, t *testing.T, ctx sdk.Context, ...)
-
type CfmmCommonTestSuite
func TestCfmmCommonTestSuite(t *testing.T)
CfmmCommonTestSuite is the common test suite struct of Constant Function Market Maker,
that pool-models can inherit from.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.