Description
The logic around the amount property in the Migrate flow requires a thorough review and refactor. Key issues include:
-
Use of bigint for Operations
- Ensure that all operations involving
amount use bigint for consistency and to prevent potential precision issues.
-
Repetition in String Handling Logic
- The logic for handling
amount as a string and displaying it appears to be repeated in multiple places. This should be centralized to avoid duplication and improve maintainability.
Example:

Description
The logic around the
amountproperty in the Migrate flow requires a thorough review and refactor. Key issues include:Use of
bigintfor Operationsamountusebigintfor consistency and to prevent potential precision issues.Repetition in String Handling Logic
amountas a string and displaying it appears to be repeated in multiple places. This should be centralized to avoid duplication and improve maintainability.Example: