We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d56ac6 commit 02bbfb9Copy full SHA for 02bbfb9
Sources/BasedUtils/BasedUtils.swift
@@ -43,10 +43,10 @@ public class BasedUtils {
43
44
/// Returns BigInt representation of given ether.
45
///
46
- /// Implemented after viem's formatEther:
+ /// Implemented after viem's parseEther:
47
/// https://github.com/wevm/viem/blob/main/src/utils/unit/parseEther.ts
48
49
- /// - Parameter ether: ether as BigInt
+ /// - Parameter ether: ether as String
50
/// - Parameter unit: the unit type wei or gwei (default: wei)
51
52
public static func parseEther(_ ether: String, _ unit: UnitType = .wei) -> BigInt {
0 commit comments