Move encodeDecimalWithScale
from transfer
#476
Merged
encodeDecimalWithScale
from transfer
#476