This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Description
Motivation
The Pay trait is a very useful trait, as the multi-asset treasury could be implemented based off said trait, instead of forcing the treasury pallet to be implmented based off either fungible or fungibles. This brings for great flexibility.
Request
Move the Pay trait out of the salary pallet (eg into frame_support), and make it generic over assets. This could be by adding an AssetId associated type or similar. The AssetId type could then be unit in the case of implementations that do not need to support multiple asset classes.
This is a step towards paritytech/polkadot-sdk#98