Content pfp
Content
@
0 reply
0 recast
2 reactions

greg pfp
greg
@gregfromstl
What do you think each of the following functions do? toTokens fromWei toDecimals formatUnits
3 replies
0 recast
4 reactions

Greg pfp
Greg
@greg
i feel like these would all be wrappers around formatUnits in some way or another, like how viem has formatEther() which is really just formatUnits() internally. And parseUnits/parseEther for the opposite direction
1 reply
0 recast
0 reaction

greg pfp
greg
@gregfromstl
Yeah that's exactly what they are, want to know what people might think the wrappers do though
0 reply
0 recast
0 reaction