The constructor of BigNumber cannot be called directly. Instead, Use the static BigNumber.from.
external static BigNumber from(String num);