val function =when(methodName){ "swapEthForExactTokens" -> { val amountOut =map["amountOut"] as int val address =Gson().fromJson<Str...