Skip to main content

deposit_uhopr

Function deposit_uhopr 

Source
fn deposit_uhopr(amount: HoprBalance) -> u64
Expand description

A deposit in µHOPR, saturating rather than wrapping.

Integer because the counters it feeds are, and µHOPR because wei overflows a u64 at 18 HOPR while whole HOPR would round every realistic deposit to nothing.