Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestCfmmCommonTestSuite ¶
Types ¶
type CfmmCommonTestSuite ¶
CfmmCommonTestSuite is the common test suite struct of Constant Function Market Maker, that pool-models can inherit from.
func (*CfmmCommonTestSuite) CreateTestContext ¶
func (suite *CfmmCommonTestSuite) CreateTestContext() sdk.Context
Click to show internal directories.
Click to hide internal directories.