aragon / radspec

🤘 Radspec is a safe interpreter for Ethereum's NatSpec
MIT License
141 stars 36 forks source link

@tokenAmount does not work for ERC-1155 #94

Open vporton opened 4 years ago

vporton commented 4 years ago

@tokenAmount(tokenAddr, amount, [showSymbol=true], [precision=2]) does not work for ERC-1155 tokens, because ERC-1155 does not have the concept of token address (instead, a token is a pair of a contract address and uint256 token).

What to do instead for now to show to the user the transferred token amount?