-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement pallet-asset-rewards
#3926
base: master
Are you sure you want to change the base?
Conversation
pallet-staking-rewards
pallet-asset-rewards
All GitHub workflows were cancelled due to failure one of the required jobs. |
bot bench-all pallet --pallet=pallet_asset_rewards |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8010046 was started for your command Comment |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8010047 was started for your command Comment |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8010048 was started for your command Comment |
…=asset-hub-westend --runtime_dir=assets --target_dir=cumulus --pallet=pallet_asset_rewards
@muharem Command |
…=asset-hub-rococo --runtime_dir=assets --target_dir=cumulus --pallet=pallet_asset_rewards
@muharem Command |
@muharem Command |
bot help |
Here's a link to docs |
bot bench substrate-pallet --pallet=pallet_asset_rewards |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8011480 was started for your command Comment |
@muharem Command |
bot bench substrate-pallet --pallet=pallet_asset_rewards --features |
@muharem option '--features ' argument missing |
bot bench substrate-pallet --pallet=pallet_asset_rewards --features=runtime-benchmarks |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8013095 was started for your command Comment |
…=dev --target_dir=substrate --features=runtime-benchmarks --pallet=pallet_asset_rewards
@muharem Command |
Closes #3149
Description
This PR introduces
pallet-asset-rewards
, which allows accounts to be rewarded for freezingfungible
tokens. The motivation for creating this pallet is to allow incentivising LPs.See the pallet docs for more info about the pallet.
Runtime changes
The pallet has been added to
asset-hub-rococo
asset-hub-westend
The
NativeAndAssets
fungibles
Union did not containPoolAssets
, so it has been renamedNativeAndNonPoolAssets
A new
fungibles
UnionNativeAndAllAssets
was created to encompass all assets and the native token.TODO
fungibles::freeze::Mutate
#3342) and re-run benchmarks