* parseUnits parse the ERC20 string amount to subunits. * @param amount {string} - the USDC ERC20 string amount, e.g. "0.000001" * @returns
(amount: string)
| 136 | * @returns |
| 137 | */ |
| 138 | static parseUnits(amount: string): bigint { |
| 139 | return parseUnits(amount, USDC.decimals) |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * formatUnits convert the subunits to ERC20 string amount. |
no outgoing calls