pub(crate) fn bigdecimal_to_u256(value: BigDecimal) -> U256 {
    let bigint = value.with_scale(0).into_bigint_and_exponent().0;
    biguint_to_u256(bigint.to_biguint().unwrap())
}
Converts `BigDecimal` value into the corresponding `U256` value.
core/lib/dal/src/models/mod.rs