pub unsafe fn trace_amount( msg_read_ptr: *const u8, msg_read_len: usize, amount_ptr: *const u8, amount_len: usize, ) -> i32