Skip to content

Align Mismatch Between Display Units and Base Units #388

@skurzyp-blockydevs

Description

@skurzyp-blockydevs

Issue: Mismatch Between Display Units and Base Units

Some tools accept input values expressed in display units, but return results or logs in base units. This inconsistency leads to confusion and increases the risk of misinterpretation.

Expected Behavior

  • All human-facing communication (inputs, outputs, logs, messages) should consistently use display units.

  • Internal or raw objects returned by the agent may remain in base units, but when doing so they must include:

    • The numeric value in base units
    • The number of decimals associated with the relevant token
    • Any metadata required to correctly convert back to display units

Why This Matters
Aligning human-visible interactions to display units ensures clarity, usability, and prevents errors. Base-unit representations should be reserved only for programmatic or machine-level handling and must carry the necessary decimal precision to avoid ambiguity.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions