Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
- Can be used to configure the genesis state of this pallet.
- The pallet implementing the on-chain logic.
Enums
- Contains one variant per dispatchable that can be called by an extrinsic.
- Custom dispatch errors of this pallet.
- The event emitted by this pallet.
Traits
- Configuration trait of this pallet.
Type Definitions
- Reward multipliers for special assets. Asset Id => Reward Multiplier
- Collateral Assets allowed to be sold by the token bonding curve
- Account which stores actual PSWAP intended for rewards
- Number of reserve currencies selling which user will get rewards, namely all registered collaterals except PSWAP and VAL
- ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
. - Asset that is used to compare collateral assets by value, e.g., DAI
- Technical account used to store collateral tokens.
- Registry to store information about rewards owned by users in PSWAP. (claim_limit, available_rewards)
- Total amount of PSWAP owned by accounts