Currently the units to show the amount of deposit in is udvpn or uscrt , etc. We are offering up a bounty to whomever can format these deposits to be in the full coin unit. Basically taking the deposit and dividing by 1000000.
The code to be edited will be in src/ui/screens.py and the class is SubscriptionScreen and the place to do the formatting will be in the in the add_sub_rv_data() routine.
node[NodeKeys.FinalSubsKeys[4]]
is the variable that contains the deposit value. A little regex and separating the numeric values from the alphabetic values in order to use the SATOSHI constant in src/typedef/konstants.py to divide the above deposit variable by.
That should pretty much explain everything needed to be done. We are here to help in case this wasn't enough information.
Currently the units to show the amount of deposit in is
udvpn
oruscrt
, etc. We are offering up a bounty to whomever can format these deposits to be in the full coin unit. Basically taking the deposit and dividing by1000000
.The code to be edited will be in
src/ui/screens.py
and the class isSubscriptionScreen
and the place to do the formatting will be in the in theadd_sub_rv_data()
routine.node[NodeKeys.FinalSubsKeys[4]]
is the variable that contains the deposit value. A little regex and separating the numeric values from the alphabetic values in order to use the
SATOSHI
constant insrc/typedef/konstants.py
to divide the above deposit variable by.That should pretty much explain everything needed to be done. We are here to help in case this wasn't enough information.