Je vais refaire une passe sur la documentation des pallets pour vérifier que tout est bien clair dans la documentation autogénérée.
Cela permettra aux développeurs downstream de l'utiliser au lieu d'aller fouiller dans le code.
In fact, this constant should be removed or modified:
In this, the transferred amount directly depends on UnitsPerUd.
Since the transferred value is inputted in mUD in this and the UD value is in Ğ, UnitsPerUd should always be 1 000 so that the correct amount is transferred.
For this constant to have the intended precision effect, 1. the CurrentUd storage should depend on UnitsPerUd, otherwise the conversion from UD to Ğ will be off if UnitsPerUd is not 1000. Or else, 2. the extrinsic documentation should be upgraded as Transfer some liquid free balance to another account, in UD * UnitsPerUd.
Either way, I think that hard-coding this value to 1000 to keep the transfer in mUD would avoid any confusion for both end users and downstream developers while allowing a good precision.