Module: Klay::Unit
Overview
Provides constants for common Ethereum units.
Constant Summary collapse
- PEB =
Ethereum unit 1 peb := 0.000000000000000001 Klay.
BigDecimal("1e0").freeze
- STON =
Ethereum unit 1 ston := 0.000000001 Klay or 1_000_000_000 peb.
BigDecimal("1e9").freeze
- ETHER =
Ethereum unit 1 Klay := 1_000_000_000_000_000_000 peb.
BigDecimal("1e18").freeze
- GPEB =
Ethereum unit 1 Gpeb := 0.000000001 Ether or 1_000_000_000 peb. Same as shannon, but more commonly used (billion peb).
STON.freeze