Function ergo_headless_dapp_framework::encoding::unwrap_int [−][src]
pub fn unwrap_int(c: &Constant) -> Result<i32>
Unwraps a hex-encoded i32
Int inside of a Constant
acquired from a register of an ErgoBox
pub fn unwrap_int(c: &Constant) -> Result<i32>
Unwraps a hex-encoded i32
Int inside of a Constant
acquired from a register of an ErgoBox