Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

More documentations on srml support traits including Currency, ChargeFee, TransferAsset #1981

Closed
xlc opened this issue Mar 12, 2019 · 1 comment

Comments

@xlc
Copy link
Contributor

xlc commented Mar 12, 2019

Good to see comprehensive documentations have been written for all the modules but I think documentations for srml support traits are lacking.

SRML developers (and anyone developing reusable modules) should avoid tight coupling between modules and this is achieved by depend on traits instead of modules directly.

Developers doesn't really need to know how to use Balances::free_balance because they should be using Currency::free_balance instead. Another example is Fees::charge_fee and ChargeFee::charge_fee.

@xlc
Copy link
Contributor Author

xlc commented Mar 23, 2019

Close as the issue belongs to substrate-developer-hub

@xlc xlc closed this as completed Mar 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant