Skip to content

[derivatives] manage the PositionSize based on the Decimal information in the DenomMetadata. #476

Description

@taiki1frsh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions