pub fn to_big_uint(str: &String) -> BigUint
Converts a decimal string to BigUint and zero-pads it to 32 bytes (big-endian).