Module pallet_liquidity_rewards::pallet::dispatchables
source · Expand description
Functions§
- Claims the reward the associated to a currency. The reward will be transferred to the origin’s account.
- Admin method to set the group used for a currency in the next epochs. Current epoch is not affected by this call.
- Admin method to set the reward amount used for the next epochs. Current epoch is not affected by this call.
- Admin method to set the duration used for the next epochs. Current epoch is not affected by this call.
- Admin method to set the group weights used for the next epochs. Current epoch is not affected by this call.
- Deposit a stake amount associated to a currency for the origin’s account. The account must have enough currency to make the deposit, if not, an Err will be returned.
- Withdraw a stake amount associated to a currency for the origin’s account. The account must have enough currency staked to make the withdraw, if not, an Err will be returned.