package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Apr 10, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CalcAmountUSD returns amount in USD
amountUSD = (amount / 10^decimals) * priceUSD
CalcGasCost calculate gas cost given gas limit (units) and gas price (wei)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.