-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hey, when working with fungible token contracts (i.e. PSP-22) we've noticed that contracts-ui is statically assuming that values with the Balance type are always the native chain currency with it's decimals & token identifier.
In the PSP-22 interface, Balance is just an alias type for u128 and can have any decimal & any token identifier. And as the input field is already denominating with the networks decimals (e.g. 12) it's super confusing that it assumes the same for other tokens Balances.
Maybe adding a "Network Currency" switch that switches between networks decimals & token symbol between just the plain u128 value w/o any decimals applied would help here?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
