# Functions
GenCompleteLiquidationThreshold produces a randomized CompleteLiquidationThreshold in the range of [0.050, 0.100].
GenDirectLiquidationFee produces a randomized DirectLiquidationFee in the range of [0, 1000].
GenMinimumCloseFactor produces a randomized MinimumCloseFactor in the range of [0.001, 0.047].
GenOracleRewardFactor produces a randomized OracleRewardFactor in the range of [0.005, 0.100].
GenSmallLiquidationSize produces a randomized SmallLiquidationSize in the range of [0, 1000].
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding leverage type.
ParamChanges defines the parameters that can be modified by param change proposals on the simulation.
RandomizedGenState generates a random GenesisState for oracle.
SimulateMsgBorrow tests and runs a single msg borrow where an account attempts to borrow some assets.
SimulateMsgCollateralize tests and runs a single msg which adds some collateral to a user.
SimulateMsgDecollateralize tests and runs a single msg which removes some collateral from a user.
SimulateMsgLiquidate tests and runs a single msg liquidate where one user attempts to liquidate another user's borrow.
SimulateMsgRepay tests and runs a single msg repay where an account repays some borrowed assets.
SimulateMsgSupply tests and runs a single msg supply where an account supplies some available assets.
SimulateMsgWithdraw tests and runs a single msg withdraw where an account attempts to withdraw some supplied assets.
WeightedOperations returns all the operations from the leverage module with their respective weights.
# Constants
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.
Default simulation operation weights for leverage messages.