Goal:
In the backend, manage the PositionSize based on the Decimal information in the DenomMetadata.
Currently, the PositionSize is automatically modified into a micro-unit without checking any external information in the logic, using SizeInDecimal function in each case that is needed for Position Size data to be used.
So, this part should be changed to follow the decimal unit in the DenomMetada from x/bank module.
Goal:
In the backend, manage the PositionSize based on the Decimal information in the DenomMetadata.
Currently, the PositionSize is automatically modified into a micro-unit without checking any external information in the logic, using
SizeInDecimalfunction in each case that is needed for Position Size data to be used.So, this part should be changed to follow the decimal unit in the DenomMetada from x/bank module.