package
1.6.0-forced-withdrawal-rc1
Repository: https://github.com/gravity-devs/liquidity.git
Documentation: pkg.go.dev
# Functions
GenInitPoolCoinMintAmount randomized InitPoolCoinMintAmount.
GenLiquidityPoolTypes return default PoolType temporarily, It will be randomized in the liquidity v2.
GenMaxOrderAmountRatio randomized MaxOrderAmountRatio ranging from 0.00001 to 1.
GenMaxReserveCoinAmount randomized MaxReserveCoinAmount.
GenMinInitDepositAmount randomized MinInitDepositAmount.
GenPoolCreationFee randomized PoolCreationFee list of 1 to 4 coins with an amount greater than 1.
GenSwapFeeRate randomized SwapFeeRate ranging from 0.00001 to 1.
GenUnitBatchHeight randomized UnitBatchHeight ranging from 1 to 20.
GenWithdrawFeeRate randomized WithdrawFeeRate ranging from 0.00001 to 1.
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding liquidity type.
ParamChanges defines the parameters that can be modified by param change proposals on the simulation.
RandomizedGenState generates a random GenesisState for liquidity.
SimulateMsgCreatePool generates a MsgCreatePool with random values.
SimulateMsgDepositWithinBatch generates a MsgDepositWithinBatch with random values.
SimulateMsgSwapWithinBatch generates a MsgSwapWithinBatch with random values.
SimulateMsgWithdrawWithinBatch generates a MsgWithdrawWithinBatch with random values.
WeightedOperations returns all the operations from the module with their respective weights.
# Constants
Simulation parameter constants.
Simulation parameter constants.
Simulation parameter constants.
Simulation parameter constants.
Simulation parameter constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation parameter constants.
Simulation parameter constants.
Simulation parameter constants.
Simulation parameter constants.