Module params
Refresh every 5 minutesThe slashing module enables Cosmos SDK-based blockchains to disincentivize any attributable action by a protocol-recognized actor with value at stake by penalizing them.
Penalties may include, but are not limited to:- Burning some amount of their stake
- Removing their ability to vote on future blocks for a period of time
- allow for a flexible inflation rate determined by market demand targeting a particular bonded-stake ratio
- effect a balance between market liquidity and staked supply
The GAMM
module (Generalized Automated Market Maker) provides the logic to create and interact with liquidity pools on the Dymension DEX.
x/txfees
modules allows nodes to easily support many tokens for usage as txfees, while letting node operators only specify their tx fee parameters for a single "base" asset. This is done by having this module maintain an allow-list of token denoms which can be used as tx fees, each with some associated metadata. Then this metadata is used in tandem with a "Spot Price Calculator" provided to the module, to convert the provided tx fees into their equivalent value in the base denomination.
Lockup module provides an interface for users to lock tokens (also known as bonding) into the module to get incentives.
After tokens have been added to a specific pool and turned into LP shares through the GAMM module, users can then lock these LP shares with a specific duration in order to begin earing rewards.
To unlock these LP shares, users must trigger the unlock timer and wait for the unlock period that was set initially to be completed. After the unlock period is over, users can turn LP shares back into their respective share of tokens.
This module provides interfaces for other modules to iterate the locks efficiently and grpc query to check the status of locked coins.
Incentives module provides general interface to give yield to stakers.
The yield to be given to stakers are stored in gauge
and it is distributed on epoch basis to the stakers who meet specific conditions.
Anyone can create gauge and add rewards to the gauge, there is no way to take it out other than distribution.
There are two kinds of gauges
, perpetual and non-perpetual ones.
- Non perpetual ones get removed from active queue after the distribution period finish but perpetual ones persist.
- For non perpetual ones, they distribute the tokens equally per epoch during the gauge is in the active period.
- For perpetual ones, it distributes all the tokens at a single time and somewhere else put the tokens regularly to distribute the tokens, it's mainly used to distribute minted DYM tokens to LP token stakers.
x/streamer
.