Open

Description
TL;DR
For contract's argument named amount
value is always interpreted as CSRP - this is really confusing for ERC-20 calls.
Problem description
I got asked why calling ERC-20's transfer is displaying wrong amount:
So I located that part in UI, and it appears DeployValue
is using isKeyOfCurrencyValue()
to determine if CSPR price is used:
I think argument should not be interpreted basing solely on its name.
Required information
- Casper Wallet Version: 1.4.1