You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I think that would improve the UX. That would bring about parity between MetaMask and Keplr/Leap.
The 0 exponent one's required and technically correct, but putting a second denom unit like you've described would make the behavior similar to NIBI's bank metadata:
{"description": "The native staking token of the Nibiru network.","denom_units": [{"denom": "unibi","exponent": 0,"aliases": ["micronibi"]},{"denom": "NIBI","exponent": 6,"aliases": []}],"base": "unibi","display": "NIBI","name": "NIBI","symbol": "NIBI","uri": "","uri_hash": ""}
Integrating a change shortly.
The text was updated successfully, but these errors were encountered:
Summary
Code4rena:
What about having 2
DenomUnit
s:Exponent = 0
, universally calledwei
(i.e.Denom = "wei"
) for all such erc20 funtokens{ Denom: bankDenom, Exponent: info.Decimals }
This first
wei
unit will be used as the coin'sBase
and the second unit asDisplay
.Originally posted by @berndartmueller in https://github.com/code-423n4/2024-10-nibiru-zenith/pull/21#discussion_r1794865216
@Unique-Divine
Yeah, I think that would improve the UX. That would bring about parity between MetaMask and Keplr/Leap.
The 0 exponent one's required and technically correct, but putting a second denom unit like you've described would make the behavior similar to NIBI's bank metadata:
Integrating a change shortly.
The text was updated successfully, but these errors were encountered: