BigInt toWeiBigInt(Decimal amount, int decimals) { return BigInt.parse((amount * Decimal.parse('${BigInt.from(10).pow(decimals)}')).toString()); }