Skip to content

Commit 02bbfb9

Browse files
committed
docs
1 parent 9d56ac6 commit 02bbfb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/BasedUtils/BasedUtils.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public class BasedUtils {
4343

4444
/// Returns BigInt representation of given ether.
4545
///
46-
/// Implemented after viem's formatEther:
46+
/// Implemented after viem's parseEther:
4747
/// https://github.com/wevm/viem/blob/main/src/utils/unit/parseEther.ts
4848
///
49-
/// - Parameter ether: ether as BigInt
49+
/// - Parameter ether: ether as String
5050
/// - Parameter unit: the unit type wei or gwei (default: wei)
5151
///
5252
public static func parseEther(_ ether: String, _ unit: UnitType = .wei) -> BigInt {

0 commit comments

Comments
 (0)